1
0
mirror of synced 2025-02-16 20:13:16 +03:00

fix typos (lanugage -> language)

This commit is contained in:
Manuel Meurer 2015-03-06 22:18:09 +01:00
parent d3c887286d
commit 43480954a4
5 changed files with 10 additions and 10 deletions

View File

@ -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.'
);
}

View File

@ -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.'
);
}

View File

@ -4362,7 +4362,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('-');
@ -4398,7 +4398,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.'
);
}

4
dist/js/select2.js vendored
View File

@ -4362,7 +4362,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('-');
@ -4398,7 +4398,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.'
);
}

View File

@ -203,7 +203,7 @@ define([
}
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('-');
@ -239,7 +239,7 @@ define([
// 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.'
);
}