[Phpmyadmin-git] [SCM] phpMyAdmin branch, gettext, updated. RELEASE_3_3_1RC1-372-g568be71

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


The branch, gettext has been updated
       via  568be7147b2aa9796cb26f02fefa34f278c469c5 (commit)
      from  e6227c68d8ecd38c175e2009e74447285b395db9 (commit)


- Log -----------------------------------------------------------------
commit 568be7147b2aa9796cb26f02fefa34f278c469c5
Author: Michal Čihař <mcihar at novell.com>
Date:   Fri Mar 12 10:18:05 2010 +0100

    Correct code for Japanese.

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

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

diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php
index acc6040..0ba75a3 100644
--- a/libraries/select_lang.lib.php
+++ b/libraries/select_lang.lib.php
@@ -244,8 +244,8 @@ function PMA_langDetails($lang) {
             return array('id|indonesian', 'indonesian-utf-8', 'id', 'Bahasa Indonesia');
         case 'it':
             return array('it|italian', 'italian-utf-8', 'it', 'Italiano');
-        case 'jp':
-            return array('jp|japanese', 'japanese-utf-8', 'jp', '日本語');
+        case 'ja':
+            return array('ja|japanese', 'japanese-utf-8', 'ja', '日本語');
         case 'ko':
             return array('ko|korean', 'korean-utf-8', 'ko', '한국어');
         case 'ka':
diff --git a/po/jp.po b/po/ja.po
similarity index 100%
rename from po/jp.po
rename to po/ja.po
diff --git a/scripts/php2gettext.sh b/scripts/php2gettext.sh
index 4363f55..c0e0d2a 100755
--- a/scripts/php2gettext.sh
+++ b/scripts/php2gettext.sh
@@ -56,7 +56,7 @@ for lang in lang/*.inc.php ; do
         hungarian) langcode='hu';;
         indonesian) langcode='id';;
         italian) langcode='it';;
-        japanese) langcode='jp';;
+        japanese) langcode='ja';;
         korean) langcode='ko';;
         georgian) langcode='ka';;
         lithuanian) langcode='lt';;


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list