瀏覽代碼

Merge pull request #3117 from krautcomputing/fix_typo

fix typos (lanugage -> language)
Kevin Brown 10 年之前
父節點
當前提交
2df4f5385c
共有 5 個文件被更改,包括 10 次插入10 次删除
  1. 2 2
      dist/js/select2.amd.full.js
  2. 2 2
      dist/js/select2.amd.js
  3. 2 2
      dist/js/select2.full.js
  4. 2 2
      dist/js/select2.js
  5. 2 2
      src/js/select2/defaults.js

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

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

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

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

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