[Phpmyadmin-git] [SCM] phpMyAdmin branch, gettext, updated. RELEASE_3_3_1RC1-388-gda9bb3c

Michal Čihař nijel at users.sourceforge.net
Fri Mar 12 10:32:20 CET 2010


The branch, gettext has been updated
       via  da9bb3ceda71ec261aa0035c10777c2994985567 (commit)
      from  322671f304dd86adeec97599a6708d6cde62710c (commit)


- Log -----------------------------------------------------------------
commit da9bb3ceda71ec261aa0035c10777c2994985567
Author: Michal Čihař <mcihar at novell.com>
Date:   Fri Mar 12 10:32:08 2010 +0100

    Correct code for Norwegian.

-----------------------------------------------------------------------

Summary of changes:
 libraries/select_lang.lib.php |    4 ++--
 po/{no.po => nb.po}           |    0
 scripts/php2gettext.sh        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename po/{no.po => nb.po} (100%)

diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php
index 0ba75a3..50afc0d 100644
--- a/libraries/select_lang.lib.php
+++ b/libraries/select_lang.lib.php
@@ -262,8 +262,8 @@ function PMA_langDetails($lang) {
             return array('ms|malay', 'malay-utf-8', 'ms', 'Bahasa Melayu');
         case 'nl':
             return array('nl|dutch', 'dutch-utf-8', 'nl', 'Nederlands');
-        case 'no':
-            return array('no|norwegian', 'norwegian-utf-8', 'no', 'Norsk');
+        case 'nb':
+            return array('nb|norwegian', 'norwegian-utf-8', 'nb', 'Norsk');
         case 'pl':
             return array('pl|polish', 'polish-utf-8', 'pl', 'Polski');
         case 'pt_BR':
diff --git a/po/no.po b/po/nb.po
similarity index 100%
rename from po/no.po
rename to po/nb.po
diff --git a/scripts/php2gettext.sh b/scripts/php2gettext.sh
index c0e0d2a..6750323 100755
--- a/scripts/php2gettext.sh
+++ b/scripts/php2gettext.sh
@@ -65,7 +65,7 @@ for lang in lang/*.inc.php ; do
         mongolian) langcode='mn';;
         malay) langcode='ms';;
         dutch) langcode='nl';;
-        norwegian) langcode='no';;
+        norwegian) langcode='nb';;
         polish) langcode='pl';;
         brazilian_portuguese) langcode='pt_BR';;
         portuguese) langcode='pt';;


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list