gnucash-htdocs master: Optimize strings to avoid duplicate.

Cristian Marchi cmarchi at code.gnucash.org
Tue Dec 31 04:00:54 EST 2013


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/a6cdfb7d (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/0a65eee6 (commit)



commit a6cdfb7dd8d864129a2b1bf16c1a74eea9dee39f
Author: Cristian Marchi <cri79 at libero.it>
Date:   Tue Dec 31 10:00:40 2013 +0100

    Optimize strings to avoid duplicate.

diff --git a/docs.phtml b/docs.phtml
index 63064d4..89e92c2 100644
--- a/docs.phtml
+++ b/docs.phtml
@@ -32,7 +32,7 @@ include("externals/menu.phtml");
 
 <div class="featurecontainer">
 <div class="featureborder">
-<h2 class="featuretitle"><?php printf (T_("GnuCash v%s (current stable release)"), $major_stable)?></h2>
+<h2 class="featuretitle"><?php printf (T_("GnuCash v%s"), $major_stable)?> <?php echo T_("(current stable release)");?></h2>
 </div>
 <h3><?= T_("Current <em>stable</em> user documentation and developer documentation");?></h3>
 <div id="stabledoc">
@@ -142,7 +142,7 @@ include("externals/menu.phtml");
 <!--Old stable documentation. Comment out if there is no old stable release-->
 <div class="featurecontainer">
 <div class="featureborder">
-<h2 class="featuretitle"><?php printf (T_("GnuCash v%s (old stable release)"), $major_old_stable)?></h2>
+<h2 class="featuretitle"><?php printf (T_("GnuCash v%s"), $major_old_stable)?> <?php echo T_("(old stable release)");?></h2>
 </div>
 <h3><?= T_("Old <em>stable</em> user documentation and developer documentation");?></h3>
 <div id="stabledoc">



Summary of changes:
 docs.phtml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list