gnucash-htdocs beta: Set PROG_TRANSLATIONS in global_params.php

Frank H.Ellenberger fell at code.gnucash.org
Mon Oct 19 22:05:27 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/c940ae24 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/07ea32ef (commit)



commit c940ae24624955a55b43f606a4b5ecc403f0f908
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Tue Oct 20 04:04:16 2020 +0200

    Set PROG_TRANSLATIONS in global_params.php
    
    Before it got no updates.

diff --git a/externals/global_params.php b/externals/global_params.php
index 086ad12..861f2ed 100644
--- a/externals/global_params.php
+++ b/externals/global_params.php
@@ -6,6 +6,9 @@
      // TODO: on major_stable 5 in download.phtml copy from $old_stable into the historical
      // section: last_win7 and $last_mac_sierra
      $minor_stable              ="2";
+     // Number of Translations: Did we add or dropped some?
+     define("PROG_TRANSLATIONS", 55);
+
      $latest_stable             = $major_stable.".".$minor_stable;
      $latest_stable_win         = $latest_stable;
      // $latest_stable_win         = $latest_stable."-1";
diff --git a/features.phtml b/features.phtml
index 3a07c7c..72ba06a 100644
--- a/features.phtml
+++ b/features.phtml
@@ -209,7 +209,7 @@ echo T_("basics_AccountRelationships.C.png");
 <h2 class="featuretitle"><?php echo T_("Localization");?></h2>
 </div>
 <p class="justify">
-<?php printf (T_("<span class=\"gnucash\">GnuCash</span> handles internationalized dates and currencies. The application's menus and popups have been translated to %u languages, including Chinese, Danish, French, German, Hungarian, Italian, Japanese, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish, Ukrainian, and British English. Documentation is available in English, French, Portuguese and Spanish."), 50);?></p>
+<?php printf (T_("<span class=\"gnucash\">GnuCash</span> handles internationalized dates and currencies. The application's menus and popups have been translated to %u languages, including Chinese, Danish, French, German, Hungarian, Italian, Japanese, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish, Ukrainian, and British English. Documentation is available in English, French, Portuguese and Spanish."), \PROG_TRANSLATIONS);?></p>
 </div>
 
 <div class="featurecontainer">



Summary of changes:
 externals/global_params.php | 3 +++
 features.phtml              | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list