Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pqina/filepond
Browse files Browse the repository at this point in the history
  • Loading branch information
rikschennink committed Mar 8, 2021
2 parents 22c04fb + e7ccbae commit 495e91b
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: ['https://www.buymeacoffee.com/rikschennink']
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ FilePond is maintained by **[Rik Schennink](https://twitter.com/rikschennink/)**

[Learn more about Doka](https://pqina.nl/doka/?ref=github-filepond)

<img src="https://github.com/pqina/filepond-github-assets/blob/master/doka.gif?raw=true" width="478" alt=""/>
<img src="https://github.com/pqina/filepond-github-assets/blob/master/filepond_doka.gif?raw=true" width="600" alt=""/>

---

Expand All @@ -52,9 +52,11 @@ FilePond is maintained by **[Rik Schennink](https://twitter.com/rikschennink/)**
* [Image EXIF orientation](https://github.com/pqina/filepond-plugin-image-exif-orientation)
* [Image overlay](https://github.com/nielsboogaard/filepond-plugin-image-overlay) ([nielsboogaard/filepond-plugin-image-overlay](https://github.com/nielsboogaard/filepond-plugin-image-overlay))
* [Media preview](https://github.com/nielsboogaard/filepond-plugin-media-preview) ([nielsboogaard/filepond-plugin-media-preview](https://github.com/nielsboogaard/filepond-plugin-media-preview))
* [Media preview + PDF](https://github.com/ErnestBrandi/filepond-plugin-media-preview) ([ErnestBrandi/filepond-plugin-media-preview](https://github.com/ErnestBrandi/filepond-plugin-media-preview))
* [Media preview + PDF preview](https://github.com/ErnestBrandi/filepond-plugin-media-preview) ([ErnestBrandi/filepond-plugin-media-preview](https://github.com/ErnestBrandi/filepond-plugin-media-preview))
* [Get file](https://github.com/nielsboogaard/filepond-plugin-get-file) ([nielsboogaard/filepond-plugin-get-file](https://github.com/nielsboogaard/filepond-plugin-get-file))
* [Zip Directory Uploads](https://github.com/tzsk/filepond-plugin-zipper) ([tzsk/filepond-plugin-zipper](https://github.com/tzsk/filepond-plugin-zipper))
* [PDF Preview](https://github.com/Adri-Glez/filepond-plugin-pdf-preview) ([Adri-Glez/filepond-plugin-pdf-preview](https://github.com/Adri-Glez/filepond-plugin-pdf-preview)
* [Copy Path](https://github.com/jnkn6/filepond-plugin-copy-path) ([jnkn6/filepond-plugin-copy-path](https://github.com/jnkn6/filepond-plugin-copy-path))


### Adapters
Expand Down
39 changes: 39 additions & 0 deletions locale/ar-ar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export default {
labelIdle: 'إسحب و ادرج ملفاتك أو <span class="filepond--label-action"> تصفح </span>',
labelInvalidField: 'الحقل يحتوي على ملفات غير صالحة',
labelFileWaitingForSize: 'بانتظار الحجم',
labelFileSizeNotAvailable: 'الحجم غير متاح',
labelFileLoading: 'بالإنتظار',
labelFileLoadError: 'حدث خطأ أثناء التحميل',
labelFileProcessing: 'يتم الرفغ',
labelFileProcessingComplete: 'تم الرفع',
labelFileProcessingAborted: 'تم إلغاء الرفع',
labelFileProcessingError: 'حدث خطأ أثناء الرفع',
labelFileProcessingRevertError: 'حدث خطأ أثناء التراجع',
labelFileRemoveError: 'حدث خطأ أثناء الحذف',
labelTapToCancel: 'أنقر للإلغاء',
labelTapToRetry: 'أنقر لإعادة المحاولة',
labelTapToUndo: 'أنقر للتراجع',
labelButtonRemoveItem: 'مسح',
labelButtonAbortItemLoad: 'إلغاء',
labelButtonRetryItemLoad: 'إعادة',
labelButtonAbortItemProcessing: 'إلغاء',
labelButtonUndoItemProcessing: 'تراجع',
labelButtonRetryItemProcessing: 'إعادة',
labelButtonProcessItem: 'رفع',
labelMaxFileSizeExceeded: 'الملف كبير جدا',
labelMaxFileSize: 'حجم الملف الأقصى: {filesize}',
labelMaxTotalFileSizeExceeded: 'تم تجاوز الحد الأقصى للحجم الإجمالي',
labelMaxTotalFileSize: 'الحد الأقصى لحجم الملف: {filesize}',
labelFileTypeNotAllowed: 'ملف من نوع غير صالح',
fileValidateTypeLabelExpectedTypes: 'تتوقع {allButLastType} من {lastType}',
imageValidateSizeLabelFormatError: 'نوع الصورة غير مدعوم',
imageValidateSizeLabelImageSizeTooSmall: 'الصورة صغير جدا',
imageValidateSizeLabelImageSizeTooBig: 'الصورة كبيرة جدا',
imageValidateSizeLabelExpectedMinSize: 'الحد الأدنى للأبعاد هو: {minWidth} × {minHeight}',
imageValidateSizeLabelExpectedMaxSize: 'الحد الأقصى للأبعاد هو: {maxWidth} × {maxHeight}',
imageValidateSizeLabelImageResolutionTooLow: 'الدقة ضعيفة جدا',
imageValidateSizeLabelImageResolutionTooHigh: 'الدقع مرتفعة جدا',
imageValidateSizeLabelExpectedMinResolution: 'أقل دقة: {minResolution}',
imageValidateSizeLabelExpectedMaxResolution: 'أقصى دقة: {maxResolution}'
};
39 changes: 39 additions & 0 deletions locale/cs-cz.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export default {
labelIdle: 'Přetáhněte soubor sem (drag&drop) nebo <span class="filepond--label-action"> Vyhledat </span>',
labelInvalidField: 'Pole obsahuje chybné soubory',
labelFileWaitingForSize: 'Zjišťuje se velikost',
labelFileSizeNotAvailable: 'Velikost není známá',
labelFileLoading: 'Přenáší se',
labelFileLoadError: 'Chyba při přenosu',
labelFileProcessing: 'Probíhá upload',
labelFileProcessingComplete: 'Upload dokončen',
labelFileProcessingAborted: 'Upload stornován',
labelFileProcessingError: 'Chyba při uploadu',
labelFileProcessingRevertError: 'Chyba při obnově',
labelFileRemoveError: 'Chyba při odstranění',
labelTapToCancel: 'klepněte pro storno',
labelTapToRetry: 'klepněte pro opakování',
labelTapToUndo: 'klepněte pro vrácení',
labelButtonRemoveItem: 'Odstranit',
labelButtonAbortItemLoad: 'Storno',
labelButtonRetryItemLoad: 'Opakovat',
labelButtonAbortItemProcessing: 'Zpět',
labelButtonUndoItemProcessing: 'Vrátit',
labelButtonRetryItemProcessing: 'Opakovat',
labelButtonProcessItem: 'Upload',
labelMaxFileSizeExceeded: 'Soubor je příliš velký',
labelMaxFileSize: 'Největší velikost souboru je {filesize}',
labelMaxTotalFileSizeExceeded: 'Překročena maximální celková velikost souboru',
labelMaxTotalFileSize: 'Maximální celková velikost souboru je {filesize}',
labelFileTypeNotAllowed: 'Soubor je nesprávného typu',
fileValidateTypeLabelExpectedTypes: 'Očekává se {allButLastType} nebo {lastType}',
imageValidateSizeLabelFormatError: 'Obrázek tohoto typu není podporován',
imageValidateSizeLabelImageSizeTooSmall: 'Obrázek je příliš malý',
imageValidateSizeLabelImageSizeTooBig: 'Obrázek je příliš velký',
imageValidateSizeLabelExpectedMinSize: 'Minimální rozměr je {minWidth} × {minHeight}',
imageValidateSizeLabelExpectedMaxSize: 'Maximální rozměr je {maxWidth} × {maxHeight}',
imageValidateSizeLabelImageResolutionTooLow: 'Rozlišení je příliš malé',
imageValidateSizeLabelImageResolutionTooHigh: 'Rozlišení je příliš velké',
imageValidateSizeLabelExpectedMinResolution: 'Minimální rozlišení je {minResolution}',
imageValidateSizeLabelExpectedMaxResolution: 'Maximální rozlišení je {maxResolution}'
};
39 changes: 39 additions & 0 deletions locale/he-he.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export default {
labelIdle: 'גרור ושחרר את הקבצים כאן או <span class="filepond--label-action"> לחץ כאן לבחירה </span>',
labelInvalidField: 'קובץ לא חוקי',
labelFileWaitingForSize: 'מחשב את גודל הקבצים',
labelFileSizeNotAvailable: 'לא ניתן לקבוע את גודל הקבצים',
labelFileLoading: 'טוען...',
labelFileLoadError: 'שגיאה ארעה בעת טעינת הקבצים',
labelFileProcessing: 'מעלה את הקבצים',
labelFileProcessingComplete: 'העלאת הקבצים הסתיימה',
labelFileProcessingAborted: 'העלאת הקבצים בוטלה',
labelFileProcessingError: 'שגיאה ארעה בעת העלאת הקבצים',
labelFileProcessingRevertError: 'שגיאה ארעה בעת שחזור הקבצים',
labelFileRemoveError: 'שגיאה ארעה בעת הסרת הקובץ',
labelTapToCancel: 'הקלק לביטול',
labelTapToRetry: 'הקלק לנסות שנית',
labelTapToUndo: 'הקלק לשחזר',
labelButtonRemoveItem: 'הסר',
labelButtonAbortItemLoad: 'בטל',
labelButtonRetryItemLoad: 'טען שנית',
labelButtonAbortItemProcessing: 'בטל',
labelButtonUndoItemProcessing: 'שחזר',
labelButtonRetryItemProcessing: 'נסה שנית',
labelButtonProcessItem: 'העלה קובץ',
labelMaxFileSizeExceeded: 'הקובץ גדול מדי',
labelMaxFileSize: 'גודל המירבי המותר הוא: {filesize}',
labelMaxTotalFileSizeExceeded: 'גודל הקבצים חורג מהכמות המותרת',
labelMaxTotalFileSize: 'הגודל המירבי של סך הקבצים: {filesize}',
labelFileTypeNotAllowed: 'קובץ מסוג זה אינו מותר',
fileValidateTypeLabelExpectedTypes: 'הקבצים המותרים הם {allButLastType} או {lastType}',
imageValidateSizeLabelFormatError: 'תמונה בפורמט זה אינה נתמכת',
imageValidateSizeLabelImageSizeTooSmall: 'תמונה זו קטנה מדי',
imageValidateSizeLabelImageSizeTooBig: 'תמונה זו גדולה מדי',
imageValidateSizeLabelExpectedMinSize: 'הגודל צריך להיות לפחות: {minWidth} × {minHeight}',
imageValidateSizeLabelExpectedMaxSize: 'הגודל המרבי המותר: {maxWidth} × {maxHeight}',
imageValidateSizeLabelImageResolutionTooLow: 'הרזולוציה של תמונה זו נמוכה מדי',
imageValidateSizeLabelImageResolutionTooHigh: 'הרזולוציה של תמונה זו גבוהה מדי',
imageValidateSizeLabelExpectedMinResolution: 'הרזולוציה צריכה להיות לפחות: {minResolution}',
imageValidateSizeLabelExpectedMaxResolution: 'הרזולוציה המירבית המותרת היא: {maxResolution}',
};
39 changes: 39 additions & 0 deletions locale/tr-tr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export default {
labelIdle: 'Dosyanızı Sürükleyin & Bırakın ya da <span class="filepond--label-action"> Seçin </span>',
labelInvalidField: 'Alan geçersiz dosyalar içeriyor',
labelFileWaitingForSize: 'Boyut hesaplanıyor',
labelFileSizeNotAvailable: 'Boyut mevcut değil',
labelFileLoading: 'Yükleniyor',
labelFileLoadError: 'Yükleme sırasında hata oluştu',
labelFileProcessing: 'Yükleniyor',
labelFileProcessingComplete: 'Yükleme tamamlandı',
labelFileProcessingAborted: 'Yükleme iptal edildi',
labelFileProcessingError: 'Yüklerken hata oluştu',
labelFileProcessingRevertError: 'Geri çekerken hata oluştu',
labelFileRemoveError: 'Kaldırırken hata oluştu',
labelTapToCancel: 'İptal etmek için tıklayın',
labelTapToRetry: 'Tekrar denemek için tıklayın',
labelTapToUndo: 'Geri almak için tıklayın',
labelButtonRemoveItem: 'Kaldır',
labelButtonAbortItemLoad: 'İptal Et',
labelButtonRetryItemLoad: 'Tekrar dene',
labelButtonAbortItemProcessing: 'İptal et',
labelButtonUndoItemProcessing: 'Geri Al',
labelButtonRetryItemProcessing: 'Tekrar dene',
labelButtonProcessItem: 'Yükle',
labelMaxFileSizeExceeded: 'Dosya çok büyük',
labelMaxFileSize: 'En fazla dosya boyutu: {filesize}',
labelMaxTotalFileSizeExceeded: 'Maximum boyut aşıldı',
labelMaxTotalFileSize: 'Maximum dosya boyutu :{filesize}',
labelFileTypeNotAllowed: 'Geçersiz dosya tipi',
fileValidateTypeLabelExpectedTypes: 'Şu {allButLastType} ya da şu dosya olması gerekir: {lastType}',
imageValidateSizeLabelFormatError: 'Resim tipi desteklenmiyor',
imageValidateSizeLabelImageSizeTooSmall: 'Resim çok küçük',
imageValidateSizeLabelImageSizeTooBig: 'Resim çok büyük',
imageValidateSizeLabelExpectedMinSize: 'Minimum boyut {minWidth} × {minHeight}',
imageValidateSizeLabelExpectedMaxSize: 'Maximum boyut {maxWidth} × {maxHeight}',
imageValidateSizeLabelImageResolutionTooLow: 'Çözünürlük çok düşük',
imageValidateSizeLabelImageResolutionTooHigh: 'Çözünürlük çok yüksek',
imageValidateSizeLabelExpectedMinResolution: 'Minimum çözünürlük {minResolution}',
imageValidateSizeLabelExpectedMaxResolution: 'Maximum çözünürlük {maxResolution}'
};
39 changes: 39 additions & 0 deletions locale/zh-tw.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export default {
labelIdle: '拖放文件,或者 <span class="filepond--label-action"> 瀏覽 </span>',
labelInvalidField: '不支援此文件',
labelFileWaitingForSize: '正在計算檔案大小',
labelFileSizeNotAvailable: '文件大小不可用',
labelFileLoading: '加載中',
labelFileLoadError: '加載錯誤',
labelFileProcessing: '上載',
labelFileProcessingComplete: '已上載',
labelFileProcessingAborted: '上載已取消',
labelFileProcessingError: '上載出错',
labelFileProcessingRevertError: '還原錯誤',
labelFileRemoveError: '刪除錯誤',
labelTapToCancel: '點擊取消',
labelTapToRetry: '點擊重試',
labelTapToUndo: '點擊還原',
labelButtonRemoveItem: '删除',
labelButtonAbortItemLoad: '中止',
labelButtonRetryItemLoad: '重試',
labelButtonAbortItemProcessing: '取消',
labelButtonUndoItemProcessing: '取消',
labelButtonRetryItemProcessing: '重試',
labelButtonProcessItem: '上載',
labelMaxFileSizeExceeded: '文件太大',
labelMaxFileSize: '最大值: {filesize}',
labelMaxTotalFileSizeExceeded: '超過最大可上傳大小',
labelMaxTotalFileSize: '最大可上傳大小:{filesize}',
labelFileTypeNotAllowed: '不支援此類型文件',
fileValidateTypeLabelExpectedTypes: '應為 {allButLastType} 或 {lastType}',
imageValidateSizeLabelFormatError: '不支持此類圖像類型',
imageValidateSizeLabelImageSizeTooSmall: '圖像太小',
imageValidateSizeLabelImageSizeTooBig: '圖像太大',
imageValidateSizeLabelExpectedMinSize: '最小值: {minWidth} × {minHeight}',
imageValidateSizeLabelExpectedMaxSize: '最大值: {maxWidth} × {maxHeight}',
imageValidateSizeLabelImageResolutionTooLow: '分辨率太低',
imageValidateSizeLabelImageResolutionTooHigh: '分辨率太高',
imageValidateSizeLabelExpectedMinResolution: '最小分辨率:{minResolution}',
imageValidateSizeLabelExpectedMaxResolution: '最大分辨率:{maxResolution}'
};
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class FilePondFile {
*/
getMetadata: (key?: string) => any;
/** Add additional metadata to the file */
setMetadata: (key: string, value: any) => void;
setMetadata: (key: string, value: any, silent?: boolean) => void;
}

// TODO delete
Expand Down

0 comments on commit 495e91b

Please sign in to comment.