Update from upstream
* Localization updates. * Solution for bug 54725 Change-Id: I91f8263c49fdfba3084f2b3107a8b57963fd720d
This commit is contained in:
@@ -64,6 +64,10 @@
|
||||
constructor: LanguageCategoryDisplay,
|
||||
|
||||
append: function ( langCode, regionCode ) {
|
||||
if ( !this.options.languages[langCode] ) {
|
||||
// Language is unknown or not in the list of languages for this context.
|
||||
return;
|
||||
}
|
||||
this.addToRegion( langCode, regionCode );
|
||||
this.$noResults.hide();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user