Update jquery.uls from upstream
Updating to:
8292fe90e3
Bug: T328956
Change-Id: I5e74b096f8b5c7c5b0263bfbc85aa0ee5f1b59f9
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"@metadata": {
|
|
||||||
"authors": [
|
|
||||||
"Andibing",
|
|
||||||
"Chase me ladies, I'm the Cavalry"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"uls-region-WW": "Worldwide",
|
|
||||||
"uls-region-SP": "Special",
|
|
||||||
"uls-region-AM": "America",
|
|
||||||
"uls-region-AF": "Africa",
|
|
||||||
"uls-region-EU": "Europe",
|
|
||||||
"uls-region-AS": "Asia",
|
|
||||||
"uls-region-ME": "Middle East",
|
|
||||||
"uls-region-PA": "Pacific",
|
|
||||||
"uls-region-all": "All languages",
|
|
||||||
"uls-no-results-found": "No results found",
|
|
||||||
"uls-common-languages": "Suggested languages",
|
|
||||||
"uls-no-results-suggestion-title": "You may be interested in:",
|
|
||||||
"uls-search-help": "You can search by language name, script name, ISO code of language or you can browse by region.",
|
|
||||||
"uls-search-placeholder": "Search for a language"
|
|
||||||
}
|
|
||||||
11
lib/jquery.uls/i18n/mnc-mong.json
Normal file
11
lib/jquery.uls/i18n/mnc-mong.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"@metadata": {
|
||||||
|
"authors": [
|
||||||
|
"Amire80"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"uls-region-AM": "᠇ᠮᡝᡵᡳᡴᠠ",
|
||||||
|
"uls-region-EU": "ᠣᡵᠣᠪᠠ",
|
||||||
|
"uls-region-all": "ᡝᡳ᠌ᡨᡝᠨ ᡤᡳᠰᡠᠨ",
|
||||||
|
"uls-no-results-suggestion-title": "ᠠᡳ᠌ᠨᠴᡳ ᠰᡳᠨᡳ ᠠᠮᡠᡵᠠᠩᡤᡝ ᠈"
|
||||||
|
}
|
||||||
@@ -112,8 +112,15 @@
|
|||||||
if ( this.navigationIndex === null ) {
|
if ( this.navigationIndex === null ) {
|
||||||
this.navigationIndex = 0;
|
this.navigationIndex = 0;
|
||||||
} else {
|
} else {
|
||||||
this.navigationIndex++;
|
// Auto-correct the index. It has been noticed that the navigationIndex goes beyond the
|
||||||
|
// max index sometimes. See: phab:T328956#8854835
|
||||||
|
if ( this.navigationIndex > maxIndex ) {
|
||||||
|
this.navigationIndex = maxIndex;
|
||||||
|
} else {
|
||||||
|
this.navigationIndex++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.highlightLanguageOption();
|
this.highlightLanguageOption();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user