Skip to content

Commit ef04819

Browse files
authored
Merge pull request #1610 from onesounds/FixTopMostString
Change hardcoded text to string
2 parents 7812431 + d34f1a3 commit ef04819

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ private Result ContextMenuTopMost(Result result)
803803
Action = _ =>
804804
{
805805
_topMostRecord.AddOrUpdate(result);
806-
App.API.ShowMsg("Success");
806+
App.API.ShowMsg(InternationalizationManager.Instance.GetTranslation("success"));
807807
return false;
808808
}
809809
};

Flow.Launcher/WelcomeWindow.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
xmlns:ui="http://schemas.modernwpf.com/2019"
99
Name="FlowWelcomeWindow"
10-
Title="Welcome to Flow Launcher"
11-
Activated="OnActivated"
10+
Title="{DynamicResource Welcome_Page1_Title}"
1211
Width="550"
1312
Height="650"
14-
MouseDown="window_MouseDown"
13+
Activated="OnActivated"
1514
Background="{DynamicResource Color00B}"
1615
Foreground="{DynamicResource PopupTextColor}"
16+
MouseDown="window_MouseDown"
1717
WindowStartupLocation="CenterScreen"
1818
mc:Ignorable="d">
1919
<!--#region TitleBar-->
@@ -48,7 +48,7 @@
4848
VerticalAlignment="Center"
4949
FontSize="12"
5050
Foreground="{DynamicResource Color05B}"
51-
Text="Welcome to Flow Launcher" />
51+
Text="{DynamicResource Welcome_Page1_Title}" />
5252

5353
<Button
5454
Grid.Column="4"

0 commit comments

Comments
 (0)