[Gnucash-changes] r14272 - htdocs/trunk - Add es, nb, and pl to the top-level translation menu.

Derek Atkins warlord at cvs.gnucash.org
Tue May 30 20:20:36 EDT 2006


Author: warlord
Date: 2006-05-30 20:20:36 -0400 (Tue, 30 May 2006)
New Revision: 14272
Trac: http://svn.gnucash.org/trac/changeset/14272

Added:
   htdocs/trunk/news/nb/
   htdocs/trunk/news/pl/
Modified:
   htdocs/trunk/externals/header.phtml
   htdocs/trunk/lang.php
Log:
Add es, nb, and pl to the top-level translation menu.
Also add the appropriate news transaction directories so news-script works.


Modified: htdocs/trunk/externals/header.phtml
===================================================================
--- htdocs/trunk/externals/header.phtml	2006-05-30 23:29:45 UTC (rev 14271)
+++ htdocs/trunk/externals/header.phtml	2006-05-31 00:20:36 UTC (rev 14272)
@@ -24,9 +24,12 @@
 <span id="language">
 <?= _("Language"); ?>:
   <a class="nav" href="<?=$top_dir;?>">English</a>
+| <a class="nav" href="<?=$top_dir;?>/de/">Deutsch</a>
+| <a class="nav" href="<?=$top_dir;?>/es/">Espa&ntilde;ol</a>
 | <a class="nav" href="<?=$top_dir;?>/fr/">Fran&ccedil;ais</a>
-| <a class="nav" href="<?=$top_dir;?>/de/">Deutsch</a>
+| <a class="nav" href="<?=$top_dir;?>/nb/">Norwegian</a>
 | <a class="nav" href="<?=$top_dir;?>/nl/">Nederlands</a>
+| <a class="nav" href="<?=$top_dir;?>/pl/">Polish</a>
 | <a class="nav" href="<?=$top_dir;?>/pt_PT/">Portugu&ecirc;s</a>
 </span>
 <span id="location"><?= _("Continent"); ?>:

Modified: htdocs/trunk/lang.php
===================================================================
--- htdocs/trunk/lang.php	2006-05-30 23:29:45 UTC (rev 14271)
+++ htdocs/trunk/lang.php	2006-05-31 00:20:36 UTC (rev 14272)
@@ -7,7 +7,7 @@
 putenv("LANGUAGE=$locale");
 $locale_res = setlocale(LC_ALL, "");
 $domain = "gnucash-htdocs";
-if (! isset($text_dir)) { $test_dir = $top_dir; }
+if (! isset($text_dir)) { $text_dir = $top_dir; }
 $dir_res = bindtextdomain($domain, $text_dir);
 textdomain($domain);
 echo ("<!-- $lang , locale_res [$locale_res] , dir_res $dir_res -->\n");



More information about the gnucash-changes mailing list