diff --git a/Files/BaseLayout.cs b/Files/BaseLayout.cs index f355611868c8..bcc1ab72f03f 100644 --- a/Files/BaseLayout.cs +++ b/Files/BaseLayout.cs @@ -85,14 +85,19 @@ internal set SelectedItem = _SelectedItems.First(); SelectedItemsPropertiesViewModel.IsItemSelected = true; + if (SelectedItems.Count >= 1) + { + SelectedItemsPropertiesViewModel.SelectedItemsCount = SelectedItems.Count; + } + if (SelectedItems.Count == 1) { - SelectedItemsPropertiesViewModel.SelectedItemsCount = SelectedItems.Count.ToString() + " " + ResourceController.GetTranslation("ItemSelected/Text"); + SelectedItemsPropertiesViewModel.SelectedItemsCountString = SelectedItems.Count.ToString() + " " + ResourceController.GetTranslation("ItemSelected/Text"); SelectedItemsPropertiesViewModel.ItemSize = SelectedItem.FileSize; } else { - SelectedItemsPropertiesViewModel.SelectedItemsCount = SelectedItems.Count.ToString() + " " + ResourceController.GetTranslation("ItemsSelected/Text"); + SelectedItemsPropertiesViewModel.SelectedItemsCountString = SelectedItems.Count.ToString() + " " + ResourceController.GetTranslation("ItemsSelected/Text"); if (SelectedItems.All(x => x.PrimaryItemAttribute == StorageItemTypes.File)) { diff --git a/Files/Dialogs/ConfirmDeleteDialog.xaml b/Files/Dialogs/ConfirmDeleteDialog.xaml index 341819a18484..a687c6efc10b 100644 --- a/Files/Dialogs/ConfirmDeleteDialog.xaml +++ b/Files/Dialogs/ConfirmDeleteDialog.xaml @@ -22,10 +22,7 @@ - + App.CurrentInstance.ContentPage.SelectedItemsPropertiesViewModel; public MyResult Result { get; set; } public enum MyResult @@ -27,6 +30,15 @@ public ConfirmDeleteDialog(bool deleteFromRecycleBin, StorageDeleteOption delete // If deleting from recycle bin disable "permanently delete" option this.chkPermanentlyDelete.IsEnabled = !deleteFromRecycleBin; + + if (SelectedItemsPropertiesViewModel.SelectedItemsCount == 1) + { + Description = ResourceController.GetTranslation("ConfirmDeleteDialogDeleteOneItem/Text"); + } + else + { + Description = string.Format(ResourceController.GetTranslation("ConfirmDeleteDialogDeleteMultipleItems/Text"), SelectedItemsPropertiesViewModel.SelectedItemsCount); + } } private void btnDelete_Click(object sender, RoutedEventArgs e) diff --git a/Files/MultilingualResources/Files.de-DE.xlf b/Files/MultilingualResources/Files.de-DE.xlf index d4a9d83db56e..695b25024f94 100644 --- a/Files/MultilingualResources/Files.de-DE.xlf +++ b/Files/MultilingualResources/Files.de-DE.xlf @@ -183,11 +183,6 @@ Delete Löschen - - Are you sure you want to delete the selected item(s)? - Sind Sie sicher, dass Sie die ausgewählten Dateien löschen möchten? - - Permanently delete Endgültig löschen @@ -1193,6 +1188,14 @@ Show all context menu items Alle im Kontextmenü verfügbaren Elemente anzeigen + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.es-ES.xlf b/Files/MultilingualResources/Files.es-ES.xlf index 62b6c5b37a5a..e833175820cd 100644 --- a/Files/MultilingualResources/Files.es-ES.xlf +++ b/Files/MultilingualResources/Files.es-ES.xlf @@ -183,10 +183,6 @@ Delete Eliminar - - Are you sure you want to delete the selected item(s)? - ¿Está seguro que desea eliminar el archivo seleccionado? - Permanently delete Eliminar permanentemente @@ -1186,6 +1182,14 @@ Show all context menu items Mostrar todos los elementos del menú contextual + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.fr-FR.xlf b/Files/MultilingualResources/Files.fr-FR.xlf index 0ca770c6eeac..0b5717e668c9 100644 --- a/Files/MultilingualResources/Files.fr-FR.xlf +++ b/Files/MultilingualResources/Files.fr-FR.xlf @@ -189,10 +189,6 @@ Delete Supprimer - - Are you sure you want to delete the selected item(s)? - Voulez-vous vraiment supprimer le(s) élément(s) sélectionné(s) ? - Permanently delete Supprimer de façon définitive @@ -1185,6 +1181,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.he-IL.xlf b/Files/MultilingualResources/Files.he-IL.xlf index 42a88157be1e..5ab221bf6e04 100644 --- a/Files/MultilingualResources/Files.he-IL.xlf +++ b/Files/MultilingualResources/Files.he-IL.xlf @@ -18,10 +18,6 @@ Delete מחק - - Are you sure you want to delete the selected item(s)? - האם אתה בטוח שאתה רוצה למחוק את הפריט/ים המסומנ/ים? - Permanently delete ‏‏מחק לצמיתות @@ -1181,6 +1177,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.hi-IN.xlf b/Files/MultilingualResources/Files.hi-IN.xlf index 1ed4877d49fb..e1c21a8df929 100644 --- a/Files/MultilingualResources/Files.hi-IN.xlf +++ b/Files/MultilingualResources/Files.hi-IN.xlf @@ -18,10 +18,6 @@ Delete हटाएँ - - Are you sure you want to delete the selected item(s)? - क्या आप सुनिश्चित हैं कि आप चयनित वस्तु(ओं) को हटाना चाहते हैं? - Permanently delete स्थायी रूप से हटाएं @@ -1187,6 +1183,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.it-IT.xlf b/Files/MultilingualResources/Files.it-IT.xlf index 92514c853a0d..355115af14be 100644 --- a/Files/MultilingualResources/Files.it-IT.xlf +++ b/Files/MultilingualResources/Files.it-IT.xlf @@ -18,10 +18,6 @@ Delete Elimina - - Are you sure you want to delete the selected item(s)? - Sei sicuro di voler eliminare gli elementi selezionati? - Permanently delete Elimina definitivamente @@ -1187,6 +1183,14 @@ Show all context menu items Mostra tutti gli elementi nel menu contestuale + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.ja-JP.xlf b/Files/MultilingualResources/Files.ja-JP.xlf index 9db91ae635f3..1fbe68a1a076 100644 --- a/Files/MultilingualResources/Files.ja-JP.xlf +++ b/Files/MultilingualResources/Files.ja-JP.xlf @@ -18,10 +18,6 @@ Delete 削除 - - Are you sure you want to delete the selected item(s)? - 選択したアイテムを削除してもよろしいですか? - Permanently delete 完全に削除 @@ -1189,6 +1185,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.nl-NL.xlf b/Files/MultilingualResources/Files.nl-NL.xlf index b4324f3d32bb..4276d398ead2 100644 --- a/Files/MultilingualResources/Files.nl-NL.xlf +++ b/Files/MultilingualResources/Files.nl-NL.xlf @@ -183,10 +183,6 @@ Delete Verwijderen - - Are you sure you want to delete the selected item(s)? - Weet u zeker dat u de geselecteerde items wilt verwijderen? - Permanently delete Permanent verwijderen @@ -1187,6 +1183,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.or-IN.xlf b/Files/MultilingualResources/Files.or-IN.xlf index 4b4d790db575..8159d5042ace 100644 --- a/Files/MultilingualResources/Files.or-IN.xlf +++ b/Files/MultilingualResources/Files.or-IN.xlf @@ -18,10 +18,6 @@ Delete ବିଲୋପ କର - - Are you sure you want to delete the selected item(s)? - ଆପଣ ନିଶ୍ଚିତ କି ଆପଣ ମନୋନୀତ ଆଇଟମ୍(ଗୁଡିକ) ବିଲୋପ କରିବାକୁ ଚାହୁଁଛନ୍ତି କି? - Permanently delete ସ୍ଥାୟୀ ଭାବରେ ବିଲୋପ କର @@ -1187,6 +1183,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.pl-PL.xlf b/Files/MultilingualResources/Files.pl-PL.xlf index 4e92b9d3835e..07d131380ba8 100644 --- a/Files/MultilingualResources/Files.pl-PL.xlf +++ b/Files/MultilingualResources/Files.pl-PL.xlf @@ -184,10 +184,6 @@ Delete Usuń - - Are you sure you want to delete the selected item(s)? - Czy na pewno chcesz usunąć wybrane elementy? - Permanently delete Usuń trwale @@ -1188,6 +1184,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.pt-BR.xlf b/Files/MultilingualResources/Files.pt-BR.xlf index bb4751049d58..421fc49cef61 100644 --- a/Files/MultilingualResources/Files.pt-BR.xlf +++ b/Files/MultilingualResources/Files.pt-BR.xlf @@ -18,10 +18,6 @@ Delete Excluir - - Are you sure you want to delete the selected item(s)? - Tem certeza de que deseja excluir o(s) item(ns) selecionado(s)? - Permanently delete Excluir permanentemente @@ -225,8 +221,7 @@ Third Party Licenses: - Licenças de Terceiros - Please verify the translation’s accuracy as the source string was updated after it was translated. + Licenças de Terceiros: About @@ -270,8 +265,7 @@ Double click to rename files - Clique duas vezes para renomear arquivos - Please verify the translation’s accuracy as the source string was updated after it was translated. + Clique duas vezes para renomear arquivos Experimental @@ -507,8 +501,7 @@ Welcome to Files! - Bem vindo ao Files UWP - Please verify the translation’s accuracy as the source string was updated after it was translated. + Bem vindo ao Files! Grant Permission @@ -516,8 +509,7 @@ To get started, you'll need to grant us permission to display your files. This will open a Settings page where you can grant us this permission. You'll need to reopen the app once you've completed this step. - Para começar, você precisa nos conceder permissão para exibir seus arquivos. Isso abrirá uma página de configurações onde você pode nos conceder essa permissão. Você precisará reabrir o aplicativo depois de concluído. - Please verify the translation’s accuracy as the source string was updated after it was translated. + Para começar, você precisa nos conceder permissão para exibir seus arquivos. Isso abrirá uma página de configurações onde você pode nos conceder essa permissão. Você precisará reabrir o aplicativo depois de concluído. File folder @@ -529,12 +521,11 @@ Enter an item name - Digite o nome do arquivo + Insira o nome do arquivo Enter an item name - Digite o nome do arquivo sem uma extensão - Please verify the translation’s accuracy as the source string was updated after it was translated. + Insira o nome do arquivo Set Name @@ -966,8 +957,7 @@ To see changes, a restart is required - Reinicialização necessária - Please verify the translation’s accuracy as the source string was updated after it was translated. + Para ver as mudanças, é necessário reiniciar Status @@ -1120,8 +1110,7 @@ Find out what's new - Descubra o que há de novo no Files UWP - Please verify the translation’s accuracy as the source string was updated after it was translated. + Descubra o que há de novo Show multitasking flyout in the navigation toolbar @@ -1141,7 +1130,7 @@ Open log location - Abrir local do log + Abrir local de registro Files ran into a problem that the developers didn't prepare for yet. @@ -1161,8 +1150,7 @@ There's nothing to share right now... - Não há nada para compartilhar agora - Please verify the translation’s accuracy as the source string was updated after it was translated. + Não há nada para compartilhar agora... The items you've selected will be shared @@ -1188,6 +1176,14 @@ Show all context menu items Mostrar todos os itens do menu de contexto + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.ru-RU.xlf b/Files/MultilingualResources/Files.ru-RU.xlf index 79f879c94be9..c84573b5d334 100644 --- a/Files/MultilingualResources/Files.ru-RU.xlf +++ b/Files/MultilingualResources/Files.ru-RU.xlf @@ -183,10 +183,6 @@ Delete Удалить - - Are you sure you want to delete the selected item(s)? - Вы уверены, что хотите удалить выбранный элемент(ы)? - Permanently delete Удалить безвозвратно @@ -1185,6 +1181,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.ta.xlf b/Files/MultilingualResources/Files.ta.xlf index 37b8a1a2a1cf..59e0355e9a3b 100644 --- a/Files/MultilingualResources/Files.ta.xlf +++ b/Files/MultilingualResources/Files.ta.xlf @@ -18,10 +18,6 @@ Delete நீக்கு - - Are you sure you want to delete the selected item(s)? - தேர்ந்தெடுக்கப்பட்ட உருப்படி(கள்) ஐ நீங்கள் நிச்சயம் நீக்க விரும்புகிறீர்களா? - Permanently delete நிரந்தரமாக நீக்கு @@ -1189,6 +1185,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.tr-TR.xlf b/Files/MultilingualResources/Files.tr-TR.xlf index 2637ff864250..7fb43073808f 100644 --- a/Files/MultilingualResources/Files.tr-TR.xlf +++ b/Files/MultilingualResources/Files.tr-TR.xlf @@ -187,10 +187,6 @@ Delete Sil - - Are you sure you want to delete the selected item(s)? - Seçilen öğeyi silmek istediğinizden emin misiniz? - Permanently delete Kalıcı Olarak Sil @@ -1183,6 +1179,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.uk-UA.xlf b/Files/MultilingualResources/Files.uk-UA.xlf index 74d81571a1db..00ab3b981ece 100644 --- a/Files/MultilingualResources/Files.uk-UA.xlf +++ b/Files/MultilingualResources/Files.uk-UA.xlf @@ -18,10 +18,6 @@ Delete Видалити - - Are you sure you want to delete the selected item(s)? - Ви впевнені, що хочете видалити обрані елементи? - Permanently delete Остаточно видалити @@ -1184,6 +1180,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/MultilingualResources/Files.zh-Hans.xlf b/Files/MultilingualResources/Files.zh-Hans.xlf index 761ec2f56228..265b6a117d82 100644 --- a/Files/MultilingualResources/Files.zh-Hans.xlf +++ b/Files/MultilingualResources/Files.zh-Hans.xlf @@ -184,10 +184,6 @@ Delete 删除 - - Are you sure you want to delete the selected item(s)? - 确实要删除所选项吗? - Permanently delete 永久删除 @@ -1187,6 +1183,14 @@ Show all context menu items Show all context menu items + + Are you sure you want to delete this item? + Are you sure you want to delete this item? + + + Are you sure you want to delete these {0} items? + Are you sure you want to delete these {0} items? + diff --git a/Files/Strings/de-DE/Resources.resw b/Files/Strings/de-DE/Resources.resw index afd51ac88b19..51e86c550d7f 100644 --- a/Files/Strings/de-DE/Resources.resw +++ b/Files/Strings/de-DE/Resources.resw @@ -144,9 +144,6 @@ Löschen - - Sind Sie sicher, dass Sie die ausgewählten Dateien löschen möchten? - Endgültig löschen diff --git a/Files/Strings/en-US/Resources.resw b/Files/Strings/en-US/Resources.resw index dcbbd5804e06..00a034f5237e 100644 --- a/Files/Strings/en-US/Resources.resw +++ b/Files/Strings/en-US/Resources.resw @@ -126,9 +126,6 @@ Delete - - Are you sure you want to delete the selected item(s)? - Permanently delete @@ -996,4 +993,10 @@ Show all context menu items - + + Are you sure you want to delete these {0} items? + + + Are you sure you want to delete this item? + + \ No newline at end of file diff --git a/Files/Strings/es-ES/Resources.resw b/Files/Strings/es-ES/Resources.resw index 598ff5c28c2a..839faadc5595 100644 --- a/Files/Strings/es-ES/Resources.resw +++ b/Files/Strings/es-ES/Resources.resw @@ -144,9 +144,6 @@ Eliminar - - ¿Está seguro que desea eliminar el archivo seleccionado? - Eliminar permanentemente diff --git a/Files/Strings/fr-FR/Resources.resw b/Files/Strings/fr-FR/Resources.resw index 2af6d0cfc345..c5a0c01a0fec 100644 --- a/Files/Strings/fr-FR/Resources.resw +++ b/Files/Strings/fr-FR/Resources.resw @@ -144,9 +144,6 @@ Supprimer - - Voulez-vous vraiment supprimer le(s) élément(s) sélectionné(s) ? - Supprimer de façon définitive diff --git a/Files/Strings/he-IL/Resources.resw b/Files/Strings/he-IL/Resources.resw index b2e7f7a6c12c..37a330a3599d 100644 --- a/Files/Strings/he-IL/Resources.resw +++ b/Files/Strings/he-IL/Resources.resw @@ -21,9 +21,6 @@ מחק - - האם אתה בטוח שאתה רוצה למחוק את הפריט/ים המסומנ/ים? - ‏‏מחק לצמיתות diff --git a/Files/Strings/hi-IN/Resources.resw b/Files/Strings/hi-IN/Resources.resw index d2d03b978daa..4b5799ad5a19 100644 --- a/Files/Strings/hi-IN/Resources.resw +++ b/Files/Strings/hi-IN/Resources.resw @@ -21,9 +21,6 @@ हटाएँ - - क्या आप सुनिश्चित हैं कि आप चयनित वस्तु(ओं) को हटाना चाहते हैं? - स्थायी रूप से हटाएं diff --git a/Files/Strings/it-IT/Resources.resw b/Files/Strings/it-IT/Resources.resw index ecdbd07d6dac..1a890f160cf6 100644 --- a/Files/Strings/it-IT/Resources.resw +++ b/Files/Strings/it-IT/Resources.resw @@ -21,9 +21,6 @@ Elimina - - Sei sicuro di voler eliminare gli elementi selezionati? - Elimina definitivamente diff --git a/Files/Strings/ja-JP/Resources.resw b/Files/Strings/ja-JP/Resources.resw index 7cae43bddfe9..d7f357a08377 100644 --- a/Files/Strings/ja-JP/Resources.resw +++ b/Files/Strings/ja-JP/Resources.resw @@ -21,9 +21,6 @@ 削除 - - 選択したアイテムを削除してもよろしいですか? - 完全に削除 diff --git a/Files/Strings/nl-NL/Resources.resw b/Files/Strings/nl-NL/Resources.resw index 7a9fe27193d6..a159985e0904 100644 --- a/Files/Strings/nl-NL/Resources.resw +++ b/Files/Strings/nl-NL/Resources.resw @@ -144,9 +144,6 @@ Verwijderen - - Weet u zeker dat u de geselecteerde items wilt verwijderen? - Permanent verwijderen diff --git a/Files/Strings/or-IN/Resources.resw b/Files/Strings/or-IN/Resources.resw index d59e7e287b69..78ad5f50ee17 100644 --- a/Files/Strings/or-IN/Resources.resw +++ b/Files/Strings/or-IN/Resources.resw @@ -21,9 +21,6 @@ ବିଲୋପ କର - - ଆପଣ ନିଶ୍ଚିତ କି ଆପଣ ମନୋନୀତ ଆଇଟମ୍(ଗୁଡିକ) ବିଲୋପ କରିବାକୁ ଚାହୁଁଛନ୍ତି କି? - ସ୍ଥାୟୀ ଭାବରେ ବିଲୋପ କର diff --git a/Files/Strings/pl-PL/Resources.resw b/Files/Strings/pl-PL/Resources.resw index 598d67731650..d2d3d1632256 100644 --- a/Files/Strings/pl-PL/Resources.resw +++ b/Files/Strings/pl-PL/Resources.resw @@ -144,9 +144,6 @@ Usuń - - Czy na pewno chcesz usunąć wybrane elementy? - Usuń trwale diff --git a/Files/Strings/pt-BR/Resources.resw b/Files/Strings/pt-BR/Resources.resw index 54da1bc0357b..ef82341f06e8 100644 --- a/Files/Strings/pt-BR/Resources.resw +++ b/Files/Strings/pt-BR/Resources.resw @@ -21,9 +21,6 @@ Excluir - - Tem certeza de que deseja excluir o(s) item(ns) selecionado(s)? - Excluir permanentemente @@ -175,7 +172,7 @@ Envie aos desenvolvedores um relatório de problemas com mais informações - Licenças de Terceiros + Licenças de Terceiros: Sobre @@ -385,7 +382,7 @@ QuickLook - Bem vindo ao Files UWP + Bem vindo ao Files! Conceder Permissão @@ -400,10 +397,10 @@ Arquivo - Digite o nome do arquivo + Insira o nome do arquivo - Digite o nome do arquivo sem uma extensão + Insira o nome do arquivo Definir Nome @@ -727,7 +724,7 @@ Idioma - Reinicialização necessária + Para ver as mudanças, é necessário reiniciar Status @@ -841,7 +838,7 @@ Notas de Atualização - Descubra o que há de novo no Files UWP + Descubra o que há de novo Mostrar menu multitarefa na barra de navegação @@ -856,7 +853,7 @@ Desconhecido - Abrir local do log + Abrir local de registro O Files encontrou um problema para o qual os desenvolvedores ainda não se prepararam. @@ -871,7 +868,7 @@ Versão: - Não há nada para compartilhar agora + Não há nada para compartilhar agora... Os itens selecionados serão compartilhados diff --git a/Files/Strings/ru-RU/Resources.resw b/Files/Strings/ru-RU/Resources.resw index 6a6242314e14..67e569780c6f 100644 --- a/Files/Strings/ru-RU/Resources.resw +++ b/Files/Strings/ru-RU/Resources.resw @@ -144,9 +144,6 @@ Удалить - - Вы уверены, что хотите удалить выбранный элемент(ы)? - Удалить безвозвратно diff --git a/Files/Strings/ta/Resources.resw b/Files/Strings/ta/Resources.resw index c51370722b10..5fb0cdf7f88a 100644 --- a/Files/Strings/ta/Resources.resw +++ b/Files/Strings/ta/Resources.resw @@ -21,9 +21,6 @@ நீக்கு - - தேர்ந்தெடுக்கப்பட்ட உருப்படி(கள்) ஐ நீங்கள் நிச்சயம் நீக்க விரும்புகிறீர்களா? - நிரந்தரமாக நீக்கு diff --git a/Files/Strings/tr-TR/Resources.resw b/Files/Strings/tr-TR/Resources.resw index 5a2e75fef346..e86f7507c972 100644 --- a/Files/Strings/tr-TR/Resources.resw +++ b/Files/Strings/tr-TR/Resources.resw @@ -144,9 +144,6 @@ Sil - - Seçilen öğeyi silmek istediğinizden emin misiniz? - Kalıcı Olarak Sil diff --git a/Files/Strings/uk-UA/Resources.resw b/Files/Strings/uk-UA/Resources.resw index 2e8d60dc06ad..69147f08078d 100644 --- a/Files/Strings/uk-UA/Resources.resw +++ b/Files/Strings/uk-UA/Resources.resw @@ -21,9 +21,6 @@ Видалити - - Ви впевнені, що хочете видалити обрані елементи? - Остаточно видалити diff --git a/Files/Strings/zh-Hans/Resources.resw b/Files/Strings/zh-Hans/Resources.resw index ed5fe96200b2..a5599c27a118 100644 --- a/Files/Strings/zh-Hans/Resources.resw +++ b/Files/Strings/zh-Hans/Resources.resw @@ -144,9 +144,6 @@ 删除 - - 确实要删除所选项吗? - 永久删除 diff --git a/Files/UserControls/StatusBarControl.xaml b/Files/UserControls/StatusBarControl.xaml index 93a3348cb777..c392250a8909 100644 --- a/Files/UserControls/StatusBarControl.xaml +++ b/Files/UserControls/StatusBarControl.xaml @@ -28,7 +28,7 @@ Orientation="Horizontal" Spacing="12"> - + diff --git a/Files/View Models/SelectedItemsPropertiesViewModel.cs b/Files/View Models/SelectedItemsPropertiesViewModel.cs index ff3edd4a1a1c..1f4085b5d3ba 100644 --- a/Files/View Models/SelectedItemsPropertiesViewModel.cs +++ b/Files/View Models/SelectedItemsPropertiesViewModel.cs @@ -483,9 +483,17 @@ public Visibility ItemAttributesVisibility set => SetProperty(ref _ItemAttributesVisibility, value); } - private string _SelectedItemsCount; + private string _SelectedItemsCountString; - public string SelectedItemsCount + public string SelectedItemsCountString + { + get => _SelectedItemsCountString; + set => SetProperty(ref _SelectedItemsCountString, value); + } + + private int _SelectedItemsCount; + + public int SelectedItemsCount { get => _SelectedItemsCount; set => SetProperty(ref _SelectedItemsCount, value); @@ -527,7 +535,7 @@ public async void CheckFileExtension() //check if the selected item is an image file string ItemExtension = await CoreApplication.MainView.ExecuteOnUIThreadAsync(() => App.CurrentInstance.ContentPage.SelectedItem.FileExtension); - if (!string.IsNullOrEmpty(ItemExtension) && SelectedItemsCount == "1 " + ResourceController.GetTranslation("ItemSelected/Text")) + if (!string.IsNullOrEmpty(ItemExtension) && SelectedItemsCount == 1) { if (ItemExtension.Equals(".png", StringComparison.OrdinalIgnoreCase) || ItemExtension.Equals(".jpg", StringComparison.OrdinalIgnoreCase)