Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[trunk] localisation hu/RU feature:1526 and feature:1527
git-svn-id: http://piwigo.org/svn/trunk@5234 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
ddtddt committed Mar 21, 2010
1 parent 54c9ceb commit 8e09497
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install.php
Expand Up @@ -186,6 +186,9 @@
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');
}
Expand All @@ -198,6 +201,12 @@
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');
}
Expand Down
15 changes: 15 additions & 0 deletions upgrade.php
Expand Up @@ -163,12 +163,27 @@ function print_time($message)
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');
}
Expand Down

0 comments on commit 8e09497

Please sign in to comment.