Jelajahi Sumber

Updates to release v4.1.8

Kartik Visweswaran 10 tahun lalu
induk
melakukan
5bc383fdfa
5 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 1 1
      README.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js
  4. 2 2
      js/fileinput_locale_LANG.js
  5. 1 1
      js/fileinput_locale_de.js

+ 1 - 1
README.md

@@ -141,7 +141,7 @@ Alternatively, you can directly call the plugin options by setting data attribut
 
 ## Translations
 
-As shown in the installation section, translations are now enabled with release 4.1.8. You can load a locale file `/fileinput_locale_<lang>.js` after the core `fileinput.min.js` file, where `<lang>` is the language code (e.g. `de`, `fr` etc.). If  locale file does not exist, you can submit a translation for the new language via a [new pull request to add to this folder](https://github.com/kartik-v/bootstrap-fileinput/tree/master/js). Check the [sample english file](https://github.com/kartik-v/bootstrap-fileinput/tree/master/js/fileinput_locale_en.js) to copy and create one for your own language.
+As shown in the installation section, translations are now enabled with release 4.1.8. You can load a locale file `/fileinput_locale_<lang>.js` after the core `fileinput.min.js` file, where `<lang>` is the language code (e.g. `de`, `fr` etc.). If  locale file does not exist, you can submit a translation for the new language via a [new pull request to add to this folder](https://github.com/kartik-v/bootstrap-fileinput/tree/master/js). Use the [sample locale file](https://github.com/kartik-v/bootstrap-fileinput/tree/master/js/fileinput_locale_LANG.js) to copy and create a translation configuration for your own language.
 
 ## Plugin Options
 The plugin supports these following options:

+ 1 - 1
js/fileinput.js

@@ -2070,7 +2070,7 @@
         msgLoading: 'Loading file {index} of {files} &hellip;',
         msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
         msgSelected: '{n} files selected',
-        msgFoldersNotAllowed: 'Drag & drop files only! {n} folder(s) dropped were skipped.',
+        msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
         dropZoneTitle: 'Drag & drop files here &hellip;'
     };
 

File diff ditekan karena terlalu besar
+ 0 - 0
js/fileinput.min.js


+ 2 - 2
js/fileinput_locale_en.js → js/fileinput_locale_LANG.js

@@ -1,5 +1,5 @@
 /*!
- * FileInput English Translations - Sample file for copying and creating other translations
+ * FileInput <language> Translations - Template file for copying and creating other translations
  *
  * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
  * any HTML markup tags in the messages must not be converted or translated.
@@ -35,7 +35,7 @@
         msgLoading: 'Loading file {index} of {files} &hellip;',
         msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
         msgSelected: '{n} files selected',
-        msgFoldersNotAllowed: 'Drag & drop files only! {n} folder(s) dropped were skipped.',
+        msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
         dropZoneTitle: 'Drag & drop files here &hellip;'
     };
 

+ 1 - 1
js/fileinput_locale_de.js

@@ -33,7 +33,7 @@
         msgLoading: 'Wird Geladen Datei {index} von {files} &hellip;',
         msgProgress: 'Wird Geladen Datei {index} von {files} - {name} - {percent}% fertiggestellt.',
         msgSelected: '{n} Dateien ausgewählt',
-        msgFoldersNotAllowed: 'Drag & Drop Dateien nur! {n} Ordner fallen gelassen wurden übersprungen.',
+        msgFoldersNotAllowed: 'Drag & Drop Dateien nur! Sprungen {n} gesunken Ordner.',
         dropZoneTitle: 'Drag & Drop Dateien hier &hellip;'
     };
 

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini