From 8e094971b4bf3165b0c6850512bf1992d60f6a09 Mon Sep 17 00:00:00 2001 From: ddtddt Date: Sun, 21 Mar 2010 21:59:56 +0000 Subject: [trunk] localisation hu/RU feature:1526 and feature:1527 git-svn-id: http://piwigo.org/svn/trunk@5234 68402e56-0260-453c-a942-63ccdbb3a9ee --- install.php | 9 +++++++++ upgrade.php | 15 +++++++++++++++ 2 files changed, 24 insertions(+) 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'); } -- cgit v1.2.3