diff options
author | ddtddt <ddtddt@piwigo.org> | 2010-02-01 18:53:59 +0000 |
---|---|---|
committer | ddtddt <ddtddt@piwigo.org> | 2010-02-01 18:53:59 +0000 |
commit | 7fda6e5af949b66378055571377048af430df0fd (patch) | |
tree | 9dec2e520264bef7aac0e6f0d576e970e003879b | |
parent | 4d972e08c4349f9df1caa8166791a3c112b6ffd9 (diff) |
[trunk] localisation merge 4758 bug:1416
git-svn-id: http://piwigo.org/svn/trunk@4816 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | include/common.inc.php | 6 | ||||
-rw-r--r-- | install.php | 6 | ||||
-rw-r--r-- | upgrade.php | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 1ec1d38c7..8ef47b0a0 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -125,6 +125,12 @@ else if ('de_DE' == $user['language']) { else if ('es_ES' == $user['language']) { define('PHPWG_DOMAIN', 'es.piwigo.org'); } +else if ('pl_PL' == $user['language']) { + define('PHPWG_DOMAIN', 'pl.piwigo.org'); +} +else if ('zh_CN' == $user['language']) { + define('PHPWG_DOMAIN', 'cn.piwigo.org'); +} else { define('PHPWG_DOMAIN', 'piwigo.org'); } diff --git a/install.php b/install.php index fb47cc479..0b751a475 100644 --- a/install.php +++ b/install.php @@ -192,6 +192,12 @@ else if ('de_DE' == $language) { else if ('es_ES' == $language) { define('PHPWG_DOMAIN', 'es.piwigo.org'); } +else if ('pl_PL' == $language) { + define('PHPWG_DOMAIN', 'pl.piwigo.org'); +} +else if ('zh_CN' == $language) { + define('PHPWG_DOMAIN', 'cn.piwigo.org'); +} else { define('PHPWG_DOMAIN', 'piwigo.org'); } diff --git a/upgrade.php b/upgrade.php index 0a5cf704d..394bed440 100644 --- a/upgrade.php +++ b/upgrade.php @@ -163,6 +163,12 @@ else if ('fr_FR' == $language) { define('PHPWG_DOMAIN', 'fr.piwigo.org'); } +else if ('pl_PL' == $language) { + define('PHPWG_DOMAIN', 'pl.piwigo.org'); +} +else if ('zh_CN' == $language) { + define('PHPWG_DOMAIN', 'cn.piwigo.org'); +} else { define('PHPWG_DOMAIN', 'piwigo.org'); } |