|
@@ -3923,7 +3923,7 @@ define('select2/defaults',[
|
|
|
}
|
|
|
|
|
|
if (typeof options.language === 'string') {
|
|
|
- // Check if the lanugage is specified with a region
|
|
|
+ // Check if the language is specified with a region
|
|
|
if (options.language.indexOf('-') > 0) {
|
|
|
// Extract the region information if it is included
|
|
|
var languageParts = options.language.split('-');
|
|
@@ -3959,7 +3959,7 @@ define('select2/defaults',[
|
|
|
// because of how Select2 helps load all possible translation files.
|
|
|
if (window.console && console.warn) {
|
|
|
console.warn(
|
|
|
- 'Select2: The lanugage file for "' + name + '" could not be ' +
|
|
|
+ 'Select2: The language file for "' + name + '" could not be ' +
|
|
|
'automatically loaded. A fallback will be used instead.'
|
|
|
);
|
|
|
}
|