[Gnucash-changes] r14273 - htdocs/branches/published - Fix the translation text domain directory

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


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

Added:
   htdocs/branches/published/news/nb/
   htdocs/branches/published/news/pl/
Modified:
   htdocs/branches/published/externals/header.phtml
   htdocs/branches/published/lang.php
Log:
Fix the translation text domain directory
add es, nb, and pl to the list of translations in the header
merge from trunk: 14270:14272


Modified: htdocs/branches/published/externals/header.phtml
===================================================================
--- htdocs/branches/published/externals/header.phtml	2006-05-31 00:20:36 UTC (rev 14272)
+++ htdocs/branches/published/externals/header.phtml	2006-05-31 00:23:04 UTC (rev 14273)
@@ -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/branches/published/lang.php
===================================================================
--- htdocs/branches/published/lang.php	2006-05-31 00:20:36 UTC (rev 14272)
+++ htdocs/branches/published/lang.php	2006-05-31 00:23:04 UTC (rev 14273)
@@ -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");

Copied: htdocs/branches/published/news/nb (from rev 14272, htdocs/trunk/news/nb)

Copied: htdocs/branches/published/news/pl (from rev 14272, htdocs/trunk/news/pl)



More information about the gnucash-changes mailing list