provider-views: Select 5 files --> Select 5, because there are also folders (#1697)

* Select 5 files --> Select 5, because there are also folders

not ideal, but better

* selectXFiles --> selectX

* update selectX in all locales

* Update fi_FI.js
This commit is contained in:
Artur Paikin 2019-07-18 14:42:38 +02:00 committed by GitHub
parent 4aef626a52
commit b3902a1dfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 76 additions and 76 deletions

View file

@ -54,10 +54,10 @@ class Uppy {
connectedToInternet: 'Connected to the Internet',
// Strings for remote providers
noFilesFound: 'You have no files or folders here',
selectXFiles: {
0: 'Select %{smart_count} file',
1: 'Select %{smart_count} files',
2: 'Select %{smart_count} files'
selectX: {
0: 'Select %{smart_count}',
1: 'Select %{smart_count}',
2: 'Select %{smart_count}'
},
selectAllFilesFromFolderNamed: 'Select all files from folder %{name}',
unselectAllFilesFromFolderNamed: 'Unselect all files from folder %{name}',

View file

@ -79,10 +79,10 @@ ar_SA.strings = {
retry: 'اعادة المحاولة',
retryUpload: 'اعادة الرفع',
saveChanges: 'حفظ التغييرات',
selectXFiles: {
'0': 'اختار %{smart_count} ملف',
'1': 'اختار %{smart_count} ملفات',
'2': 'اختار %{smart_count} ملفات'
selectX: {
'0': '%{smart_count} اختر',
'1': '%{smart_count} اختر',
'2': '%{smart_count} اختر'
},
smile: 'ابتسم!',
startRecording: 'بدء تسجيل الفيديو',

View file

@ -80,10 +80,10 @@ de_DE.strings = {
retry: 'Erneut versuchen',
retryUpload: 'Upload erneut versuchen',
saveChanges: 'Änderungen speichern',
selectXFiles: {
'0': '%{smart_count} Datei auswählen',
'1': '%{smart_count} Dateien auswählen',
'2': '%{smart_count} Dateien auswählen'
selectX: {
'0': 'Wählen Sie %{smart_count}',
'1': 'Wählen Sie %{smart_count}',
'2': 'Wählen Sie %{smart_count}'
},
smile: 'Bitte lächeln!',
startRecording: 'Videoaufnahme starten',

View file

@ -82,10 +82,10 @@ en_US.strings = {
saveChanges: 'Save changes',
selectAllFilesFromFolderNamed: 'Select all files from folder %{name}',
selectFileNamed: 'Select file %{name}',
selectXFiles: {
'0': 'Select %{smart_count} file',
'1': 'Select %{smart_count} files',
'2': 'Select %{smart_count} files'
selectX: {
'0': 'Select %{smart_count}',
'1': 'Select %{smart_count}',
'2': 'Select %{smart_count}'
},
smile: 'Smile!',
startRecording: 'Begin video recording',

View file

@ -79,10 +79,10 @@ es_ES.strings = {
retry: 'Intentar nuevamente',
retryUpload: 'Intentar subida nuevamente',
saveChanges: 'Guardar cambios',
selectXFiles: {
'0': 'Seleccionar %{smart_count} archivo',
'1': 'Seleccionar %{smart_count} archivos',
'2': 'Seleccionar %{smart_count} archivos'
selectX: {
'0': 'Seleccionar %{smart_count}',
'1': 'Seleccionar %{smart_count}',
'2': 'Seleccionar %{smart_count}'
},
smile: 'Sonríe!',
startRecording: 'Comenzar la grabación de video',

View file

@ -79,10 +79,10 @@ es_GL.strings = {
retry: 'Intentar novamente',
retryUpload: 'Intentar subida novamente',
saveChanges: 'Gardar cambios',
selectXFiles: {
'0': 'Seleccionar %{smart_count} arquivo',
'1': 'Seleccionar %{smart_count} arquivos',
'2': 'Seleccionar %{smart_count} arquivos'
selectX: {
'0': 'Seleccionar %{smart_count}',
'1': 'Seleccionar %{smart_count}',
'2': 'Seleccionar %{smart_count}'
},
smile: 'Sorrí!',
startRecording: 'Comezar a grabación de vídeo',

View file

@ -79,10 +79,10 @@ fa_IR.strings = {
retry: 'تلاش دوباره',
retryUpload: 'تلاش دوباره بارگذاری',
saveChanges: 'ذخیره‌ی تغییرات',
selectXFiles: {
'0': 'انتخاب %{smart_count} فایل',
'1': 'انتخاب %{smart_count} فایل',
'2': 'انتخاب %{smart_count} فایل'
selectX: {
'0': 'را انتخاب کنید %{smart_count}',
'1': 'را انتخاب کنید %{smart_count}',
'2': 'را انتخاب کنید %{smart_count}'
},
smile: 'Smile!',
startRecording: 'آغاز تصویربرداری',

View file

@ -82,10 +82,10 @@ fi_FI.strings = {
saveChanges: 'Tallenna muutokset',
selectAllFilesFromFolderNamed: 'Valitse kaikki tiedostot kansiosta %{name}',
selectFileNamed: 'Valitse tiedosto %{name}',
selectXFiles: {
'0': 'Valitse %{smart_count} tiedosto',
'1': 'Valitse %{smart_count} tiedostoa',
'2': 'Valitse %{smart_count} tiedostoa'
selectX: {
'0': 'Valitse %{smart_count}',
'1': 'Valitse %{smart_count}',
'2': 'Valitse %{smart_count}'
},
smile: 'Hymyile!',
startRecording: 'Aloita videon tallennus',

View file

@ -79,10 +79,10 @@ fr_FR.strings = {
retry: 'Réessayer',
retryUpload: 'Réessayez le téléchargement',
saveChanges: 'Sauvegarder les modifications',
selectXFiles: {
'0': 'Sélectionner %{smart_count} fichier',
'1': 'Sélectionner %{smart_count} fichiers',
'2': 'Sélectionner %{smart_count} fichiers'
selectX: {
'0': 'Sélectionner %{smart_count}',
'1': 'Sélectionner %{smart_count}',
'2': 'Sélectionner %{smart_count}'
},
smile: 'Souris!',
startRecording: 'Commencer l\'enregistrement vidéo',

View file

@ -81,10 +81,10 @@ hu_HU.strings = {
retry: 'Újra',
retryUpload: 'Próbálja újra a feltöltést',
saveChanges: 'Változtatások mentése',
selectXFiles: {
'0': '%{smart_count} fájl kiválasztva',
'1': '%{smart_count} fájl kiválasztva',
'2': '%{smart_count} fájl kiválasztva'
selectX: {
'0': 'Válassza az %{smart_count} lehetőséget',
'1': 'Válassza az %{smart_count} lehetőséget',
'2': 'Válassza az %{smart_count} lehetőséget'
},
smile: 'Csíííz!',
startRecording: 'Videófeltével indul',

View file

@ -79,10 +79,10 @@ it_IT.strings = {
retry: 'Riprova',
retryUpload: 'Riprova l\'upload',
saveChanges: 'Salva le modifiche',
selectXFiles: {
'0': 'Seleziona %{smart_count} file',
'1': 'Seleziona %{smart_count} file',
'2': 'Seleziona %{smart_count} file'
selectX: {
'0': 'Seleziona %{smart_count}',
'1': 'Seleziona %{smart_count}',
'2': 'Seleziona %{smart_count}'
},
smile: 'Sorridi!',
startRecording: 'Inizia la registrazione del video',

View file

@ -79,10 +79,10 @@ ja_JP.strings = {
retry: 'リトライ',
retryUpload: 'アップロードをリトライ',
saveChanges: '変更を保存',
selectXFiles: {
'0': '%{smart_count} ファイルを選択',
'1': '%{smart_count} ファイルを選択',
'2': '%{smart_count} ファイルを選択'
selectX: {
'0': '%{smart_count} を選択',
'1': '%{smart_count} を選択',
'2': '%{smart_count} を選択'
},
smile: 'スマイル〜!',
startRecording: '録画開始',

View file

@ -79,10 +79,10 @@ nl_NL.strings = {
retry: 'Opnieuw',
retryUpload: 'Upload opnieuw',
saveChanges: 'Wijzigingen opslaan',
selectXFiles: {
'0': 'Selecteer %{smart_count} bestand',
'1': 'Selecteer %{smart_count} bestanden',
'2': 'Selecteer %{smart_count} bestanden'
selectX: {
'0': 'Selecteer %{smart_count}',
'1': 'Selecteer %{smart_count}',
'2': 'Selecteer %{smart_count}'
},
smile: 'Lach!',
startRecording: 'Start video-opname',

View file

@ -79,10 +79,10 @@ pt_BR.strings = {
retry: 'Tentar novamente',
retryUpload: 'Tentar enviar novamente',
saveChanges: 'Salvar alterações',
selectXFiles: {
'0': 'Selecionar %{smart_count} arquivo',
'1': 'Selecionar %{smart_count} arquivo',
'2': 'Selecionar %{smart_count} arquivos'
selectX: {
'0': 'Selecionar %{smart_count}',
'1': 'Selecionar %{smart_count}',
'2': 'Selecionar %{smart_count}'
},
smile: 'Sorria!',
startRecording: 'Começar gravação de vídeo',

View file

@ -81,10 +81,10 @@ ru_RU.strings = {
retry: 'Повторить попытку',
retryUpload: 'Повторить попытку загрузки',
saveChanges: 'Сохранить',
selectXFiles: {
'0': 'Выбрать %{smart_count} файл',
'1': 'Выбрать %{smart_count} файла',
'2': 'Выбрать %{smart_count} файлов'
selectX: {
'0': 'Выбрать %{smart_count}',
'1': 'Выбрать %{smart_count}',
'2': 'Выбрать %{smart_count}'
},
smile: 'Улыбнитесь!',
startRecording: 'Начать запись видео',

View file

@ -79,10 +79,10 @@ sr_RS_Latin.strings = {
retry: 'Pokušaj ponovo',
retryUpload: 'Pokušaj ponovo da otpremiš',
saveChanges: 'Sačuvaj izmene',
selectXFiles: {
selectX: {
'0': 'Izaberi datoteku',
'1': 'Izaberi %{smart_count} datoteke',
'2': 'Izaberi %{smart_count} datoteka'
'1': 'Izaberi %{smart_count}',
'2': 'Izaberi %{smart_count}'
},
smile: 'Osmeh!',
startRecording: 'Započni snimanje video zapisa',

View file

@ -79,10 +79,10 @@ tr_TR.strings = {
retry: 'Tekrar',
retryUpload: 'Tekrar yükle',
saveChanges: 'Değişiklikleri kaydet',
selectXFiles: {
'0': '%{smart_count} dosya seç',
'1': '%{smart_count} dosya seç',
'2': '%{smart_count} dosya seç'
selectX: {
'0': '%{smart_count} seç',
'1': '%{smart_count} seç',
'2': '%{smart_count} seç'
},
smile: 'Gülümse!',
startRecording: 'Video kaydına başla',

View file

@ -79,10 +79,10 @@ zh_CN.strings = {
retry: '重试',
retryUpload: '重试上传',
saveChanges: '保存变更',
selectXFiles: {
'0': '选择%{smart_count}个文件',
'1': '选择%{smart_count}个文件',
'2': '选择%{smart_count}个文件'
selectX: {
'0': '选择%{smart_count}',
'1': '选择%{smart_count}',
'2': '选择%{smart_count}'
},
smile: '笑!',
startRecording: '开始视频录制',

View file

@ -79,10 +79,10 @@ zh_TW.strings = {
retry: '重試',
retryUpload: '重試上傳',
saveChanges: '保存變更',
selectXFiles: {
'0': '已選擇%{smart_count}個文件',
'1': '已選擇%{smart_count}個文件',
'2': '已選擇%{smart_count}個文件'
selectX: {
'0': '选择%{smart_count}',
'1': '选择%{smart_count}',
'2': '选择%{smart_count}'
},
smile: '笑!',
startRecording: '開始影片錄制',

View file

@ -3,7 +3,7 @@ const { h } = require('preact')
module.exports = (props) => {
return <div class="uppy-ProviderBrowser-footer">
<button class="uppy-u-reset uppy-c-btn uppy-c-btn-primary" onclick={props.done}>
{props.i18n('selectXFiles', {
{props.i18n('selectX', {
smart_count: props.selected
})}
</button>