diff --git a/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs b/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs index 38959e869faf..419af421f7fc 100644 --- a/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs +++ b/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs @@ -215,7 +215,7 @@ public async Task UpdatePropertiesAsync() } else { - SpaceText = "DriveCapacityUnknown".GetLocalizedResource(); + SpaceText = "Unknown".GetLocalizedResource(); MaxSpace = SpaceUsed = FreeSpace = ByteSize.FromBytes(0); } @@ -223,7 +223,7 @@ public async Task UpdatePropertiesAsync() } catch (Exception) { - SpaceText = "DriveCapacityUnknown".GetLocalizedResource(); + SpaceText = "Unknown".GetLocalizedResource(); MaxSpace = SpaceUsed = FreeSpace = ByteSize.FromBytes(0); OnPropertyChanged(nameof(ShowDriveDetails)); diff --git a/src/Files.App/Dialogs/CredentialDialog.xaml b/src/Files.App/Dialogs/CredentialDialog.xaml index 5e840bdf3c1f..dc944ab7443c 100644 --- a/src/Files.App/Dialogs/CredentialDialog.xaml +++ b/src/Files.App/Dialogs/CredentialDialog.xaml @@ -10,7 +10,7 @@ CornerRadius="{StaticResource OverlayCornerRadius}" PrimaryButtonClick="ContentDialog_PrimaryButtonClick" PrimaryButtonStyle="{StaticResource AccentButtonStyle}" - PrimaryButtonText="{helpers:ResourceString Name=AskCredentialDialog/PrimaryButtonText}" + PrimaryButtonText="{helpers:ResourceString Name=OK}" RequestedTheme="{x:Bind helpers:ThemeHelper.RootTheme}" SecondaryButtonText="{helpers:ResourceString Name=Cancel}" Style="{StaticResource DefaultContentDialogStyle}" @@ -42,7 +42,7 @@ x:Name="Password" Margin="4" IsEnabled="{x:Bind ViewModel.IsAnonymous, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}" - PlaceholderText="{helpers:ResourceString Name=CredentialDialogPassword/PlaceholderText}" /> + PlaceholderText="{helpers:ResourceString Name=Password}" /> + PlaceholderText="{helpers:ResourceString Name=Password}" /> diff --git a/src/Files.App/Dialogs/FilesystemOperationDialog.xaml b/src/Files.App/Dialogs/FilesystemOperationDialog.xaml index f67d3b0bc41b..95c3c5a3a4c4 100644 --- a/src/Files.App/Dialogs/FilesystemOperationDialog.xaml +++ b/src/Files.App/Dialogs/FilesystemOperationDialog.xaml @@ -116,7 +116,7 @@ SelectedIndex="{x:Bind ConflictResolveOption, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay, Converter={StaticResource ConflictResolveOptionToIndexConverter}}"> - + @@ -180,7 +180,7 @@ - + diff --git a/src/Files.App/Filesystem/FilesystemOperations/Helpers/FilesystemHelpers.cs b/src/Files.App/Filesystem/FilesystemOperations/Helpers/FilesystemHelpers.cs index 6d07eb1fb8b3..d5f439b1733d 100644 --- a/src/Files.App/Filesystem/FilesystemOperations/Helpers/FilesystemHelpers.cs +++ b/src/Files.App/Filesystem/FilesystemOperations/Helpers/FilesystemHelpers.cs @@ -563,7 +563,7 @@ await DialogDisplayHelper.ShowDialogAsync( if (showExtensionDialog && Path.GetExtension(source.Path) != Path.GetExtension(newName)) // Only prompt user when extension has changed, not when file name has changed { - var yesSelected = await DialogDisplayHelper.ShowDialogAsync("RenameFileDialogTitle".GetLocalizedResource(), "RenameFileDialog/Text".GetLocalizedResource(), "Yes".GetLocalizedResource(), "No".GetLocalizedResource()); + var yesSelected = await DialogDisplayHelper.ShowDialogAsync("Rename".GetLocalizedResource(), "RenameFileDialog/Text".GetLocalizedResource(), "Yes".GetLocalizedResource(), "No".GetLocalizedResource()); if (yesSelected) { history = await filesystemOperations.RenameAsync(source, newName, collision, progress, cancellationToken); diff --git a/src/Files.App/Filesystem/LibraryManager.cs b/src/Files.App/Filesystem/LibraryManager.cs index b77c37f46990..d69f2644aced 100644 --- a/src/Files.App/Filesystem/LibraryManager.cs +++ b/src/Files.App/Filesystem/LibraryManager.cs @@ -302,7 +302,7 @@ public static async void ShowRestoreDefaultLibrariesDialog() { TitleText = "DialogRestoreLibrariesTitleText".GetLocalizedResource(), SubtitleText = "DialogRestoreLibrariesSubtitleText".GetLocalizedResource(), - PrimaryButtonText = "DialogRestoreLibrariesButtonText".GetLocalizedResource(), + PrimaryButtonText = "Restore".GetLocalizedResource(), CloseButtonText = "Cancel".GetLocalizedResource(), PrimaryButtonAction = async (vm, e) => { @@ -353,7 +353,7 @@ public static async void ShowCreateNewLibraryDialog() }, TitleText = "FolderWidgetCreateNewLibraryDialogTitleText".GetLocalizedResource(), SubtitleText = "SideBarCreateNewLibrary/Text".GetLocalizedResource(), - PrimaryButtonText = "DialogCreateLibraryButtonText".GetLocalizedResource(), + PrimaryButtonText = "Create".GetLocalizedResource(), CloseButtonText = "Cancel".GetLocalizedResource(), PrimaryButtonAction = async (vm, e) => { diff --git a/src/Files.App/Filesystem/ListedItem.cs b/src/Files.App/Filesystem/ListedItem.cs index 5b5428f09b38..0babb0590351 100644 --- a/src/Files.App/Filesystem/ListedItem.cs +++ b/src/Files.App/Filesystem/ListedItem.cs @@ -53,7 +53,7 @@ public string ItemTooltipText tooltipBuilder.AppendLine($"{"ToolTipDescriptionType".GetLocalizedResource()} {itemType}"); tooltipBuilder.Append($"{"ToolTipDescriptionDate".GetLocalizedResource()} {ItemDateModified}"); if(!string.IsNullOrWhiteSpace(FileSize)) - tooltipBuilder.Append($"{Environment.NewLine}{"ToolTipDescriptionSize".GetLocalizedResource()} {FileSize}"); + tooltipBuilder.Append($"{Environment.NewLine}{"SizeLabel".GetLocalizedResource()} {FileSize}"); if(SyncStatusUI.LoadSyncStatus) tooltipBuilder.Append($"{Environment.NewLine}{"syncStatusColumn/Header".GetLocalizedResource()}: {syncStatusUI.SyncStatusString}"); @@ -400,7 +400,7 @@ public override string ToString() } else if (IsLibrary) { - suffix = "LibraryItemAutomation".GetLocalizedResource(); + suffix = "Library".GetLocalizedResource(); } else { @@ -493,7 +493,7 @@ public FtpItem(FtpListItem item, string folder) : base(null) PrimaryItemAttribute = isFile ? StorageItemTypes.File : StorageItemTypes.Folder; ItemPropertiesInitialized = false; - var itemType = isFile ? "ItemTypeFile".GetLocalizedResource() : "Folder".GetLocalizedResource(); + var itemType = isFile ? "File".GetLocalizedResource() : "Folder".GetLocalizedResource(); if (isFile && Name.Contains('.', StringComparison.Ordinal)) { itemType = FileExtension.Trim('.') + " " + itemType; @@ -571,7 +571,7 @@ public LibraryItem(LibraryLocationItem library) : base(null) ItemPath = library.Path; ItemNameRaw = library.Text; PrimaryItemAttribute = StorageItemTypes.Folder; - ItemType = "ItemTypeLibrary".GetLocalizedResource(); + ItemType = "Library".GetLocalizedResource(); LoadCustomIcon = true; CustomIcon = library.Icon; //CustomIconSource = library.IconSource; diff --git a/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs b/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs index 0524e5376627..ae89c7bd3449 100644 --- a/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs +++ b/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs @@ -139,7 +139,7 @@ private static IEnumerable EnumAdsForPath(string itemPath, ListedIte public static ListedItem GetAlternateStream((string Name, long Size) ads, ListedItem main) { - string itemType = "ItemTypeFile".GetLocalizedResource(); + string itemType = "File".GetLocalizedResource(); string itemFileExtension = null; if (ads.Name.Contains('.')) { @@ -253,7 +253,7 @@ CancellationToken cancellationToken long itemSizeBytes = findData.GetSize(); var itemSize = itemSizeBytes.ToSizeString(); - string itemType = "ItemTypeFile".GetLocalizedResource(); + string itemType = "File".GetLocalizedResource(); string itemFileExtension = null; if (findData.cFileName.Contains('.')) @@ -293,7 +293,7 @@ CancellationToken cancellationToken ItemDateModifiedReal = itemModifiedDate, ItemDateAccessedReal = itemLastAccessDate, ItemDateCreatedReal = itemCreatedDate, - ItemType = "ShortcutFileType".GetLocalizedResource(), + ItemType = "Shortcut".GetLocalizedResource(), ItemPath = itemPath, FileSize = itemSize, FileSizeBytes = itemSizeBytes, @@ -322,7 +322,7 @@ CancellationToken cancellationToken ItemDateModifiedReal = itemModifiedDate, ItemDateAccessedReal = itemLastAccessDate, ItemDateCreatedReal = itemCreatedDate, - ItemType = isUrl ? "ShortcutWebLinkFileType".GetLocalizedResource() : "ShortcutFileType".GetLocalizedResource(), + ItemType = isUrl ? "ShortcutWebLinkFileType".GetLocalizedResource() : "Shortcut".GetLocalizedResource(), ItemPath = itemPath, FileSize = itemSize, FileSizeBytes = itemSizeBytes, diff --git a/src/Files.App/Filesystem/StorageItems/FtpStorageFile.cs b/src/Files.App/Filesystem/StorageItems/FtpStorageFile.cs index 1252a5930671..db9d89fdaf34 100644 --- a/src/Files.App/Filesystem/StorageItems/FtpStorageFile.cs +++ b/src/Files.App/Filesystem/StorageItems/FtpStorageFile.cs @@ -28,7 +28,7 @@ public override string DisplayType { get { - var itemType = "ItemTypeFile".GetLocalizedResource(); + var itemType = "File".GetLocalizedResource(); if (Name.Contains('.', StringComparison.Ordinal)) { itemType = IO.Path.GetExtension(Name).Trim('.') + " " + itemType; diff --git a/src/Files.App/Filesystem/StorageItems/NativeStorageFile.cs b/src/Files.App/Filesystem/StorageItems/NativeStorageFile.cs index 62d1ba2681c1..9a03140b8cc4 100644 --- a/src/Files.App/Filesystem/StorageItems/NativeStorageFile.cs +++ b/src/Files.App/Filesystem/StorageItems/NativeStorageFile.cs @@ -35,7 +35,7 @@ public override string DisplayType { get { - var itemType = "ItemTypeFile".GetLocalizedResource(); + var itemType = "File".GetLocalizedResource(); if (Name.Contains('.', StringComparison.Ordinal)) itemType = IO.Path.GetExtension(Name).Trim('.') + " " + itemType; diff --git a/src/Files.App/Filesystem/StorageItems/ZipStorageFile.cs b/src/Files.App/Filesystem/StorageItems/ZipStorageFile.cs index 3b5ff3323ae3..6af6720255a9 100644 --- a/src/Files.App/Filesystem/StorageItems/ZipStorageFile.cs +++ b/src/Files.App/Filesystem/StorageItems/ZipStorageFile.cs @@ -32,7 +32,7 @@ public override string DisplayType { get { - var itemType = "ItemTypeFile".GetLocalizedResource(); + var itemType = "File".GetLocalizedResource(); if (Name.Contains('.', StringComparison.Ordinal)) { itemType = FileType.Trim('.') + " " + itemType; diff --git a/src/Files.App/Helpers/ContextFlyoutItemHelper.cs b/src/Files.App/Helpers/ContextFlyoutItemHelper.cs index ca2ab844a6f8..34e1196bd038 100644 --- a/src/Files.App/Helpers/ContextFlyoutItemHelper.cs +++ b/src/Files.App/Helpers/ContextFlyoutItemHelper.cs @@ -100,7 +100,7 @@ public static List GetBaseItemMenuItems( { new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutLayoutMode/Text".GetLocalizedResource(), + Text = "LayoutMode".GetLocalizedResource(), Glyph = "\uE152", ShowInRecycleBin = true, ShowInSearchPage = true, @@ -139,7 +139,7 @@ public static List GetBaseItemMenuItems( // Grid view small new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutSmallIcons/Text".GetLocalizedResource(), + Text = "SmallIcons".GetLocalizedResource(), Glyph = "\uE80A", ShowInRecycleBin = true, ShowInSearchPage = true, @@ -153,7 +153,7 @@ public static List GetBaseItemMenuItems( // Grid view medium new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutMediumIcons/Text".GetLocalizedResource(), + Text = "MediumIcons".GetLocalizedResource(), Glyph = "\uF0E2", ShowInRecycleBin = true, ShowInSearchPage = true, @@ -167,7 +167,7 @@ public static List GetBaseItemMenuItems( // Grid view large new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutLargeIcons/Text".GetLocalizedResource(), + Text = "LargeIcons".GetLocalizedResource(), Glyph = "\uE739", ShowInRecycleBin = true, ShowInSearchPage = true, @@ -211,7 +211,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutSortBy/Text".GetLocalizedResource(), + Text = "SortBy".GetLocalizedResource(), ColoredIcon = new ColoredIconModel() { BaseLayerGlyph = "\uF029", @@ -258,7 +258,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutSortByType/Text".GetLocalizedResource(), + Text = "Type".GetLocalizedResource(), IsChecked = itemViewModel?.IsSortedByType ?? false, Command = itemViewModel is not null ? new RelayCommand(() => itemViewModel.IsSortedByType = true) : null!, ShowInRecycleBin = true, @@ -297,7 +297,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutSortByOriginalPath/Text".GetLocalizedResource(), + Text = "OriginalPath".GetLocalizedResource(), IsChecked = itemViewModel?.IsSortedByOriginalPath ?? false, ShowInRecycleBin = true, Command = itemViewModel is not null ? new RelayCommand(() => itemViewModel.IsSortedByOriginalPath = true) : null!, @@ -406,7 +406,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutSortByType/Text".GetLocalizedResource(), + Text = "Type".GetLocalizedResource(), IsChecked = currentInstanceViewModel.FolderSettings.DirectoryGroupOption == GroupOption.FileType, ShowInRecycleBin = true, ShowInSearchPage = true, @@ -578,7 +578,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutItemContextFlyoutRestore/Text".GetLocalizedResource(), + Text = "Restore".GetLocalizedResource(), Glyph = "\xE777", Command = commandsViewModel.RestoreItemCommand, ShowInRecycleBin = true, @@ -635,7 +635,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutItemContextFlyoutOpenFileLocation/Text".GetLocalizedResource(), + Text = "OpenFileLocation".GetLocalizedResource(), Glyph = "\uE8DA", Command = commandsViewModel.OpenFileLocationCommand, ShowItem = itemsSelected && selectedItems.All(i => i.IsShortcut), @@ -643,7 +643,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutItemContextFlyoutOpenInNewTab/Text".GetLocalizedResource(), + Text = "OpenInNewTab".GetLocalizedResource(), Glyph = "\uF113", GlyphFontFamilyName = "CustomGlyph", Command = commandsViewModel.OpenDirectoryInNewTabCommand, @@ -654,7 +654,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutItemContextFlyoutOpenInNewWindow/Text".GetLocalizedResource(), + Text = "OpenInNewWindow".GetLocalizedResource(), Glyph = "\uE737", Command = commandsViewModel.OpenInNewWindowItemCommand, ShowItem = itemsSelected && selectedItems.Count < 5 && areAllItemsFolders && userSettingsService.PreferencesSettingsService.ShowOpenInNewWindow, @@ -687,7 +687,7 @@ public static List GetBaseItemMenuItems( { new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutItemContextFlyoutSetAsDesktopBackground/Text".GetLocalizedResource(), + Text = "SetAsBackground".GetLocalizedResource(), Glyph = "\uE91B", Command = commandsViewModel.SetAsDesktopBackgroundItemCommand, ShowInSearchPage = true, @@ -739,7 +739,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutRunAsAdmin/Text".GetLocalizedResource(), + Text = "RunAsAdministrator".GetLocalizedResource(), Glyph = "\uE7EF", Command = commandsViewModel.RunAsAdminCommand, ShowInSearchPage = true, @@ -823,7 +823,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutPaste/Text".GetLocalizedResource(), + Text = "Paste".GetLocalizedResource(), //Glyph = "\uF16D", IsPrimary = true, ColoredIcon = new ColoredIconModel() @@ -872,7 +872,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutItemContextFlyoutRename/Text".GetLocalizedResource(), + Text = "Rename".GetLocalizedResource(), IsPrimary = true, ColoredIcon = new ColoredIconModel() { @@ -928,7 +928,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutItemContextFlyoutProperties/Text".GetLocalizedResource(), + Text = "Properties".GetLocalizedResource(), IsPrimary = true, ColoredIcon = new ColoredIconModel() { @@ -961,7 +961,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutUnpinFromFavorites/Text".GetLocalizedResource(), + Text = "UnpinFromFavorites".GetLocalizedResource(), Glyph = "\uE77A", Command = commandsViewModel.SidebarUnpinItemCommand, ShowItem = userSettingsService.PreferencesSettingsService.ShowFavoritesSection && selectedItems.All(x => x.PrimaryItemAttribute == StorageItemTypes.Folder && !x.IsArchive && x.IsPinned), @@ -998,7 +998,7 @@ public static List GetBaseItemMenuItems( { new ContextMenuFlyoutItemViewModel { - Text = "BaseLayoutItemContextFlyoutExtractFilesOption".GetLocalizedResource(), + Text = "ExtractFiles".GetLocalizedResource(), Glyph = "\xF11A", GlyphFontFamilyName = "CustomGlyph", Command = commandsViewModel.DecompressArchiveCommand, @@ -1007,7 +1007,7 @@ public static List GetBaseItemMenuItems( }, new ContextMenuFlyoutItemViewModel { - Text = "BaseLayoutItemContextFlyoutExtractHereOption".GetLocalizedResource(), + Text = "ExtractHere".GetLocalizedResource(), Glyph = "\xF11A", GlyphFontFamilyName = "CustomGlyph", Command = commandsViewModel.DecompressArchiveHereCommand, @@ -1115,7 +1115,7 @@ public static List GetNewItemItems(BaseLayoutCom }, new ContextMenuFlyoutItemViewModel() { - Text = "BaseLayoutContextFlyoutNewFile/Text".GetLocalizedResource(), + Text = "File".GetLocalizedResource(), Glyph = "\uE7C3", Command = commandsViewModel.CreateNewFileCommand, CommandParameter = null, diff --git a/src/Files.App/Helpers/DynamicDialogFactory.cs b/src/Files.App/Helpers/DynamicDialogFactory.cs index b9a5d3d8aee7..3cd8497e060a 100644 --- a/src/Files.App/Helpers/DynamicDialogFactory.cs +++ b/src/Files.App/Helpers/DynamicDialogFactory.cs @@ -60,7 +60,7 @@ public static DynamicDialog GetFor_RenameDialog() DynamicDialog? dialog = null; TextBox inputText = new() { - PlaceholderText = "RenameDialogInputText/PlaceholderText".GetLocalizedResource() + PlaceholderText = "EnterAnItemName".GetLocalizedResource() }; TextBlock tipText = new() @@ -90,7 +90,7 @@ public static DynamicDialog GetFor_RenameDialog() dialog = new DynamicDialog(new DynamicDialogViewModel() { - TitleText = "RenameDialog/Title".GetLocalizedResource(), + TitleText = "EnterAnItemName".GetLocalizedResource(), SubtitleText = null, DisplayControl = new Grid() { @@ -146,7 +146,7 @@ public static DynamicDialog GetFor_CredentialEntryDialog(string path) PasswordBox inputPassword = new() { - PlaceholderText = "CredentialDialogPassword/PlaceholderText".GetLocalizedResource() + PlaceholderText = "Password".GetLocalizedResource() }; CheckBox saveCreds = new() @@ -181,7 +181,7 @@ public static DynamicDialog GetFor_CredentialEntryDialog(string path) dialog = new DynamicDialog(new DynamicDialogViewModel() { TitleText = "NetworkAuthenticationDialogTitle".GetLocalizedResource(), - PrimaryButtonText = "AskCredentialDialog/PrimaryButtonText".GetLocalizedResource(), + PrimaryButtonText = "OK".GetLocalizedResource(), CloseButtonText = "Cancel".GetLocalizedResource(), SubtitleText = string.Format("NetworkAuthenticationDialogMessage".GetLocalizedResource(), path.Substring(2)), DisplayControl = new Grid() diff --git a/src/Files.App/Helpers/FilePropertiesHelpers.cs b/src/Files.App/Helpers/FilePropertiesHelpers.cs index 31cd58979e5b..64b6787abf38 100644 --- a/src/Files.App/Helpers/FilePropertiesHelpers.cs +++ b/src/Files.App/Helpers/FilePropertiesHelpers.cs @@ -77,7 +77,7 @@ public static async Task OpenPropertiesWindowAsync(object item, IShellPage assoc }; var appWindow = propertiesWindow.AppWindow; - appWindow.Title = "PropertiesTitle".GetLocalizedResource(); + appWindow.Title = "Properties".GetLocalizedResource(); appWindow.TitleBar.ExtendsContentIntoTitleBar = true; appWindow.TitleBar.ButtonBackgroundColor = Colors.Transparent; appWindow.TitleBar.ButtonInactiveBackgroundColor = Colors.Transparent; diff --git a/src/Files.App/ServicesImplementation/Settings/FileTagsSettingsService.cs b/src/Files.App/ServicesImplementation/Settings/FileTagsSettingsService.cs index bb6e3e98e555..58a9cb80fe1e 100644 --- a/src/Files.App/ServicesImplementation/Settings/FileTagsSettingsService.cs +++ b/src/Files.App/ServicesImplementation/Settings/FileTagsSettingsService.cs @@ -58,7 +58,7 @@ public TagViewModel GetTagById(string uid) if (!string.IsNullOrEmpty(uid) && tag is null) { - tag = new TagViewModel("FileTagUnknown".GetLocalizedResource(), "#9ea3a1", uid); + tag = new TagViewModel("Unknown".GetLocalizedResource(), "#9ea3a1", uid); FileTagList = FileTagList.Append(tag).ToList(); } diff --git a/src/Files.App/Strings/en-US/Resources.resw b/src/Files.App/Strings/en-US/Resources.resw index cefb5b452823..bbe64968f01b 100644 --- a/src/Files.App/Strings/en-US/Resources.resw +++ b/src/Files.App/Strings/en-US/Resources.resw @@ -117,40 +117,25 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Open in new tab - - - Open in new window - New window Copy location - - Paste - Browse - - Name - Size Created: - - Item Name - Path: - + Size: @@ -189,15 +174,12 @@ Enter a path - + Search Files you've previously accessed will show up here - - Open file location - Remove this item @@ -255,48 +237,33 @@ Downloads - - Unpin from Favorites - - - Sort by - Name - - Type - Ascending Refresh - + Paste New - - File - - + Properties Open - + Open in new tab - + Open in new window - - Set as desktop background - Share @@ -306,15 +273,9 @@ Delete - - Rename - Pin to Favorites - - Properties - Welcome to Files! @@ -324,16 +285,10 @@ 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. - - File - Display - - Enter an item name - - + Enter an item name @@ -375,9 +330,6 @@ Search (Ctrl+F) - - Properties - An item with this name already exists in this directory. @@ -390,18 +342,6 @@ Set as lockscreen background - - Large Icons - - - Medium Icons - - - Small Icons - - - OK - We weren't able to delete this item @@ -432,21 +372,12 @@ File is in use - + Layout - - Selection options - Read-only - - Hidden - - - Restore - {0} days ago @@ -489,9 +420,6 @@ The item name must not contain the following characters: \ / : * ? " < > | - - OK - The item name specified is invalid @@ -543,9 +471,6 @@ B - - Run as administrator - {0:#,##0} files, {1:#,##0} folders @@ -618,9 +543,6 @@ Shortcut type: - - File - Web link @@ -630,21 +552,12 @@ Shortcut - - Shortcut - Internet shortcut {0} - shortcut - - Open file location - - - Unknown - Files ran into a problem that the developers didn't prepare for yet. @@ -744,9 +657,6 @@ Creates an empty folder - - Layout mode - Layout mode @@ -762,7 +672,7 @@ Go up one directory - + Language @@ -1044,7 +954,7 @@ Address - + Selection options @@ -1086,18 +996,12 @@ New tab - - New tab (Ctrl+T) - - + New tab (Ctrl+T) Some properties may contain personal information. - - Clear - Clear All Properties @@ -1107,9 +1011,6 @@ Status Center - - Search - Search results in {1} for {0} @@ -1134,10 +1035,7 @@ Customize the right click context menu - - Original path - - + Original path @@ -1167,33 +1065,15 @@ Details (Ctrl+Shift+1) - - Layout - - - Layout - - - Layout - Preview - - Large Icons - Large Icons (Ctrl+Shift+5) - - Medium Icons - Medium Icons (Ctrl+Shift+4) - - Small Icons - Small Icons (Ctrl+Shift+3) @@ -1206,9 +1086,6 @@ Cloud Drives - - More options... - Export Bundles @@ -1218,12 +1095,6 @@ Bundle with the same name already exists! - - Input field cannot be empty! - - - Open in new tab - Open item location @@ -1272,7 +1143,7 @@ Item Name - + Unpin from Favorites @@ -1422,12 +1293,6 @@ Unpin from the Start Menu - - Library - - - Library - Library @@ -1437,9 +1302,6 @@ Set as default save path - - Remove - No locations @@ -1455,13 +1317,7 @@ Library with the same name already exists! - - Create - - - Open Storage Sense - - + Open Storage Sense @@ -1515,19 +1371,13 @@ ISO speed - - Open folders in new tab - Didn't find what you're looking for? Search unindexed items - - Replace existing - - + Replace existing @@ -1569,30 +1419,18 @@ Date deleted column - - Sort - - - Sort - - + Sort Group By - - Name - Date modified Original folder - - Type - Sort By @@ -1650,7 +1488,7 @@ Reopen closed tab - + Rename @@ -1818,12 +1656,6 @@ Open destination folder when complete - - Extract files - - - Extract here - Extract to {0}\ @@ -1833,9 +1665,6 @@ Restore default libraries - - Restore - Are you sure you want to restore the default libraries? All your files will remain on your storage. @@ -1875,9 +1704,6 @@ Permissions - - Type - You do not have permissions to view the security properties of this object. You can try to take ownership of this object. @@ -2004,9 +1830,6 @@ Hide {0} section - - Settings - Add file @@ -2085,12 +1908,9 @@ Open parent folder - + Unknown - - Tag - Edit tags @@ -2106,7 +1926,7 @@ Insert a disc - + OK @@ -2118,9 +1938,6 @@ Provide your credential: - - Password - UserName @@ -2160,12 +1977,9 @@ Tiles - + Open folders in new tab - - Language - Ongoing Tasks @@ -2547,7 +2361,7 @@ Restore All Items - + Restore @@ -2694,9 +2508,6 @@ View more - - Size: - But don't worry, we built a fantastic replacement that's more reliable and has more features. You can enable the File Tags widget from Settings > Preferences > Widgets. Enabling the tags widget will automatically turn off the bundles widget. diff --git a/src/Files.App/UserControls/AddressToolbar.xaml b/src/Files.App/UserControls/AddressToolbar.xaml index 225d8d087b2f..a209a798bec4 100644 --- a/src/Files.App/UserControls/AddressToolbar.xaml +++ b/src/Files.App/UserControls/AddressToolbar.xaml @@ -199,7 +199,7 @@