Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Jul 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/@uppy/core/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/ar_SA.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'بدء تسجيل الفيديو',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/de_DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tim-kos could you check this one? Select 1 or Select 5, meaning files or folders.

},
smile: 'Bitte lächeln!',
startRecording: 'Videoaufnahme starten',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/en_US.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/es_ES.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/es_GL.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/fa_IR.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'آغاز تصویربرداری',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/fi_FI.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/fr_FR.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/hu_HU.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/it_IT.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/ja_JP.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '録画開始',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/nl_NL.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/pt_BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/ru_RU.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'Начать запись видео',
Expand Down
6 changes: 3 additions & 3 deletions packages/@uppy/locales/src/sr_RS_Latin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/tr_TR.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/zh_CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '开始视频录制',
Expand Down
8 changes: 4 additions & 4 deletions packages/@uppy/locales/src/zh_TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '開始影片錄制',
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/provider-views/src/FooterActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down