Skip to content

Commit

Permalink
Fix remaining localization issues (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
stnkl committed Oct 9, 2022
1 parent 3b12c4b commit a4a50ab
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
18 changes: 18 additions & 0 deletions EverythingToolbar.Launcher/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions EverythingToolbar.Launcher/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@
<data name="SetupAssistantFirstStepTitle" xml:space="preserve">
<value>1. Pin to taskbar</value>
</data>
<data name="SetupAssistantRestartExplorerDialogText" xml:space="preserve">
<value>An explorer restart is required to update the taskbar icon. Would you like to restart it now?</value>
</data>
<data name="SetupAssistantRestartExplorerDialogTitle" xml:space="preserve">
<value>Restart explorer</value>
</data>
<data name="SetupAssistantSecondStepText" xml:space="preserve">
<value>Optionally the original Windows search icon can be hidden.</value>
</data>
Expand Down
2 changes: 1 addition & 1 deletion EverythingToolbar.Launcher/SetupAssistant.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
WindowStartupLocation="CenterScreen"
Background="#202020" Foreground="White"
SizeToContent="Height" ResizeMode="NoResize"
Title="EverythingToolbar Setup Assistant"
Title="{x:Static properties:Resources.SetupAssistantTitle}"
Closed="OnClosed" Width="575">

<Window.Resources>
Expand Down
4 changes: 2 additions & 2 deletions EverythingToolbar.Launcher/SetupAssistant.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ private void OnClosed(object sender, EventArgs e)
if (Utils.GetWindowsTheme() == Utils.WindowsTheme.Dark)
return;

if (MessageBox.Show("An explorer restart is required to update the taskbar icon. Would you like to restart it now?",
"Restart explorer", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
if (MessageBox.Show(Properties.Resources.SetupAssistantRestartExplorerDialogText,
Properties.Resources.SetupAssistantRestartExplorerDialogTitle, MessageBoxButton.YesNo) == MessageBoxResult.Yes)
{
Utils.ChangeTaskbarPinIcon(Utils.GetWindowsTheme());
}
Expand Down
2 changes: 1 addition & 1 deletion EverythingToolbar/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a4a50ab

Please sign in to comment.