From 43480954a40130558ac3d6b07d0e12afa23ab9fc Mon Sep 17 00:00:00 2001 From: Manuel Meurer Date: Fri, 6 Mar 2015 22:18:09 +0100 Subject: [PATCH] fix typos (lanugage -> language) --- dist/js/select2.amd.full.js | 4 ++-- dist/js/select2.amd.js | 4 ++-- dist/js/select2.full.js | 4 ++-- dist/js/select2.js | 4 ++-- src/js/select2/defaults.js | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dist/js/select2.amd.full.js b/dist/js/select2.amd.full.js index 2a444abe..699d2728 100644 --- a/dist/js/select2.amd.full.js +++ b/dist/js/select2.amd.full.js @@ -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.' ); } diff --git a/dist/js/select2.amd.js b/dist/js/select2.amd.js index af409578..631d9bc9 100644 --- a/dist/js/select2.amd.js +++ b/dist/js/select2.amd.js @@ -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.' ); } diff --git a/dist/js/select2.full.js b/dist/js/select2.full.js index 1902f6c7..68b378f9 100644 --- a/dist/js/select2.full.js +++ b/dist/js/select2.full.js @@ -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.' ); } diff --git a/dist/js/select2.js b/dist/js/select2.js index 8dbea071..55aeed3c 100644 --- a/dist/js/select2.js +++ b/dist/js/select2.js @@ -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.' ); } diff --git a/src/js/select2/defaults.js b/src/js/select2/defaults.js index 9074e858..273645da 100644 --- a/src/js/select2/defaults.js +++ b/src/js/select2/defaults.js @@ -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.' ); }