From 20531d55ee8fdb5d5ae101ac424b33d09ea70338 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Sun, 20 Feb 2022 00:05:08 +0900 Subject: [PATCH] l10n --- lib/l10n/app_de.arb | 17 ++++++++++- lib/l10n/app_en.arb | 7 +---- lib/l10n/app_es.arb | 2 +- lib/l10n/app_fr.arb | 2 +- lib/l10n/app_id.arb | 2 +- lib/l10n/app_ko.arb | 2 +- lib/l10n/app_pt.arb | 17 ++++++++++- lib/l10n/app_ru.arb | 2 +- lib/widgets/collection/app_bar.dart | 2 +- lib/widgets/filter_grids/common/app_bar.dart | 3 +- untranslated.json | 30 ++------------------ 11 files changed, 43 insertions(+), 43 deletions(-) diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index a553538d9..a74c025cd 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -7,6 +7,7 @@ "timeSeconds": "{seconds, plural, =1{1 Sekunde} other{{seconds} Sekunde}}", "timeMinutes": "{minutes, plural, =1{1 Minute} other{{minutes} Minuten}}", + "timeDays": "{days, plural, =1{1 Tag} other{{days} Tage}}", "focalLength": "{length} mm", "applyButtonLabel": "ANWENDEN", @@ -27,6 +28,7 @@ "resetButtonTooltip": "Zurücksetzen", "doubleBackExitMessage": "Zum Verlassen erneut auf „Zurück“ tippen.", + "doNotAskAgain": "Nicht noch einmal fragen", "sourceStateLoading": "Laden", "sourceStateCataloguing": "Katalogisierung", @@ -48,6 +50,7 @@ "entryActionDelete": "Löschen", "entryActionExport": "Exportieren", "entryActionRename": "Umbenennen", + "entryActionRestore": "Wiederherstellen", "entryActionRotateCCW": "Drehen gegen den Uhrzeigersinn", "entryActionRotateCW": "Drehen im Uhrzeigersinn", "entryActionFlip": "Horizontal spiegeln", @@ -78,6 +81,7 @@ "entryInfoActionEditTags": "Tags bearbeiten", "entryInfoActionRemoveMetadata": "Metadaten entfernen", + "filterBinLabel": "Papierkorb", "filterFavouriteLabel": "Favorit", "filterLocationEmptyLabel": "Ungeortet", "filterTagEmptyLabel": "Unmarkiert", @@ -156,6 +160,7 @@ "noMatchingAppDialogTitle": "Keine passende App", "noMatchingAppDialogMessage": "Es gibt keine Anwendungen, die dies bewältigen können.", + "binEntriesConfirmationDialogMessage": "{count, plural, =1{Dieses Element in den Papierkorb verschieben?} other{Diese {count} Elemente in den Papierkorb verschieben?}}", "deleteEntriesConfirmationDialogMessage": "{count, plural, =1{Sicher, dass dieses Element gelöscht werden soll?} other{Sicher, dass diese {count} Elemente gelöscht werden sollen?}}", "videoResumeDialogMessage": "Soll bei {time} weiter abspielt werden?", @@ -266,11 +271,12 @@ "collectionPageTitle": "Sammlung", "collectionPickPageTitle": "Wähle", - "collectionSelectionPageTitle": "{count, plural, =0{Elemente auswählen} =1{1 Element} other{{count} Elemente}}", + "collectionSelectPageTitle": "Elemente auswählen", "collectionActionShowTitleSearch": "Titelfilter anzeigen", "collectionActionHideTitleSearch": "Titelfilter ausblenden", "collectionActionAddShortcut": "Verknüpfung hinzufügen", + "collectionActionEmptyBin": "Papierkorb leeren", "collectionActionCopy": "In Album kopieren", "collectionActionMove": "Zum Album verschieben", "collectionActionRescan": "Neu scannen", @@ -349,6 +355,8 @@ "tagPageTitle": "Tags", "tagEmpty": "Keine Tags", + "binPageTitle": "Papierkorb", + "searchCollectionFieldHint": "Sammlung durchsuchen", "searchSectionRecent": "Neueste", "searchSectionAlbums": "Alben", @@ -374,6 +382,11 @@ "settingsKeepScreenOnTitle": "Bildschirm eingeschaltet lassen", "settingsDoubleBackExit": "Zum Verlassen zweimal „zurück“ tippen", + "settingsConfirmationDialogTile": "Bestätigungsdialoge", + "settingsConfirmationDialogTitle": "Bestätigungsdialoge", + "settingsConfirmationDialogDeleteItems": "Vor dem endgültigen Löschen von Elementen fragen", + "settingsConfirmationDialogMoveToBinItems": "Vor dem Verschieben von Elementen in den Papierkorb fragen", + "settingsNavigationDrawerTile": "Menü Navigation", "settingsNavigationDrawerEditorTitle": "Menü Navigation", "settingsNavigationDrawerBanner": "Die Taste berühren und halten, um Menüpunkte zu verschieben und neu anzuordnen.", @@ -449,6 +462,8 @@ "settingsAllowInstalledAppAccessSubtitle": "zur Gruppierung von Bildern nach Apps", "settingsAllowErrorReporting": "Anonyme Fehlermeldungen zulassen", "settingsSaveSearchHistory": "Suchverlauf speichern", + "settingsEnableBin": "Papierkorb verwenden", + "settingsEnableBinSubtitle": "Gelöschte Elemente 30 Tage lang aufbewahren", "settingsHiddenItemsTile": "Versteckte Elemente", "settingsHiddenItemsTitle": "Versteckte Elemente", diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index a515a5fd5..37598546e 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -414,12 +414,7 @@ "collectionPageTitle": "Collection", "collectionPickPageTitle": "Pick", - "collectionSelectionPageTitle": "{count, plural, =0{Select items} =1{1 item} other{{count} items}}", - "@collectionSelectionPageTitle": { - "placeholders": { - "count": {} - } - }, + "collectionSelectPageTitle": "Select items", "collectionActionShowTitleSearch": "Show title filter", "collectionActionHideTitleSearch": "Hide title filter", diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arb index 3490ddf47..82077c0e3 100644 --- a/lib/l10n/app_es.arb +++ b/lib/l10n/app_es.arb @@ -268,7 +268,7 @@ "collectionPageTitle": "Colección", "collectionPickPageTitle": "Elegir", - "collectionSelectionPageTitle": "{count, plural, =0{Seleccionar} =1{1 elemento} other{{count} elementos}}", + "collectionSelectPageTitle": "Seleccionar", "collectionActionShowTitleSearch": "Mostrar filtros de títulos", "collectionActionHideTitleSearch": "Ocultar filtros de títulos", diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arb index fcec8ce9a..65759fb4e 100644 --- a/lib/l10n/app_fr.arb +++ b/lib/l10n/app_fr.arb @@ -272,7 +272,7 @@ "collectionPageTitle": "Collection", "collectionPickPageTitle": "Sélection", - "collectionSelectionPageTitle": "{count, plural, =0{Sélection} =1{1 élément} other{{count} éléments}}", + "collectionSelectPageTitle": "Sélection", "collectionActionShowTitleSearch": "Filtrer les titres", "collectionActionHideTitleSearch": "Masquer le filtre", diff --git a/lib/l10n/app_id.arb b/lib/l10n/app_id.arb index f25c952eb..468e6b2ba 100644 --- a/lib/l10n/app_id.arb +++ b/lib/l10n/app_id.arb @@ -272,7 +272,7 @@ "collectionPageTitle": "Koleksi", "collectionPickPageTitle": "Pilih", - "collectionSelectionPageTitle": "{count, plural, =0{Pilih benda} other{{count} benda}}", + "collectionSelectPageTitle": "Pilih benda", "collectionActionShowTitleSearch": "Tampilkan filter judul", "collectionActionHideTitleSearch": "Sembunyikan filter judul", diff --git a/lib/l10n/app_ko.arb b/lib/l10n/app_ko.arb index b8bcf8e73..1e04e7578 100644 --- a/lib/l10n/app_ko.arb +++ b/lib/l10n/app_ko.arb @@ -271,7 +271,7 @@ "collectionPageTitle": "미디어", "collectionPickPageTitle": "항목 선택", - "collectionSelectionPageTitle": "{count, plural, =0{항목 선택} other{{count}개}}", + "collectionSelectPageTitle": "항목 선택", "collectionActionShowTitleSearch": "제목 필터 보기", "collectionActionHideTitleSearch": "제목 필터 숨기기", diff --git a/lib/l10n/app_pt.arb b/lib/l10n/app_pt.arb index f5d9f68f0..fbf608140 100644 --- a/lib/l10n/app_pt.arb +++ b/lib/l10n/app_pt.arb @@ -7,6 +7,7 @@ "timeSeconds": "{seconds, plural, =1{1 segundo} other{{seconds} segundos}}", "timeMinutes": "{minutes, plural, =1{1 minuto} other{{minutes} minutos}}", + "timeDays": "{days, plural, =1{1 dia} other{{days} dias}}", "focalLength": "{length} mm", "applyButtonLabel": "APLIQUE", @@ -27,6 +28,7 @@ "resetButtonTooltip": "Resetar", "doubleBackExitMessage": "Toque em “voltar” novamente para sair.", + "doNotAskAgain": "Não pergunte novamente", "sourceStateLoading": "Carregando", "sourceStateCataloguing": "Catalogação", @@ -48,6 +50,7 @@ "entryActionDelete": "Excluir", "entryActionExport": "Exportar", "entryActionRename": "Renomear", + "entryActionRestore": "Restaurar", "entryActionRotateCCW": "Rotacionar para esquerda", "entryActionRotateCW": "Rotacionar para direita", "entryActionFlip": "Virar horizontalmente", @@ -78,6 +81,7 @@ "entryInfoActionEditTags": "Editar etiquetas", "entryInfoActionRemoveMetadata": "Remover metadados", + "filterBinLabel": "Lixeira", "filterFavouriteLabel": "Favorito", "filterLocationEmptyLabel": "Não localizado", "filterTagEmptyLabel": "Sem etiqueta", @@ -156,6 +160,7 @@ "noMatchingAppDialogTitle": "Nenhum aplicativo correspondente", "noMatchingAppDialogMessage": "Não há aplicativos que possam lidar com isso.", + "binEntriesConfirmationDialogMessage": "{count, plural, =1{Mover esse item para a lixeira?} other{Mova estes {count} itens para a lixeira?}}", "deleteEntriesConfirmationDialogMessage": "{count, plural, =1{Tem certeza de que deseja excluir este item?} other{Tem certeza de que deseja excluir estes {count} itens?}}", "videoResumeDialogMessage": "Deseja continuar jogando em {time}?", @@ -266,11 +271,12 @@ "collectionPageTitle": "Coleção", "collectionPickPageTitle": "Escolher", - "collectionSelectionPageTitle": "{count, plural, =0{Selecionar itens} =1{1 item} other{{count} itens}}", + "collectionSelectPageTitle": "Selecionar itens", "collectionActionShowTitleSearch": "Mostrar filtro de título", "collectionActionHideTitleSearch": "Ocultar filtro de título", "collectionActionAddShortcut": "Adicionar atalho", + "collectionActionEmptyBin": "Caixa vazia", "collectionActionCopy": "Copiar para o álbum", "collectionActionMove": "Mover para o álbum", "collectionActionRescan": "Reexaminar", @@ -349,6 +355,8 @@ "tagPageTitle": "Etiquetas", "tagEmpty": "Sem etiquetas", + "binPageTitle": "Lixeira", + "searchCollectionFieldHint": "Pesquisar coleção", "searchSectionRecent": "Recente", "searchSectionAlbums": "Álbuns", @@ -374,6 +382,11 @@ "settingsKeepScreenOnTitle": "Manter a tela ligada", "settingsDoubleBackExit": "Toque em “voltar” duas vezes para sair", + "settingsConfirmationDialogTile": "Caixas de diálogo de confirmação", + "settingsConfirmationDialogTitle": "Caixas de diálogo de confirmação", + "settingsConfirmationDialogDeleteItems": "Pergunte antes de excluir itens para sempre", + "settingsConfirmationDialogMoveToBinItems": "Pergunte antes de mover itens para a lixeira", + "settingsNavigationDrawerTile": "Menu de navegação", "settingsNavigationDrawerEditorTitle": "Menu de navegação", "settingsNavigationDrawerBanner": "Toque e segure para mover e reordenar os itens do menu.", @@ -449,6 +462,8 @@ "settingsAllowInstalledAppAccessSubtitle": "Usado para melhorar a exibição do álbum", "settingsAllowErrorReporting": "Permitir relatórios de erros anônimos", "settingsSaveSearchHistory": "Salvar histórico de pesquisa", + "settingsEnableBin": "Usar lixeira", + "settingsEnableBinSubtitle": "Manter itens excluídos por 30 dias", "settingsHiddenItemsTile": "Itens ocultos", "settingsHiddenItemsTitle": "Itens ocultos", diff --git a/lib/l10n/app_ru.arb b/lib/l10n/app_ru.arb index ff691cacd..a5c3fa4af 100644 --- a/lib/l10n/app_ru.arb +++ b/lib/l10n/app_ru.arb @@ -266,7 +266,7 @@ "collectionPageTitle": "Коллекция", "collectionPickPageTitle": "Выбрать", - "collectionSelectionPageTitle": "{count, plural, =0{Выберите объекты} =1{1 объект} few{{count} объекта} other{{count} объектов}}", + "collectionSelectPageTitle": "Выберите объекты", "collectionActionShowTitleSearch": "Показать фильтр заголовка", "collectionActionHideTitleSearch": "Скрыть фильтр заголовка", diff --git a/lib/widgets/collection/app_bar.dart b/lib/widgets/collection/app_bar.dart index 1dd10f071..04add94fb 100644 --- a/lib/widgets/collection/app_bar.dart +++ b/lib/widgets/collection/app_bar.dart @@ -187,7 +187,7 @@ class _CollectionAppBarState extends State with SingleTickerPr if (isSelecting) { return Selector, int>( selector: (context, selection) => selection.selectedItems.length, - builder: (context, count, child) => Text(l10n.collectionSelectionPageTitle(count)), + builder: (context, count, child) => Text(count == 0 ? l10n.collectionSelectPageTitle : l10n.itemCount(count)), ); } else { final appMode = context.watch>().value; diff --git a/lib/widgets/filter_grids/common/app_bar.dart b/lib/widgets/filter_grids/common/app_bar.dart index 463fb19e5..5023a70ac 100644 --- a/lib/widgets/filter_grids/common/app_bar.dart +++ b/lib/widgets/filter_grids/common/app_bar.dart @@ -110,9 +110,10 @@ class _FilterGridAppBarState extends State>, int>( selector: (context, selection) => selection.selectedItems.length, - builder: (context, count, child) => Text(context.l10n.collectionSelectionPageTitle(count)), + builder: (context, count, child) => Text(count == 0 ? l10n.collectionSelectPageTitle : l10n.itemCount(count)), ); } else { final appMode = context.watch>().value; diff --git a/untranslated.json b/untranslated.json index d5da8f2de..328216c41 100644 --- a/untranslated.json +++ b/untranslated.json @@ -1,19 +1,6 @@ { "de": [ - "timeDays", - "doNotAskAgain", - "entryActionConvert", - "entryActionRestore", - "filterBinLabel", - "binEntriesConfirmationDialogMessage", - "collectionActionEmptyBin", - "binPageTitle", - "settingsConfirmationDialogTile", - "settingsConfirmationDialogTitle", - "settingsConfirmationDialogDeleteItems", - "settingsConfirmationDialogMoveToBinItems", - "settingsEnableBin", - "settingsEnableBinSubtitle" + "entryActionConvert" ], "es": [ @@ -41,20 +28,7 @@ ], "pt": [ - "timeDays", - "doNotAskAgain", - "entryActionConvert", - "entryActionRestore", - "filterBinLabel", - "binEntriesConfirmationDialogMessage", - "collectionActionEmptyBin", - "binPageTitle", - "settingsConfirmationDialogTile", - "settingsConfirmationDialogTitle", - "settingsConfirmationDialogDeleteItems", - "settingsConfirmationDialogMoveToBinItems", - "settingsEnableBin", - "settingsEnableBinSubtitle" + "entryActionConvert" ], "ru": [