Changeset 6152


Ignore:
Timestamp:
May 9, 2010, 10:51:01 PM (14 years ago)
Author:
plg
Message:

add nl.piwigo.org as domain name if current language is nl_NL

fix typos on language names in install.php

correct list of available newsletters

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r6056 r6152  
    18691869    'de_DE' => 'de.piwigo.org',
    18701870    'es_ES' => 'es.piwigo.org',
     1871    'zh_CN' => 'cn.piwigo.org',
    18711872    'pl_PL' => 'pl.piwigo.org',
     1873    'hu_HU' => 'hu.piwigo.org',
     1874    'ru_RU' => 'ru.piwigo.org',
    18721875    );
    18731876
  • trunk/include/common.inc.php

    r6126 r6152  
    123123include(PHPWG_ROOT_PATH.'include/user.inc.php');
    124124
    125 if (in_array( substr($user['language'],0,2), array('fr','it','de','es','pl','hu','ru') ) )
     125if (in_array( substr($user['language'],0,2), array('fr','it','de','es','pl','hu','ru','nl') ) )
    126126{
    127127  define('PHPWG_DOMAIN', substr($user['language'],0,2).'.piwigo.org');
  • trunk/install.php

    r6130 r6152  
    201201  define('PHPWG_DOMAIN', 'cn.piwigo.org');
    202202}
    203 else if ('hu_HU_CN' == $language) {
     203else if ('hu_HU' == $language) {
    204204  define('PHPWG_DOMAIN', 'hu.piwigo.org');
    205205}
    206 else if ('ru_RU_CN' == $language) {
     206else if ('ru_RU' == $language) {
    207207  define('PHPWG_DOMAIN', 'ru.piwigo.org');
     208}
     209else if ('nl_NL' == $language) {
     210  define('PHPWG_DOMAIN', 'nl.piwigo.org');
    208211}
    209212else {
  • trunk/upgrade.php

    r6110 r6152  
    179179else if ('ru_RU' == $language) {
    180180  define('PHPWG_DOMAIN', 'ru.piwigo.org');
     181}
     182else if ('nl_NL' == $language) {
     183  define('PHPWG_DOMAIN', 'nl.piwigo.org');
    181184}
    182185else {
Note: See TracChangeset for help on using the changeset viewer.