A Swiss Army knife for developers.
C# blazorcross-platformcsharpdesktopdesktop-appdesktop-applicationdeveloper-toolsextensiblefluentfluent-designlinuxmacosmicasyntax-highlightingtypescriptwindowswindows-10windows-11winui
Localized the app in English
Etienne Baudoux4654a152f0c1
diff --git a/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.Designer.cs b/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.Designer.csindex 5c74964a3..d31e2f7f5 100644--- a/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.Designer.cs+++ b/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.Designer.cs@@ -69,6 +69,15 @@ namespace DevToys.Blazor.BuiltInTools.Settings {}}+ /// <summary>+ /// Looks up a localized string similar to Same as the system.+ /// </summary>+ internal static string DefaultLanguage {+ get {+ return ResourceManager.GetString("DefaultLanguage", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Customize DevToys look & feel./// </summary>diff --git a/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.resx b/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.resxindex 565067b7b..2178b290c 100644--- a/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.resx+++ b/src/app/dev/DevToys.Blazor/BuiltInTools/Settings/Settings.resx@@ -120,6 +120,9 @@<data name="AccessibleName" xml:space="preserve"><value>Settings</value></data>+ <data name="DefaultLanguage" xml:space="preserve">+ <value>Same as the system</value>+ </data><data name="Description" xml:space="preserve"><value>Customize DevToys look & feel</value></data>diff --git a/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razor b/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razorindex 9694a8e8f..5705de4af 100644--- a/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razor+++ b/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razor@@ -61,7 +61,10 @@}}- @Footer+ @if (Footer is not null)+ {+ <div class="footer">@Footer</div>+ }</ScrollViewer></Container></CascadingValue>\ No newline at end of filediff --git a/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razor.scss b/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razor.scssindex df1fccf25..b11bf2c71 100644--- a/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razor.scss+++ b/src/app/dev/DevToys.Blazor/Components/Collections/GridView/GridView.razor.scss@@ -8,6 +8,11 @@margin-bottom: 24px;}+ .footer {+ margin-top: 24px;+ margin-bottom: 24px;+ }+.grid-view-group {position: relative;diff --git a/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razor b/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razorindex d2eb6c533..5d197df6b 100644--- a/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razor+++ b/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razor@@ -73,6 +73,7 @@{<div class="info-bar-button action"><Button Appearance="@(IsActionButtonAccent ? ButtonAppearance.Accent : ButtonAppearance.Neutral)"+ VerticalAlignment="UIVerticalAlignment.Center"@onclick="@OnActionButtonClicked"><TextBlock Text="@ActionButtonText" NoWrap="true"/></Button>@@ -81,12 +82,10 @@@if (IsClosable){- <!-- TODO: Localize--><div class="info-bar-button">- <Button Appearance="ButtonAppearance.Stealth"- aria-label="Close"- Height="36"- Width="36"+ <Button Class="close-button"+ Appearance="ButtonAppearance.Stealth"+ aria-label="@DevToys.Localization.Strings.InfoBar.InfoBar.CloseButtonAccessibleName"Style="padding: 0px;"@onclick="@OnCloseButtonClicked"><FontIcon Glyph="@('\uF369')" />diff --git a/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razor.scss b/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razor.scssindex b551ab146..c1b48fe38 100644--- a/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razor.scss+++ b/src/app/dev/DevToys.Blazor/Components/Feedback/InfoBar/InfoBar.razor.scss@@ -129,6 +129,11 @@&.action {margin-top: 7px;}++ .close-button {+ height: 36px;+ width: 36px;+ }}}@@ -149,7 +154,12 @@ div[data-compactmode] {margin-bottom: auto;&.action {- margin-top: 7px;+ margin-top: 3px;+ }++ .close-button {+ height: 16px;+ width: 24px;}}}diff --git a/src/app/dev/DevToys.Blazor/Components/Layout/Card/Card.razor b/src/app/dev/DevToys.Blazor/Components/Layout/Card/Card.razorindex af9fe7212..276550766 100644--- a/src/app/dev/DevToys.Blazor/Components/Layout/Card/Card.razor+++ b/src/app/dev/DevToys.Blazor/Components/Layout/Card/Card.razor@@ -48,7 +48,9 @@@if (Control is not null){<div class="card-control">- @Control+ <StackPanel VerticalAlignment="UIVerticalAlignment.Center" HorizontalAlignment="UIHorizontalAlignment.Stretch">+ @Control+ </StackPanel></div>}</div>diff --git a/src/app/dev/DevToys.Blazor/Components/Menu/NavBar/NavBar.razor b/src/app/dev/DevToys.Blazor/Components/Menu/NavBar/NavBar.razorindex 7ee3c59a3..286a95653 100644--- a/src/app/dev/DevToys.Blazor/Components/Menu/NavBar/NavBar.razor+++ b/src/app/dev/DevToys.Blazor/Components/Menu/NavBar/NavBar.razor@@ -1,6 +1,7 @@@namespace DevToys.Blazor.Components@using DevToys.Core.Tools.ViewItems;@using DevToys.Core;+@using DevToys.Localization.Strings.MainWindow;@inherits JSStyledComponentBase@typeparam TElement@@ -34,8 +35,8 @@MarginLeft="5"IsEnabled="@CanGoBack"IsVisible="@(!WindowService.IsCompactOverlayMode)"- title="Back"- aria-label="Back"+ title="@MainWindow.Back"+ aria-label="@MainWindow.Back"@onclick="OnBackButtonClicked"><FontIcon Glyph="@('\uF15B')" /></Button>@@ -48,8 +49,8 @@MarginBottom="0"MarginLeft="0"IsVisible="@(_sidebarState.IsHidden && !WindowService.IsCompactOverlayMode)"- title="Toggle Navigation"- aria-label="Toggle Navigation"+ title="@MainWindow.ToggleNavigation"+ aria-label="@MainWindow.ToggleNavigation"aria-controls="@NavId"aria-expanded="@_sidebarState.IsCollapsed"@onclick="OnToggleSidebarClick">@@ -70,7 +71,6 @@<!-- Sidebar --><nav id="@NavId" class="@(_sidebarState.NavBarClassNames)"><div class="sidebar-header">- @* TODO: Localize *@<Button Appearance="ButtonAppearance.Stealth"Class="nav-bar-button-icon"HorizontalAlignment="UIHorizontalAlignment.Left"@@ -81,8 +81,8 @@MarginBottom="0"MarginLeft="5"IsVisible="@(!_sidebarState.IsHidden)"- title="Toggle Navigation"- aria-label="Toggle Navigation"+ title="@MainWindow.ToggleNavigation"+ aria-label="@MainWindow.ToggleNavigation"aria-controls="@NavId"aria-expanded="@_sidebarState.IsCollapsed"@onclick="OnToggleSidebarClick">@@ -99,8 +99,8 @@MarginBottom="8"MarginLeft="5"IsVisible="@_sidebarState.IsCollapsed"- title="Click to search"- aria-label="Search"+ title="@MainWindow.SearchButtonTootip"+ aria-label="@MainWindow.SearchButtonAccessibleName"@onclick="OnSearchButtonClick"><FontIcon Glyph="@('\uF68F')" /></Button>diff --git a/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razor b/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razorindex 88bda8dd4..b2c329712 100644--- a/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razor+++ b/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razor@@ -56,8 +56,8 @@<Button Appearance="ButtonAppearance.Stealth"Class="text-box-clear-button"HorizontalAlignment="UIHorizontalAlignment.Right"- title="Clear"- aria-label="Clear"+ title="@DevToys.Localization.Strings.TextBox.TextBox.Clear"+ aria-label="@DevToys.Localization.Strings.TextBox.TextBox.Clear"@onclick="OnClearClick"><FontIcon Glyph="@('\uF369')" /></Button>@@ -67,15 +67,15 @@{<Button Appearance="ButtonAppearance.Stealth"HorizontalAlignment="UIHorizontalAlignment.Right"- title="Increase"- aria-label="Increase"+ title="@DevToys.Localization.Strings.TextBox.TextBox.Increase"+ aria-label="@DevToys.Localization.Strings.TextBox.TextBox.Increase"@onclick="OnIncreaseClickAsync"><FontIcon Glyph="@('\uF2B6')" /></Button><Button Appearance="ButtonAppearance.Stealth"HorizontalAlignment="UIHorizontalAlignment.Right"- title="Decrease"- aria-label="Decrease"+ title="@DevToys.Localization.Strings.TextBox.TextBox.Decrease"+ aria-label="@DevToys.Localization.Strings.TextBox.TextBox.Decrease"@onclick="OnDecreaseClickAsync"><FontIcon Glyph="@('\uF2A3')" /></Button>diff --git a/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razor.cs b/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razor.csindex f32672c2c..9f0a4ccc9 100644--- a/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razor.cs+++ b/src/app/dev/DevToys.Blazor/Components/Text/TextBox/TextBox.razor.cs@@ -9,27 +9,27 @@ public partial class TextBox : MefComponentBase, IFocusable= new(){IconGlyph = '\uF33A',- Text = "Cut", // TODO: Localize+ Text = DevToys.Localization.Strings.TextBox.TextBox.Cut,KeyboardShortcut = "Ctrl+X"};private static readonly ContextMenuItem CopyContextMenuItem= new(){IconGlyph = '\uF32B',- Text = "Copy", // TODO: Localize+ Text = DevToys.Localization.Strings.TextBox.TextBox.Copy,KeyboardShortcut = "Ctrl+C"};private static readonly ContextMenuItem PasteContextMenuItem= new(){IconGlyph = '\uF2D5',- Text = "Paste", // TODO: Localize+ Text = DevToys.Localization.Strings.TextBox.TextBox.Paste,KeyboardShortcut = "Ctrl+V"};private static readonly ContextMenuItem SelectAllContextMenuItem= new(){- Text = "Select All", // TODO: Localize+ Text = DevToys.Localization.Strings.TextBox.TextBox.SelectAll,KeyboardShortcut = "Ctrl+A"};diff --git a/src/app/dev/DevToys.Blazor/Components/UIElements/UIDiffTextInputPresenter.razor b/src/app/dev/DevToys.Blazor/Components/UIElements/UIDiffTextInputPresenter.razorindex a476fcbfb..e6ea7590f 100644--- a/src/app/dev/DevToys.Blazor/Components/UIElements/UIDiffTextInputPresenter.razor+++ b/src/app/dev/DevToys.Blazor/Components/UIElements/UIDiffTextInputPresenter.razor@@ -2,7 +2,6 @@@using DevToys.Api;@inherits JSStyledComponentBase-<!-- TODO: Localize --><Grid id="@ExtendedId"Class="ui-text-input-wrapper"IsVisible="@UIDiffTextInput.IsVisible"@@ -41,7 +40,7 @@<StackPanel Wrap="false">@if (@UIDiffTextInput.IsExtendableToFullScreen){- <Button ToolTip="@(_isInFullScreenMode ? "Shrink" : "Extend")"+ <Button ToolTip="@(_isInFullScreenMode ? DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.ShrinkButtonToolTip : DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.ExtendButtonToolTip)"@onclick="@OnToggleFullScreenButtonClickAsync"><FontIcon Glyph="@(_isInFullScreenMode ? '\uF165' : '\uF15F')" /></Button>diff --git a/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razor b/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razorindex 95ec2075d..ef00ed560 100644--- a/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razor+++ b/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razor@@ -2,7 +2,6 @@@using DevToys.Api;@inherits MefComponentBase-<!-- TODO: Localize --><Container id="@ExtendedId"IsVisible="@UIFileSelector.IsVisible"IsEnabled="@(UIFileSelector.IsEnabled && IsActuallyEnabled)"@@ -29,7 +28,7 @@<TextBlock HorizontalAlignment="UIHorizontalAlignment.Center"NoWrap="true"- Text="or" />+ Text="@DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.Or" /><StackPanel HorizontalAlignment="UIHorizontalAlignment.Center"Spacing="6"@@ -37,7 +36,7 @@<Button VerticalAlignment="UIVerticalAlignment.Center"Appearance="ButtonAppearance.Hyperlink"@onclick="@OnBrowseFilesButtonClickAsync">- <TextBlock Text="Browse files" />+ <TextBlock Text="@DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.BrowseFiles" /></Button>@if (@UIFileSelector.CanSelectManyFiles)@@ -47,7 +46,7 @@<Button VerticalAlignment="UIVerticalAlignment.Center"Appearance="ButtonAppearance.Hyperlink"@onclick="@OnBrowseFoldersButtonClickAsync">- <TextBlock Text="Browse folders" />+ <TextBlock Text="@DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.BrowserFolders" /></Button>}@@ -56,7 +55,7 @@<Button VerticalAlignment="UIVerticalAlignment.Center"Appearance="ButtonAppearance.Hyperlink"@onclick="@OnPasteButtonClickAsync">- <TextBlock Text="Paste" />+ <TextBlock Text="@DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.Paste" /></Button></StackPanel>diff --git a/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razor.cs b/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razor.csindex 9227d4a91..b34fe37f9 100644--- a/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razor.cs+++ b/src/app/dev/DevToys.Blazor/Components/UIElements/UIFileSelectorPresenter.razor.cs@@ -199,7 +199,6 @@ public partial class UIFileSelectorPresenter : MefComponentBasereturn UIFileSelector.AllowedFileExtensions.Select(fileType => fileType.Trim('*').Trim('.').ToLower()).ToArray();}- // TODO: Localizeprivate void UpdateInstructionStrings(){string[] allowedFileExtensions = GetTreatedFileExtensions();@@ -210,11 +209,11 @@ public partial class UIFileSelectorPresenter : MefComponentBase{if (UIFileSelector.CanSelectManyFiles){- DragDropInstructions = "Drag & drop any files here"; // FileSelectorDragDropAnyFiles+ DragDropInstructions = DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorDragDropAnyFiles;}else{- DragDropInstructions = "Drag & drop any file here"; // FileSelectorDragDropAnyFile+ DragDropInstructions = DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorDragDropAnyFile;}}else if (allowedFileExtensions.Length == 1)@@ -228,20 +227,20 @@ public partial class UIFileSelectorPresenter : MefComponentBase{DragDropInstructions= string.Format(- "Drag & drop any {0} files here", // FileSelectorDragDropAnySpecificFiles+ DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorDragDropAnySpecificFiles,extensionsString);}else{DragDropInstructions= string.Format(- "Drag & drop a {0} file here", // FileSelectorDragDropAnySpecificFile+ DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorDragDropAnySpecificFile,extensionsString);}HasInvalidFilesSelectedIndication= string.Format(- "Only {0} file(s) can be used.", // FileSelectorInvalidSelectedFiles+ DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorInvalidSelectedFiles,extensionsString);}else@@ -255,20 +254,20 @@ public partial class UIFileSelectorPresenter : MefComponentBase{DragDropInstructions= string.Format(- "Drag & drop any {0} files here", // FileSelectorDragDropAnySpecificFiles+ DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorDragDropAnySpecificFiles,extensionsString);}else{DragDropInstructions= string.Format(- "Drag & drop a {0} file here", // FileSelectorDragDropAnySpecificFile+ DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorDragDropAnySpecificFile,extensionsString);}HasInvalidFilesSelectedIndication= string.Format(- "Only {0} file(s) can be used.", // FileSelectorInvalidSelectedFiles+ DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter.FileSelectorInvalidSelectedFiles,extensionsString);}}diff --git a/src/app/dev/DevToys.Blazor/Components/UIElements/UISwitchPresenter.razor b/src/app/dev/DevToys.Blazor/Components/UIElements/UISwitchPresenter.razorindex 61e4e8d57..bf4dd54dd 100644--- a/src/app/dev/DevToys.Blazor/Components/UIElements/UISwitchPresenter.razor+++ b/src/app/dev/DevToys.Blazor/Components/UIElements/UISwitchPresenter.razor@@ -2,12 +2,11 @@@using DevToys.Api;@inherits ComponentBase-<!-- TODO: Localize --><ToggleSwitch id="@UISwitch.Id"IsVisible="@UISwitch.IsVisible"IsEnabled="@UISwitch.IsEnabled"HorizontalAlignment="@UISwitch.HorizontalAlignment"VerticalAlignment="@UISwitch.VerticalAlignment"- Text="@(UISwitch.IsOn ? (UISwitch.OnText ?? "On") : (UISwitch.OffText ?? "Off"))"+ Text="@(UISwitch.IsOn ? (UISwitch.OnText ?? DevToys.Localization.Strings.ToggleSwitch.ToggleSwitch.On) : (UISwitch.OffText ?? DevToys.Localization.Strings.ToggleSwitch.ToggleSwitch.Off))"IsOn="@UISwitch.IsOn"OnCheckedChanged="@OnCheckedChanged"/>\ No newline at end of filediff --git a/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razor b/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razorindex 110d19582..dc869108e 100644--- a/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razor+++ b/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razor@@ -2,7 +2,6 @@@using DevToys.Api;@inherits MefComponentBase-<!-- TODO: Localize --><CascadingValue Name="ParentIsEnabled" Value="@IsActuallyEnabled"><Grid id="@ExtendedId"Class="ui-text-input-wrapper"@@ -53,15 +52,15 @@<Button @onclick="@OnPasteButtonClickAsync"><StackPanel><FontIcon Glyph="@('\uF2D5')" />- <TextBlock Text="Paste"+ <TextBlock Text="@DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.PasteButonText"IsVisible="@(!_isToolBarShrink)" /></StackPanel></Button>- <Button ToolTip="Load a file"+ <Button ToolTip="@DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.LoadFileButtonText"@onclick="@OnLoadFileButtonClickAsync"><FontIcon Glyph="@('\uF378')" /></Button>- <Button ToolTip="Clear"+ <Button ToolTip="@DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.ClearButtonText"@onclick="@OnClearButtonClickAsync"><FontIcon Glyph="@('\uF369')" /></Button>@@ -74,14 +73,14 @@@if (UITextInput.IsReadOnly || UITextInput.CanCopyWhenEditable){- <Button ToolTip="Save as..."+ <Button ToolTip="@DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.SaveAsButtonText"@onclick="@OnSaveAsButtonClickAsync"><FontIcon Glyph="@('\uF67F')" /></Button><Button @onclick="@OnCopyButtonClick"><StackPanel><FontIcon Glyph="@('\uF32B')" />- <TextBlock Text="Copy"+ <TextBlock Text="@DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.CopyButtonText"IsVisible="@(!_isToolBarShrink)" /></StackPanel></Button>@@ -89,7 +88,7 @@}else{- <DropDownButton ToolTip="More..."+ <DropDownButton ToolTip="@DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.MoreButtonToolTip"Items="@CollapsedDropDownListItems"AnchorOrigin="Origin.BottomRight"TransformOrigin="Origin.TopRight"@@ -101,7 +100,7 @@@if (IsExtendableToFullScreen){<div class="ui-text-input-wrapper-separator"></div>- <Button ToolTip="@(_isInFullScreenMode ? "Shrink" : "Extend")"+ <Button ToolTip="@(_isInFullScreenMode ? DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.ShrinkButtonToolTip : DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.ExtendButtonToolTip)"@onclick="@OnToggleFullScreenButtonClickAsync"><FontIcon Glyph="@(_isInFullScreenMode ? '\uF165' : '\uF15F')" /></Button>@@ -110,7 +109,7 @@@if (UITextInput.IsReadOnly){<div class="ui-text-input-wrapper-separator"></div>- <DropDownButton ToolTip="Transfer to another tool"+ <DropDownButton ToolTip="@DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.SmartDetectionTooltip"Items="@SmartDetectionDropDownItems"AnchorOrigin="Origin.BottomRight"TransformOrigin="Origin.TopRight">diff --git a/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razor.cs b/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razor.csindex 5ce18960d..15f01bf0e 100644--- a/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razor.cs+++ b/src/app/dev/DevToys.Blazor/Components/UIElements/UITextInputWrapper.razor.cs@@ -383,7 +383,7 @@ public partial class UITextInputWrapper : MefComponentBasevar noToolDetectedMenuItem = new SmartDetectionDropDownListItem{- Text = "No tool to suggest",+ Text = DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.NoToolSuggested,IsEnabled = false};@@ -406,7 +406,6 @@ public partial class UITextInputWrapper : MefComponentBaseprivate void BuildCollapsedMenu(){- // TODO: LocalizeCollapsedDropDownListItems.Clear();if (!UITextInput.IsReadOnly)@@ -414,19 +413,19 @@ public partial class UITextInputWrapper : MefComponentBaseCollapsedDropDownListItems.Add(new DropDownListItem{IconGlyph = '\uF2D5',- Text = "Paste",+ Text = DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.PasteButonText,OnClick = EventCallback.Factory.Create<DropDownListItem>(this, OnPasteButtonClickAsync)});CollapsedDropDownListItems.Add(new DropDownListItem{IconGlyph = '\uF378',- Text = "Load a file",+ Text = DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.LoadFileButtonText,OnClick = EventCallback.Factory.Create<DropDownListItem>(this, OnLoadFileButtonClickAsync)});CollapsedDropDownListItems.Add(new DropDownListItem{IconGlyph = '\uF369',- Text = "Clear",+ Text = DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.ClearButtonText,OnClick = EventCallback.Factory.Create<DropDownListItem>(this, OnClearButtonClickAsync)});}@@ -436,13 +435,13 @@ public partial class UITextInputWrapper : MefComponentBaseCollapsedDropDownListItems.Add(new DropDownListItem{IconGlyph = '\uF67F',- Text = "Save as...",+ Text = DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.SaveAsButtonText,OnClick = EventCallback.Factory.Create<DropDownListItem>(this, OnSaveAsButtonClickAsync)});CollapsedDropDownListItems.Add(new DropDownListItem{IconGlyph = '\uF32B',- Text = "Copy",+ Text = DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper.CopyButtonText,OnClick = EventCallback.Factory.Create<DropDownListItem>(this, OnCopyButtonClick)});}diff --git a/src/app/dev/DevToys.Blazor/Core/Languages/LanguageDefinition.cs b/src/app/dev/DevToys.Blazor/Core/Languages/LanguageDefinition.csindex 74d7978e6..769e4a3bc 100644--- a/src/app/dev/DevToys.Blazor/Core/Languages/LanguageDefinition.cs+++ b/src/app/dev/DevToys.Blazor/Core/Languages/LanguageDefinition.cs@@ -1,4 +1,5 @@using System.Globalization;+using DevToys.Blazor.BuiltInTools.Settings;namespace DevToys.Blazor.Core.Languages;@@ -37,7 +38,7 @@ public class LanguageDefinitionif (string.IsNullOrEmpty(identifier)){Culture = CultureInfo.CurrentUICulture;- DisplayName = Localization.Strings.Settings.Settings.DefaultLanguage;+ DisplayName = Settings.DefaultLanguage;InternalName = "default";}elsediff --git a/src/app/dev/DevToys.Blazor/Pages/Index.razor b/src/app/dev/DevToys.Blazor/Pages/Index.razorindex efa1a6560..6d1b895a0 100644--- a/src/app/dev/DevToys.Blazor/Pages/Index.razor+++ b/src/app/dev/DevToys.Blazor/Pages/Index.razor@@ -3,6 +3,7 @@@using DevToys.Blazor.Pages.SubPages@using DevToys.Core.Tools.ViewItems;@using DevToys.Core.Tools;+@using DevToys.Localization.Strings.MainWindow;@namespace DevToys.Blazor.Pages@inherits MefComponentBase@@ -16,7 +17,6 @@OnClick="ContextMenuService.OnCloseContextMenuRequested" /><!-- Navigation View -->- <!-- TODO: Localize --><NavBar @ref=_navBarTElement="INotifyPropertyChanged"TSearchElement="GuiToolViewItem"@@ -26,7 +26,7 @@@bind-SelectedItem="ViewModel.SelectedMenuItem"OnBackButtonClicked="OnBackButtonClicked"OnHiddenStateChanged="OnHiddenStateChanged"- SearchBarPlaceholder="Type to search for tools..."+ SearchBarPlaceholder="@MainWindow.Search"SearchQueryChanged="OnSearchQueryChanged"SearchQuerySubmitted="OnSearchQuerySubmitted"SearchResultItems="ViewModel.SearchResults"@@ -35,7 +35,7 @@<HeaderLeft>@if (ViewModel.SelectedMenuItem is GuiToolViewItem guiToolViewItem && WindowService.IsCompactOverlayMode){- TitleBarInfoProvider.Title = "DevToys - " + guiToolViewItem.ToolInstance.LongOrShortDisplayTitle;+ TitleBarInfoProvider.Title = string.Format(MainWindow.WindowTitleWithToolName, guiToolViewItem.ToolInstance.LongOrShortDisplayTitle);if (OperatingSystem.IsWindows()){<TextBlock Text="@TitleBarInfoProvider.Title"@@ -45,7 +45,7 @@}else{- TitleBarInfoProvider.Title = "DevToys";+ TitleBarInfoProvider.Title = MainWindow.WindowTitle;if (OperatingSystem.IsWindows()){<TextBlock Text="@TitleBarInfoProvider.Title"@@ -67,7 +67,7 @@Height="32"IsEnabled="@compactOverlayModeAllowed"IsVisible="@WindowService.IsCompactOverlayModeSupportedByPlatform"- ToolTip="@(WindowService.IsCompactOverlayMode ? "Back to full view" : "Keep on top")"+ ToolTip="@(WindowService.IsCompactOverlayMode ? MainWindow.PictureInPictureExpand : MainWindow.PictureInPictureContract)"@onclick="@OnToggleCompactOverlayModeButtonClick"><FontIcon Glyph="@(WindowService.IsCompactOverlayMode ? '\uF42C' : '\uF364')"Rotation="@(WindowService.IsCompactOverlayMode ? -90 : 180)"/>diff --git a/src/app/dev/DevToys.Blazor/Pages/Index.razor.cs b/src/app/dev/DevToys.Blazor/Pages/Index.razor.csindex 31de00f4a..780a01be0 100644--- a/src/app/dev/DevToys.Blazor/Pages/Index.razor.cs+++ b/src/app/dev/DevToys.Blazor/Pages/Index.razor.cs@@ -136,7 +136,7 @@ public partial class Index : MefComponentBaseprivate void OnMouseUp(MouseEventArgs ev){- if (ev.Buttons == 3)+ if (ev.Button == 3){if (ViewModel.CanGoBack){diff --git a/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razorindex f227cd61c..78f1b938e 100644--- a/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor+++ b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor@@ -1,4 +1,5 @@@namespace DevToys.Blazor.Pages.SubPages+@using DevToys.Localization.Strings.ToolGroupPage;@inherits MefComponentBase<GridView Class="entrance-theme-transition tool-group-grid-view"@@ -37,4 +38,16 @@</div></div></ItemTemplate>+ <Footer>+ @if (ViewModel.DisplayFooter)+ {+ <InfoBar Severity="InfoBarSeverity.Informational"+ IsClosable="false"+ IsOpened="true"+ Title="@ToolGroupPage.NotFindingTool"+ Message="@ToolGroupPage.NotFindingToolOpenFeatureRequest"+ ActionButtonText="@ToolGroupPage.NotFindingToolSuggestIdea"+ ActionButtonClicked="@OnSuggestToolIdeaClick" />+ }+ </Footer></GridView>\ No newline at end of filediff --git a/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.cs b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.csindex b935bede9..b081b430b 100644--- a/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.cs+++ b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.cs@@ -2,6 +2,7 @@using DevToys.Core.Tools;using DevToys.Core.Tools.ViewItems;using DevToys.Blazor.Components;+using System.Runtime.InteropServices;namespace DevToys.Blazor.Pages.SubPages;@@ -33,4 +34,34 @@ public partial class ToolGroup : MefComponentBase{// TODO}++ private void OnSuggestToolIdeaClick()+ {+ string url = "https://github.com/veler/DevToys/issues/new/choose";+ try+ {+ Process.Start(url);+ }+ catch+ {+ // hack because of this: https://github.com/dotnet/corefx/issues/10361+ if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))+ {+ url = url.Replace("&", "^&");+ Process.Start(new ProcessStartInfo(url) { UseShellExecute = true });+ }+ else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))+ {+ Process.Start("xdg-open", url);+ }+ else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))+ {+ Process.Start("open", url);+ }+ else+ {+ throw;+ }+ }+ }}diff --git a/src/app/dev/DevToys.Localization/DevToys.Localization.csproj b/src/app/dev/DevToys.Localization/DevToys.Localization.csprojindex 42784f72b..469f86f22 100644--- a/src/app/dev/DevToys.Localization/DevToys.Localization.csproj+++ b/src/app/dev/DevToys.Localization/DevToys.Localization.csproj@@ -16,15 +16,25 @@<PackageReference Include="System.ComponentModel.Composition" /></ItemGroup><ItemGroup>+ <Compile Update="Strings\InfoBar\InfoBar.Designer.cs">+ <DesignTime>True</DesignTime>+ <AutoGen>True</AutoGen>+ <DependentUpon>InfoBar.resx</DependentUpon>+ </Compile><Compile Update="Strings\MainWindow\MainWindow.Designer.cs"><DesignTime>True</DesignTime><AutoGen>True</AutoGen><DependentUpon>MainWindow.resx</DependentUpon></Compile>- <Compile Update="Strings\Settings\Settings.Designer.cs">+ <Compile Update="Strings\TextBox\TextBox.Designer.cs"><DesignTime>True</DesignTime><AutoGen>True</AutoGen>- <DependentUpon>Settings.resx</DependentUpon>+ <DependentUpon>TextBox.resx</DependentUpon>+ </Compile>+ <Compile Update="Strings\ToggleSwitch\ToggleSwitch.Designer.cs">+ <DesignTime>True</DesignTime>+ <AutoGen>True</AutoGen>+ <DependentUpon>ToggleSwitch.resx</DependentUpon></Compile><Compile Update="Strings\ToolGroupPage\ToolGroupPage.Designer.cs"><DesignTime>True</DesignTime>@@ -36,6 +46,16 @@<AutoGen>True</AutoGen><DependentUpon>ToolPage.resx</DependentUpon></Compile>+ <Compile Update="Strings\UIFileSelectorPresenter\UIFileSelectorPresenter.Designer.cs">+ <DesignTime>True</DesignTime>+ <AutoGen>True</AutoGen>+ <DependentUpon>UIFileSelectorPresenter.resx</DependentUpon>+ </Compile>+ <Compile Update="Strings\UITextInputWrapper\UITextInputWrapper.Designer.cs">+ <DesignTime>True</DesignTime>+ <AutoGen>True</AutoGen>+ <DependentUpon>UITextInputWrapper.resx</DependentUpon>+ </Compile></ItemGroup><ItemGroup><EmbeddedResource Update="**\*.resx" />@@ -47,4 +67,10 @@<ItemGroup><ProjectReference Include="..\DevToys.Api\DevToys.Api.csproj" /></ItemGroup>+ <ItemGroup>+ <AdditionalFiles Update="Strings\UIFileSelectorPresenter\UIFileSelectorPresenter.resx">+ <Generator>PublicResXFileCodeGenerator</Generator>+ <LastGenOutput>UIFileSelectorPresenter.Designer.cs</LastGenOutput>+ </AdditionalFiles>+ </ItemGroup></Project>\ No newline at end of filediff --git a/src/app/dev/DevToys.Localization/Strings/Settings/Settings.Designer.cs b/src/app/dev/DevToys.Localization/Strings/InfoBar/InfoBar.Designer.cssimilarity index 87%rename from src/app/dev/DevToys.Localization/Strings/Settings/Settings.Designer.csrename to src/app/dev/DevToys.Localization/Strings/InfoBar/InfoBar.Designer.csindex bb1eebc42..2f15303f6 100644--- a/src/app/dev/DevToys.Localization/Strings/Settings/Settings.Designer.cs+++ b/src/app/dev/DevToys.Localization/Strings/InfoBar/InfoBar.Designer.cs@@ -8,7 +8,7 @@// </auto-generated>//-------------------------------------------------------------------------------namespace DevToys.Localization.Strings.Settings {+namespace DevToys.Localization.Strings.InfoBar {using System;@@ -22,14 +22,14 @@ namespace DevToys.Localization.Strings.Settings {[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")][global::System.Diagnostics.DebuggerNonUserCodeAttribute()][global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]- public class Settings {+ public class InfoBar {private static global::System.Resources.ResourceManager resourceMan;private static global::System.Globalization.CultureInfo resourceCulture;[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]- internal Settings() {+ internal InfoBar() {}/// <summary>@@ -39,7 +39,7 @@ namespace DevToys.Localization.Strings.Settings {public static global::System.Resources.ResourceManager ResourceManager {get {if (object.ReferenceEquals(resourceMan, null)) {- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Localization.Strings.Settings.Settings", typeof(Settings).Assembly);+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Localization.Strings.InfoBar.InfoBar", typeof(InfoBar).Assembly);resourceMan = temp;}return resourceMan;@@ -61,11 +61,11 @@ namespace DevToys.Localization.Strings.Settings {}/// <summary>- /// Looks up a localized string similar to Same as the system.+ /// Looks up a localized string similar to Close info bar./// </summary>- public static string DefaultLanguage {+ public static string CloseButtonAccessibleName {get {- return ResourceManager.GetString("DefaultLanguage", resourceCulture);+ return ResourceManager.GetString("CloseButtonAccessibleName", resourceCulture);}}}diff --git a/src/app/dev/DevToys.Localization/Strings/InfoBar/InfoBar.resx b/src/app/dev/DevToys.Localization/Strings/InfoBar/InfoBar.resxnew file mode 100644index 000000000..46ba3948d--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/InfoBar/InfoBar.resx@@ -0,0 +1,123 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="CloseButtonAccessibleName" xml:space="preserve">+ <value>Close info bar</value>+ </data>+</root>\ No newline at end of filediff --git a/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.Designer.cs b/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.Designer.csindex 5afa6583d..7df44e982 100644--- a/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.Designer.cs+++ b/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.Designer.cs@@ -78,6 +78,15 @@ namespace DevToys.Localization.Strings.MainWindow {}}+ /// <summary>+ /// Looks up a localized string similar to Back.+ /// </summary>+ public static string Back {+ get {+ return ResourceManager.GetString("Back", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Favorite tools./// </summary>@@ -96,6 +105,24 @@ namespace DevToys.Localization.Strings.MainWindow {}}+ /// <summary>+ /// Looks up a localized string similar to Keep on top.+ /// </summary>+ public static string PictureInPictureContract {+ get {+ return ResourceManager.GetString("PictureInPictureContract", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Back to full view.+ /// </summary>+ public static string PictureInPictureExpand {+ get {+ return ResourceManager.GetString("PictureInPictureExpand", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Recents./// </summary>@@ -114,6 +141,24 @@ namespace DevToys.Localization.Strings.MainWindow {}}+ /// <summary>+ /// Looks up a localized string similar to Search.+ /// </summary>+ public static string SearchButtonAccessibleName {+ get {+ return ResourceManager.GetString("SearchButtonAccessibleName", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Click to search.+ /// </summary>+ public static string SearchButtonTootip {+ get {+ return ResourceManager.GetString("SearchButtonTootip", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to No results found./// </summary>@@ -123,6 +168,15 @@ namespace DevToys.Localization.Strings.MainWindow {}}+ /// <summary>+ /// Looks up a localized string similar to Toggle Navigation.+ /// </summary>+ public static string ToggleNavigation {+ get {+ return ResourceManager.GetString("ToggleNavigation", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to DevToys./// </summary>diff --git a/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.resx b/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.resxindex 0e617b255..a9da175b3 100644--- a/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.resx+++ b/src/app/dev/DevToys.Localization/Strings/MainWindow/MainWindow.resx@@ -123,21 +123,39 @@<data name="AllToolsDisplayTitle" xml:space="preserve"><value>All tools</value></data>+ <data name="Back" xml:space="preserve">+ <value>Back</value>+ </data><data name="FavoriteToolsAccessibleName" xml:space="preserve"><value>Favorite tools</value></data><data name="FavoriteToolsDisplayTitle" xml:space="preserve"><value>Favorites</value></data>+ <data name="PictureInPictureContract" xml:space="preserve">+ <value>Keep on top</value>+ </data>+ <data name="PictureInPictureExpand" xml:space="preserve">+ <value>Back to full view</value>+ </data><data name="RecentToolsDisplayTitle" xml:space="preserve"><value>Recents</value></data><data name="Search" xml:space="preserve"><value>Type to search for tools...</value></data>+ <data name="SearchButtonAccessibleName" xml:space="preserve">+ <value>Search</value>+ </data>+ <data name="SearchButtonTootip" xml:space="preserve">+ <value>Click to search</value>+ </data><data name="SearchNoResultsFound" xml:space="preserve"><value>No results found</value></data>+ <data name="ToggleNavigation" xml:space="preserve">+ <value>Toggle Navigation</value>+ </data><data name="WindowTitle" xml:space="preserve"><value>DevToys</value></data>diff --git a/src/app/dev/DevToys.Localization/Strings/TextBox/TextBox.Designer.cs b/src/app/dev/DevToys.Localization/Strings/TextBox/TextBox.Designer.csnew file mode 100644index 000000000..8c7ac4d67--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/TextBox/TextBox.Designer.cs@@ -0,0 +1,126 @@+//------------------------------------------------------------------------------+// <auto-generated>+// This code was generated by a tool.+// Runtime Version:4.0.30319.42000+//+// Changes to this file may cause incorrect behavior and will be lost if+// the code is regenerated.+// </auto-generated>+//------------------------------------------------------------------------------++namespace DevToys.Localization.Strings.TextBox {+ using System;+++ /// <summary>+ /// A strongly-typed resource class, for looking up localized strings, etc.+ /// </summary>+ // This class was auto-generated by the StronglyTypedResourceBuilder+ // class via a tool like ResGen or Visual Studio.+ // To add or remove a member, edit your .ResX file then rerun ResGen+ // with the /str option, or rebuild your VS project.+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]+ public class TextBox {++ private static global::System.Resources.ResourceManager resourceMan;++ private static global::System.Globalization.CultureInfo resourceCulture;++ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]+ internal TextBox() {+ }++ /// <summary>+ /// Returns the cached ResourceManager instance used by this class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Resources.ResourceManager ResourceManager {+ get {+ if (object.ReferenceEquals(resourceMan, null)) {+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Localization.Strings.TextBox.TextBox", typeof(TextBox).Assembly);+ resourceMan = temp;+ }+ return resourceMan;+ }+ }++ /// <summary>+ /// Overrides the current thread's CurrentUICulture property for all+ /// resource lookups using this strongly typed resource class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Globalization.CultureInfo Culture {+ get {+ return resourceCulture;+ }+ set {+ resourceCulture = value;+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Clear.+ /// </summary>+ public static string Clear {+ get {+ return ResourceManager.GetString("Clear", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Copy.+ /// </summary>+ public static string Copy {+ get {+ return ResourceManager.GetString("Copy", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Cut.+ /// </summary>+ public static string Cut {+ get {+ return ResourceManager.GetString("Cut", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Decrease.+ /// </summary>+ public static string Decrease {+ get {+ return ResourceManager.GetString("Decrease", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Increase.+ /// </summary>+ public static string Increase {+ get {+ return ResourceManager.GetString("Increase", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Paste.+ /// </summary>+ public static string Paste {+ get {+ return ResourceManager.GetString("Paste", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Select All.+ /// </summary>+ public static string SelectAll {+ get {+ return ResourceManager.GetString("SelectAll", resourceCulture);+ }+ }+ }+}diff --git a/src/app/dev/DevToys.Localization/Strings/TextBox/TextBox.resx b/src/app/dev/DevToys.Localization/Strings/TextBox/TextBox.resxnew file mode 100644index 000000000..87bcf48b6--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/TextBox/TextBox.resx@@ -0,0 +1,141 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="Clear" xml:space="preserve">+ <value>Clear</value>+ </data>+ <data name="Copy" xml:space="preserve">+ <value>Copy</value>+ </data>+ <data name="Cut" xml:space="preserve">+ <value>Cut</value>+ </data>+ <data name="Decrease" xml:space="preserve">+ <value>Decrease</value>+ </data>+ <data name="Increase" xml:space="preserve">+ <value>Increase</value>+ </data>+ <data name="Paste" xml:space="preserve">+ <value>Paste</value>+ </data>+ <data name="SelectAll" xml:space="preserve">+ <value>Select All</value>+ </data>+</root>\ No newline at end of filediff --git a/src/app/dev/DevToys.Localization/Strings/ToggleSwitch/ToggleSwitch.Designer.cs b/src/app/dev/DevToys.Localization/Strings/ToggleSwitch/ToggleSwitch.Designer.csnew file mode 100644index 000000000..49cac15fe--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/ToggleSwitch/ToggleSwitch.Designer.cs@@ -0,0 +1,81 @@+//------------------------------------------------------------------------------+// <auto-generated>+// This code was generated by a tool.+// Runtime Version:4.0.30319.42000+//+// Changes to this file may cause incorrect behavior and will be lost if+// the code is regenerated.+// </auto-generated>+//------------------------------------------------------------------------------++namespace DevToys.Localization.Strings.ToggleSwitch {+ using System;+++ /// <summary>+ /// A strongly-typed resource class, for looking up localized strings, etc.+ /// </summary>+ // This class was auto-generated by the StronglyTypedResourceBuilder+ // class via a tool like ResGen or Visual Studio.+ // To add or remove a member, edit your .ResX file then rerun ResGen+ // with the /str option, or rebuild your VS project.+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]+ public class ToggleSwitch {++ private static global::System.Resources.ResourceManager resourceMan;++ private static global::System.Globalization.CultureInfo resourceCulture;++ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]+ internal ToggleSwitch() {+ }++ /// <summary>+ /// Returns the cached ResourceManager instance used by this class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Resources.ResourceManager ResourceManager {+ get {+ if (object.ReferenceEquals(resourceMan, null)) {+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Localization.Strings.ToggleSwitch.ToggleSwitch", typeof(ToggleSwitch).Assembly);+ resourceMan = temp;+ }+ return resourceMan;+ }+ }++ /// <summary>+ /// Overrides the current thread's CurrentUICulture property for all+ /// resource lookups using this strongly typed resource class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Globalization.CultureInfo Culture {+ get {+ return resourceCulture;+ }+ set {+ resourceCulture = value;+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Off.+ /// </summary>+ public static string Off {+ get {+ return ResourceManager.GetString("Off", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to On.+ /// </summary>+ public static string On {+ get {+ return ResourceManager.GetString("On", resourceCulture);+ }+ }+ }+}diff --git a/src/app/dev/DevToys.Localization/Strings/ToggleSwitch/ToggleSwitch.resx b/src/app/dev/DevToys.Localization/Strings/ToggleSwitch/ToggleSwitch.resxnew file mode 100644index 000000000..a1963b2b1--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/ToggleSwitch/ToggleSwitch.resx@@ -0,0 +1,126 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="Off" xml:space="preserve">+ <value>Off</value>+ </data>+ <data name="On" xml:space="preserve">+ <value>On</value>+ </data>+</root>\ No newline at end of filediff --git a/src/app/dev/DevToys.Localization/Strings/ToolGroupPage/ToolGroupPage.resx b/src/app/dev/DevToys.Localization/Strings/ToolGroupPage/ToolGroupPage.resxindex a25ed3840..a9ecd5db0 100644--- a/src/app/dev/DevToys.Localization/Strings/ToolGroupPage/ToolGroupPage.resx+++ b/src/app/dev/DevToys.Localization/Strings/ToolGroupPage/ToolGroupPage.resx@@ -124,6 +124,6 @@<value>Open a feature request on GitHub</value></data><data name="NotFindingToolSuggestIdea" xml:space="preserve">- <value>Suggest your ideas!</value>+ <value>Suggest an idea</value></data></root>\ No newline at end of filediff --git a/src/app/dev/DevToys.Localization/Strings/UIFileSelectorPresenter/UIFileSelectorPresenter.Designer.cs b/src/app/dev/DevToys.Localization/Strings/UIFileSelectorPresenter/UIFileSelectorPresenter.Designer.csnew file mode 100644index 000000000..812f88a0f--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/UIFileSelectorPresenter/UIFileSelectorPresenter.Designer.cs@@ -0,0 +1,144 @@+//------------------------------------------------------------------------------+// <auto-generated>+// This code was generated by a tool.+// Runtime Version:4.0.30319.42000+//+// Changes to this file may cause incorrect behavior and will be lost if+// the code is regenerated.+// </auto-generated>+//------------------------------------------------------------------------------++namespace DevToys.Localization.Strings.UIFileSelectorPresenter {+ using System;+++ /// <summary>+ /// A strongly-typed resource class, for looking up localized strings, etc.+ /// </summary>+ // This class was auto-generated by the StronglyTypedResourceBuilder+ // class via a tool like ResGen or Visual Studio.+ // To add or remove a member, edit your .ResX file then rerun ResGen+ // with the /str option, or rebuild your VS project.+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]+ public class UIFileSelectorPresenter {++ private static global::System.Resources.ResourceManager resourceMan;++ private static global::System.Globalization.CultureInfo resourceCulture;++ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]+ internal UIFileSelectorPresenter() {+ }++ /// <summary>+ /// Returns the cached ResourceManager instance used by this class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Resources.ResourceManager ResourceManager {+ get {+ if (object.ReferenceEquals(resourceMan, null)) {+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Localization.Strings.UIFileSelectorPresenter.UIFileSelectorPresenter", typeof(UIFileSelectorPresenter).Assembly);+ resourceMan = temp;+ }+ return resourceMan;+ }+ }++ /// <summary>+ /// Overrides the current thread's CurrentUICulture property for all+ /// resource lookups using this strongly typed resource class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Globalization.CultureInfo Culture {+ get {+ return resourceCulture;+ }+ set {+ resourceCulture = value;+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Browse files.+ /// </summary>+ public static string BrowseFiles {+ get {+ return ResourceManager.GetString("BrowseFiles", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Browse folders.+ /// </summary>+ public static string BrowserFolders {+ get {+ return ResourceManager.GetString("BrowserFolders", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Drag & drop any file here.+ /// </summary>+ public static string FileSelectorDragDropAnyFile {+ get {+ return ResourceManager.GetString("FileSelectorDragDropAnyFile", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Drag & drop any files here.+ /// </summary>+ public static string FileSelectorDragDropAnyFiles {+ get {+ return ResourceManager.GetString("FileSelectorDragDropAnyFiles", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Drag & drop a {0} file here.+ /// </summary>+ public static string FileSelectorDragDropAnySpecificFile {+ get {+ return ResourceManager.GetString("FileSelectorDragDropAnySpecificFile", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Drag & drop any {0} files here.+ /// </summary>+ public static string FileSelectorDragDropAnySpecificFiles {+ get {+ return ResourceManager.GetString("FileSelectorDragDropAnySpecificFiles", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Only {0} file(s) can be used..+ /// </summary>+ public static string FileSelectorInvalidSelectedFiles {+ get {+ return ResourceManager.GetString("FileSelectorInvalidSelectedFiles", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to or.+ /// </summary>+ public static string Or {+ get {+ return ResourceManager.GetString("Or", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Paste.+ /// </summary>+ public static string Paste {+ get {+ return ResourceManager.GetString("Paste", resourceCulture);+ }+ }+ }+}diff --git a/src/app/dev/DevToys.Localization/Strings/UIFileSelectorPresenter/UIFileSelectorPresenter.resx b/src/app/dev/DevToys.Localization/Strings/UIFileSelectorPresenter/UIFileSelectorPresenter.resxnew file mode 100644index 000000000..6aa9b9eee--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/UIFileSelectorPresenter/UIFileSelectorPresenter.resx@@ -0,0 +1,147 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="BrowseFiles" xml:space="preserve">+ <value>Browse files</value>+ </data>+ <data name="BrowserFolders" xml:space="preserve">+ <value>Browse folders</value>+ </data>+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">+ <value>Drag & drop any file here</value>+ </data>+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">+ <value>Drag & drop any files here</value>+ </data>+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">+ <value>Drag & drop a {0} file here</value>+ </data>+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">+ <value>Drag & drop any {0} files here</value>+ </data>+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">+ <value>Only {0} file(s) can be used.</value>+ </data>+ <data name="Or" xml:space="preserve">+ <value>or</value>+ </data>+ <data name="Paste" xml:space="preserve">+ <value>Paste</value>+ </data>+</root>\ No newline at end of filediff --git a/src/app/dev/DevToys.Localization/Strings/UITextInputWrapper/UITextInputWrapper.Designer.cs b/src/app/dev/DevToys.Localization/Strings/UITextInputWrapper/UITextInputWrapper.Designer.csnew file mode 100644index 000000000..c1e0d1f5a--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/UITextInputWrapper/UITextInputWrapper.Designer.cs@@ -0,0 +1,153 @@+//------------------------------------------------------------------------------+// <auto-generated>+// This code was generated by a tool.+// Runtime Version:4.0.30319.42000+//+// Changes to this file may cause incorrect behavior and will be lost if+// the code is regenerated.+// </auto-generated>+//------------------------------------------------------------------------------++namespace DevToys.Localization.Strings.UITextInputWrapper {+ using System;+++ /// <summary>+ /// A strongly-typed resource class, for looking up localized strings, etc.+ /// </summary>+ // This class was auto-generated by the StronglyTypedResourceBuilder+ // class via a tool like ResGen or Visual Studio.+ // To add or remove a member, edit your .ResX file then rerun ResGen+ // with the /str option, or rebuild your VS project.+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]+ public class UITextInputWrapper {++ private static global::System.Resources.ResourceManager resourceMan;++ private static global::System.Globalization.CultureInfo resourceCulture;++ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]+ internal UITextInputWrapper() {+ }++ /// <summary>+ /// Returns the cached ResourceManager instance used by this class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Resources.ResourceManager ResourceManager {+ get {+ if (object.ReferenceEquals(resourceMan, null)) {+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Localization.Strings.UITextInputWrapper.UITextInputWrapper", typeof(UITextInputWrapper).Assembly);+ resourceMan = temp;+ }+ return resourceMan;+ }+ }++ /// <summary>+ /// Overrides the current thread's CurrentUICulture property for all+ /// resource lookups using this strongly typed resource class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ public static global::System.Globalization.CultureInfo Culture {+ get {+ return resourceCulture;+ }+ set {+ resourceCulture = value;+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Clear.+ /// </summary>+ public static string ClearButtonText {+ get {+ return ResourceManager.GetString("ClearButtonText", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Copy.+ /// </summary>+ public static string CopyButtonText {+ get {+ return ResourceManager.GetString("CopyButtonText", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Extend.+ /// </summary>+ public static string ExtendButtonToolTip {+ get {+ return ResourceManager.GetString("ExtendButtonToolTip", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Load a file.+ /// </summary>+ public static string LoadFileButtonText {+ get {+ return ResourceManager.GetString("LoadFileButtonText", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to More....+ /// </summary>+ public static string MoreButtonToolTip {+ get {+ return ResourceManager.GetString("MoreButtonToolTip", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to No tool to suggest.+ /// </summary>+ public static string NoToolSuggested {+ get {+ return ResourceManager.GetString("NoToolSuggested", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Paste.+ /// </summary>+ public static string PasteButonText {+ get {+ return ResourceManager.GetString("PasteButonText", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Save as....+ /// </summary>+ public static string SaveAsButtonText {+ get {+ return ResourceManager.GetString("SaveAsButtonText", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Shrink.+ /// </summary>+ public static string ShrinkButtonToolTip {+ get {+ return ResourceManager.GetString("ShrinkButtonToolTip", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Transfer to another tool.+ /// </summary>+ public static string SmartDetectionTooltip {+ get {+ return ResourceManager.GetString("SmartDetectionTooltip", resourceCulture);+ }+ }+ }+}diff --git a/src/app/dev/DevToys.Localization/Strings/UITextInputWrapper/UITextInputWrapper.resx b/src/app/dev/DevToys.Localization/Strings/UITextInputWrapper/UITextInputWrapper.resxnew file mode 100644index 000000000..4104a0432--- /dev/null+++ b/src/app/dev/DevToys.Localization/Strings/UITextInputWrapper/UITextInputWrapper.resx@@ -0,0 +1,150 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" type="xsd:string" use="required" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <data name="ClearButtonText" xml:space="preserve">+ <value>Clear</value>+ </data>+ <data name="CopyButtonText" xml:space="preserve">+ <value>Copy</value>+ </data>+ <data name="ExtendButtonToolTip" xml:space="preserve">+ <value>Extend</value>+ </data>+ <data name="LoadFileButtonText" xml:space="preserve">+ <value>Load a file</value>+ </data>+ <data name="MoreButtonToolTip" xml:space="preserve">+ <value>More...</value>+ </data>+ <data name="NoToolSuggested" xml:space="preserve">+ <value>No tool to suggest</value>+ </data>+ <data name="PasteButonText" xml:space="preserve">+ <value>Paste</value>+ </data>+ <data name="SaveAsButtonText" xml:space="preserve">+ <value>Save as...</value>+ </data>+ <data name="ShrinkButtonToolTip" xml:space="preserve">+ <value>Shrink</value>+ </data>+ <data name="SmartDetectionTooltip" xml:space="preserve">+ <value>Transfer to another tool</value>+ </data>+</root>\ No newline at end of filediff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Core/FileStorage.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/FileStorage.csindex f4d7d2ecc..8464bef9b 100644--- a/src/app/dev/platforms/desktop/DevToys.Windows/Core/FileStorage.cs+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/FileStorage.cs@@ -2,6 +2,7 @@using System.Text;using DevToys.Api;using DevToys.Windows.Helpers;+using DevToys.Windows.Strings.Other;using OpenFileDialog = Microsoft.Win32.OpenFileDialog;using SaveFileDialog = Microsoft.Win32.SaveFileDialog;@@ -194,8 +195,7 @@ internal sealed class FileStorage : IFileStorage{filters.Remove(filters.Length - 1, 1);- // TODO: Localize.- string allFiles = "All " + string.Join(", ", allFileTypesDescription);+ string allFiles = string.Format(Other.AllFiles, string.Join(", ", allFileTypesDescription));filters.Insert(0, $"{allFiles}|{string.Join(";", allFileTypes)}|");}diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Core/TaskbarJumpListService.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/TaskbarJumpListService.csindex eb44db1d1..874232fd2 100644--- a/src/app/dev/platforms/desktop/DevToys.Windows/Core/TaskbarJumpListService.cs+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/TaskbarJumpListService.cs@@ -6,6 +6,7 @@ using DevToys.Business.ViewModels;using DevToys.Core.Models;using DevToys.Core.Tools;using DevToys.Windows.Helpers;+using DevToys.Windows.Strings.TaskBar;namespace DevToys.Windows.Core;@@ -67,8 +68,7 @@ internal class TaskbarJumpListService : ObservableRecipientGuiToolInstance tool = _guiToolProvider.AllTools[i];if (_guiToolProvider.GetToolIsFavorite(tool)){- // TODO: Localize.- AddToolToJumpList(jumpList, tool, "Favorite tools");+ AddToolToJumpList(jumpList, tool, TaskBar.FavoriteTools);}}diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/DevToys.Windows.csproj b/src/app/dev/platforms/desktop/DevToys.Windows/DevToys.Windows.csprojindex 1c31ad40e..6c3092ff7 100644--- a/src/app/dev/platforms/desktop/DevToys.Windows/DevToys.Windows.csproj+++ b/src/app/dev/platforms/desktop/DevToys.Windows/DevToys.Windows.csproj@@ -29,4 +29,28 @@<ProjectReference Include="..\..\..\DevToys.Localization\DevToys.Localization.csproj" /></ItemGroup>+ <ItemGroup>+ <Compile Update="Strings\Other\Other.Designer.cs">+ <DesignTime>True</DesignTime>+ <AutoGen>True</AutoGen>+ <DependentUpon>Other.resx</DependentUpon>+ </Compile>+ <Compile Update="Strings\TaskBar\TaskBar.Designer.cs">+ <DesignTime>True</DesignTime>+ <AutoGen>True</AutoGen>+ <DependentUpon>TaskBar.resx</DependentUpon>+ </Compile>+ </ItemGroup>++ <ItemGroup>+ <EmbeddedResource Update="Strings\Other\Other.resx">+ <Generator>ResXFileCodeGenerator</Generator>+ <LastGenOutput>Other.Designer.cs</LastGenOutput>+ </EmbeddedResource>+ <EmbeddedResource Update="Strings\TaskBar\TaskBar.resx">+ <Generator>ResXFileCodeGenerator</Generator>+ <LastGenOutput>TaskBar.Designer.cs</LastGenOutput>+ </EmbeddedResource>+ </ItemGroup>+</Project>diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Strings/Other/Other.Designer.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/Other/Other.Designer.csnew file mode 100644index 000000000..4dec45feb--- /dev/null+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/Other/Other.Designer.cs@@ -0,0 +1,72 @@+//------------------------------------------------------------------------------+// <auto-generated>+// This code was generated by a tool.+// Runtime Version:4.0.30319.42000+//+// Changes to this file may cause incorrect behavior and will be lost if+// the code is regenerated.+// </auto-generated>+//------------------------------------------------------------------------------++namespace DevToys.Windows.Strings.Other {+ using System;+++ /// <summary>+ /// A strongly-typed resource class, for looking up localized strings, etc.+ /// </summary>+ // This class was auto-generated by the StronglyTypedResourceBuilder+ // class via a tool like ResGen or Visual Studio.+ // To add or remove a member, edit your .ResX file then rerun ResGen+ // with the /str option, or rebuild your VS project.+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]+ internal class Other {++ private static global::System.Resources.ResourceManager resourceMan;++ private static global::System.Globalization.CultureInfo resourceCulture;++ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]+ internal Other() {+ }++ /// <summary>+ /// Returns the cached ResourceManager instance used by this class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ internal static global::System.Resources.ResourceManager ResourceManager {+ get {+ if (object.ReferenceEquals(resourceMan, null)) {+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Windows.Strings.Other.Other", typeof(Other).Assembly);+ resourceMan = temp;+ }+ return resourceMan;+ }+ }++ /// <summary>+ /// Overrides the current thread's CurrentUICulture property for all+ /// resource lookups using this strongly typed resource class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ internal static global::System.Globalization.CultureInfo Culture {+ get {+ return resourceCulture;+ }+ set {+ resourceCulture = value;+ }+ }++ /// <summary>+ /// Looks up a localized string similar to All {0}.+ /// </summary>+ internal static string AllFiles {+ get {+ return ResourceManager.GetString("AllFiles", resourceCulture);+ }+ }+ }+}diff --git a/src/app/dev/DevToys.Localization/Strings/Settings/Settings.ja-JP.resx b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/Other/Other.resxsimilarity index 98%rename from src/app/dev/DevToys.Localization/Strings/Settings/Settings.ja-JP.resxrename to src/app/dev/platforms/desktop/DevToys.Windows/Strings/Other/Other.resxindex 9b0686290..7c1aa4282 100644--- a/src/app/dev/DevToys.Localization/Strings/Settings/Settings.ja-JP.resx+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/Other/Other.resx@@ -117,7 +117,7 @@<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>- <data name="DefaultLanguage" xml:space="preserve">- <value>Same as the system</value>+ <data name="AllFiles" xml:space="preserve">+ <value>All {0}</value></data></root>\ No newline at end of filediff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Strings/TaskBar/TaskBar.Designer.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/TaskBar/TaskBar.Designer.csnew file mode 100644index 000000000..7d29c355d--- /dev/null+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/TaskBar/TaskBar.Designer.cs@@ -0,0 +1,72 @@+//------------------------------------------------------------------------------+// <auto-generated>+// This code was generated by a tool.+// Runtime Version:4.0.30319.42000+//+// Changes to this file may cause incorrect behavior and will be lost if+// the code is regenerated.+// </auto-generated>+//------------------------------------------------------------------------------++namespace DevToys.Windows.Strings.TaskBar {+ using System;+++ /// <summary>+ /// A strongly-typed resource class, for looking up localized strings, etc.+ /// </summary>+ // This class was auto-generated by the StronglyTypedResourceBuilder+ // class via a tool like ResGen or Visual Studio.+ // To add or remove a member, edit your .ResX file then rerun ResGen+ // with the /str option, or rebuild your VS project.+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]+ internal class TaskBar {++ private static global::System.Resources.ResourceManager resourceMan;++ private static global::System.Globalization.CultureInfo resourceCulture;++ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]+ internal TaskBar() {+ }++ /// <summary>+ /// Returns the cached ResourceManager instance used by this class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ internal static global::System.Resources.ResourceManager ResourceManager {+ get {+ if (object.ReferenceEquals(resourceMan, null)) {+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevToys.Windows.Strings.TaskBar.TaskBar", typeof(TaskBar).Assembly);+ resourceMan = temp;+ }+ return resourceMan;+ }+ }++ /// <summary>+ /// Overrides the current thread's CurrentUICulture property for all+ /// resource lookups using this strongly typed resource class.+ /// </summary>+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]+ internal static global::System.Globalization.CultureInfo Culture {+ get {+ return resourceCulture;+ }+ set {+ resourceCulture = value;+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Favorite tools.+ /// </summary>+ internal static string FavoriteTools {+ get {+ return ResourceManager.GetString("FavoriteTools", resourceCulture);+ }+ }+ }+}diff --git a/src/app/dev/DevToys.Localization/Strings/Settings/Settings.resx b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/TaskBar/TaskBar.resxsimilarity index 98%rename from src/app/dev/DevToys.Localization/Strings/Settings/Settings.resxrename to src/app/dev/platforms/desktop/DevToys.Windows/Strings/TaskBar/TaskBar.resxindex 9b0686290..f690d5cae 100644--- a/src/app/dev/DevToys.Localization/Strings/Settings/Settings.resx+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Strings/TaskBar/TaskBar.resx@@ -117,7 +117,7 @@<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>- <data name="DefaultLanguage" xml:space="preserve">- <value>Same as the system</value>+ <data name="FavoriteTools" xml:space="preserve">+ <value>Favorite tools</value></data></root>\ No newline at end of file