gnucash-htdocs master: Improve last commit
Frank H.Ellenberger
fell at code.gnucash.org
Sun Jul 5 22:14:06 EDT 2020
Updated via https://github.com/Gnucash/gnucash-htdocs/commit/f3897c7d (commit)
from https://github.com/Gnucash/gnucash-htdocs/commit/7beb1033 (commit)
commit f3897c7d09a4e87514f3a34b1899f9574f497f00
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Mon Jul 6 04:13:19 2020 +0200
Improve last commit
diff --git a/index.phtml b/index.phtml
index df93387..c4b352a 100644
--- a/index.phtml
+++ b/index.phtml
@@ -68,8 +68,9 @@
</div> <!-- mainfeature -->
<div id="newfeatures">
<h1><?php printf (T_("GnuCash %s Released"), "4.0"); ?></h1>
- <p><?php printf (T_("We've released GnuCash %s with many bugfixes and improvements including some <a href=\"%s\">great new features!</a>"),
- "4.0", $home."/new_features-4.0.phtml");?></p>
+ <p><?php printf (T_("We've released GnuCash %s with many bugfixes and improvements including some %s!"), "4.0",
+ sprintf("<a href=\"%s\">%s</a>", $home."/new_features-4.0.phtml", T_("great new features"))
+ );?></p>
</div> <!-- newfeatures -->
diff --git a/new_features-4.0.phtml b/new_features-4.0.phtml
index 3801c9f..db7bf06 100644
--- a/new_features-4.0.phtml
+++ b/new_features-4.0.phtml
@@ -131,5 +131,7 @@ include("$top_dir/externals/menu.phtml");
<li><?php echo T_("Python bindings are now localized and their strings available for translation.");?></li>
</ul>
</div>
- <p><?php printf (T_("For a complete list of new features and API changes see the %s."), printf ("<a href=\"<?=$home?>/news.phtml#n-200628-4.0.news\">%s</a>", T_("Release Notes")));?></p>
+ <p><?php printf (T_("For a complete list of new features and API changes see the %s."),
+ sprintf ("<a href=\"<?=$home?>/news.phtml#n-200628-4.0.news\">%s</a>", T_("Release Notes"))
+ );?></p>
</div>
Summary of changes:
index.phtml | 5 +++--
new_features-4.0.phtml | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
More information about the gnucash-changes
mailing list