mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Locales/Domain
* entirely switch over to write 'en' for locale 0 and accept both 'www' and 'en' for locale 0 when receiving
This commit is contained in:
@@ -928,7 +928,7 @@ $WH.g_getLocaleFromDomain.L = {
|
||||
cn: 4,
|
||||
es: 6,
|
||||
ru: 8,
|
||||
www: 0
|
||||
en: 0
|
||||
};
|
||||
|
||||
$WH.g_getDomainFromLocale = function(locale) {
|
||||
@@ -941,7 +941,7 @@ $WH.g_getDomainFromLocale = function(locale) {
|
||||
lookup = $WH.g_getDomainFromLocale.L = $WH.g_createReverseLookupJson($WH.g_getLocaleFromDomain.L);
|
||||
}
|
||||
|
||||
return (lookup[locale] ? lookup[locale] : 'www');
|
||||
return (lookup[locale] ? lookup[locale] : 'en');
|
||||
}
|
||||
|
||||
$WH.g_getIdFromTypeName = function (typeName) {
|
||||
|
||||
Reference in New Issue
Block a user