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) {
|
||||
|
||||
@@ -13973,7 +13973,7 @@ Listview.templates = {
|
||||
/** Variables **/
|
||||
var container = $('<div></div>');
|
||||
var hidden = (comment.__minPatch && g_getPatchVersion.T[comment.__minPatch] > new Date(comment.date));
|
||||
comment.locale = (this.id == 'english-comments' ? 'www' : '');
|
||||
comment.locale = (this.id == 'english-comments' ? 'en' : '');
|
||||
|
||||
/** Initialization.. Create base HTML skeleton */
|
||||
container.append('<table><tr><td class="vote-column">' +
|
||||
|
||||
Reference in New Issue
Block a user