aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddtddt <ddtddt@piwigo.org>2010-03-21 21:59:56 +0000
committerddtddt <ddtddt@piwigo.org>2010-03-21 21:59:56 +0000
commit8e094971b4bf3165b0c6850512bf1992d60f6a09 (patch)
treecfd048063735d7ee4429e2cece5741dac0ee28d4
parent54c9ceb0f4890c7f183842f9c3adefaad64c471b (diff)
[trunk] localisation hu/RU feature:1526 and feature:1527
git-svn-id: http://piwigo.org/svn/trunk@5234 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--install.php9
-rw-r--r--upgrade.php15
2 files changed, 24 insertions, 0 deletions
diff --git a/install.php b/install.php
index 8450c379d..ea8bdf402 100644
--- a/install.php
+++ b/install.php
@@ -186,6 +186,9 @@ else
if ('fr_FR' == $language) {
define('PHPWG_DOMAIN', 'fr.piwigo.org');
}
+else if ('it_IT' == $language) {
+ define('PHPWG_DOMAIN', 'it.piwigo.org');
+}
else if ('de_DE' == $language) {
define('PHPWG_DOMAIN', 'de.piwigo.org');
}
@@ -198,6 +201,12 @@ else if ('pl_PL' == $language) {
else if ('zh_CN' == $language) {
define('PHPWG_DOMAIN', 'cn.piwigo.org');
}
+else if ('hu_HU_CN' == $language) {
+ define('PHPWG_DOMAIN', 'hu.piwigo.org');
+}
+else if ('ru_RU_CN' == $language) {
+ define('PHPWG_DOMAIN', 'ru.piwigo.org');
+}
else {
define('PHPWG_DOMAIN', 'piwigo.org');
}
diff --git a/upgrade.php b/upgrade.php
index 761eb4147..4e01b9272 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -163,12 +163,27 @@ else
if ('fr_FR' == $language) {
define('PHPWG_DOMAIN', 'fr.piwigo.org');
}
+else if ('it_IT' == $language) {
+ define('PHPWG_DOMAIN', 'it.piwigo.org');
+}
+else if ('de_DE' == $language) {
+ define('PHPWG_DOMAIN', 'de.piwigo.org');
+}
+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 if ('hu_HU' == $language) {
+ define('PHPWG_DOMAIN', 'hu.piwigo.org');
+}
+else if ('ru_RU' == $language) {
+ define('PHPWG_DOMAIN', 'ru.piwigo.org');
+}
else {
define('PHPWG_DOMAIN', 'piwigo.org');
}