Skip to content

Commit 59ca2cb

Browse files
authored
update
1 parent b964caa commit 59ca2cb

File tree

3 files changed

+39
-12
lines changed

3 files changed

+39
-12
lines changed

MPF.UI/Resources/Strings.ko.xaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
<!-- Main Window -->
66
<system:String x:Key="AppTitleString">미디어 프리저베이션 프런트엔드</system:String>
7+
<!-- Top Menu Bar -->
8+
<system:String x:Key="FileMenuString">파일</system:String>
9+
<system:String x:Key="ExitMenuItemString">종료</system:String>
10+
<system:String x:Key="ToolsMenuString">도구</system:String>
11+
<system:String x:Key="HelpMenuString">도움말</system:String>
12+
<system:String x:Key="AboutMenuItemString">정보</system:String>
13+
<system:String x:Key="CheckForUpdateMenuItemString">업데이트 확인</system:String>
14+
<system:String x:Key="LanguageMenuString">한국어</system:String>
715
<!-- Settings Group Box-->
816
<system:String x:Key="SettingsGroupBoxString">설정</system:String>
917
<system:String x:Key="SystemLabelString">시스템</system:String>
@@ -18,6 +26,10 @@
1826
<system:String x:Key="ScanButtonString">디스크 스캔</system:String>
1927
<system:String x:Key="UpdateLabelButtonString">레이블 업데이트</system:String>
2028
<system:String x:Key="ProtectionScanButtonString">보호 스캔</system:String>
29+
<!-- Status Group Box -->
30+
<system:String x:Key="StatusGroupBoxString">상태</system:String>
31+
<!-- Log Output -->
32+
<system:String x:Key="LogOutputExpanderString">로그 출력</system:String>
2133
<system:String x:Key="ClearButtonString">지우기</system:String>
2234
<system:String x:Key="SaveButtonString">저장</system:String>
2335
</ResourceDictionary>

MPF.UI/Resources/Strings.xaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
<!-- Main Window -->
66
<system:String x:Key="AppTitleString">Media Preservation Frontend</system:String>
7+
<!-- Top Menu Bar -->
8+
<system:String x:Key="FileMenuString">_File</system:String>
9+
<system:String x:Key="ExitMenuItemString">E_xit</system:String>
10+
<system:String x:Key="ToolsMenuString">_Tools</system:String>
11+
<system:String x:Key="HelpMenuString">_Help</system:String>
12+
<system:String x:Key="AboutMenuItemString">_About</system:String>
13+
<system:String x:Key="CheckForUpdateMenuItemString">_Check for Updates</system:String>
14+
<system:String x:Key="LanguageMenuString">English</system:String>
15+
<!-- Settings Group Box-->
716
<system:String x:Key="SettingsGroupBoxString">Settings</system:String>
817
<system:String x:Key="SystemLabelString">System</system:String>
918
<system:String x:Key="OutputPathLabelString">Output Path</system:String>
@@ -12,9 +21,15 @@
1221
<system:String x:Key="DriveSpeedLabelString">Drive Speed</system:String>
1322
<system:String x:Key="DumpingProgramLabelString">Dumping Program</system:String>
1423
<system:String x:Key="ParametersLabelString">Parameters</system:String>
24+
<!-- Controls Group Box-->
25+
<system:String x:Key="ControlsGroupBoxString">Controls</system:String>
1526
<system:String x:Key="ScanButtonString">Scan for Discs</system:String>
1627
<system:String x:Key="UpdateLabelButtonString">Update Label</system:String>
1728
<system:String x:Key="ProtectionScanButtonString">Scan for Protection</system:String>
29+
<!-- Status Group Box -->
30+
<system:String x:Key="StatusGroupBoxString">Status</system:String>
31+
<!-- Log Output -->
32+
<system:String x:Key="LogOutputExpanderString">Log Output</system:String>
1833
<system:String x:Key="ClearButtonString">Clear</system:String>
1934
<system:String x:Key="SaveButtonString">Save</system:String>
2035
</ResourceDictionary>

MPF.UI/Windows/MainWindow.xaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@
3737
<Menu x:Name="TopMenuBar" Width="Auto" Height="20"
3838
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
3939
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}">
40-
<MenuItem x:Name="FileMenuItem" Header="_File"
40+
<MenuItem x:Name="FileMenuItem" Header="{DynamicResource FileMenuString}"
4141
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
4242
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
4343
Template="{DynamicResource CustomMenuItemTemplate}">
44-
<MenuItem x:Name="AppExitMenuItem" Header="E_xit" HorizontalAlignment="Left" Width="120"
44+
<MenuItem x:Name="AppExitMenuItem" Header="{DynamicResource ExitMenuItemString}" HorizontalAlignment="Left" Width="120"
4545
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
4646
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
4747
Template="{DynamicResource CustomMenuItemTemplate}" />
4848
</MenuItem>
49-
<MenuItem x:Name="ToolsMenuItem" Header="_Tools"
49+
<MenuItem x:Name="ToolsMenuItem" Header="{DynamicResource ToolsMenuString}"
5050
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
5151
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
5252
Template="{DynamicResource CustomMenuItemTemplate}">
@@ -70,15 +70,15 @@
7070
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
7171
Template="{DynamicResource CustomMenuItemTemplate}" Visibility="Collapsed" />
7272
</MenuItem>
73-
<MenuItem x:Name="HelpMenuItem" Header="_Help"
73+
<MenuItem x:Name="HelpMenuItem" Header="{DynamicResource HelpMenuString}"
7474
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
7575
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
7676
Template="{DynamicResource CustomMenuItemTemplate}">
77-
<MenuItem x:Name="AboutMenuItem" Header="_About" HorizontalAlignment="Left" Width="120"
77+
<MenuItem x:Name="AboutMenuItem" Header="{DynamicResource AboutMenuItemString}" HorizontalAlignment="Left" Width="120"
7878
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
7979
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
8080
Template="{DynamicResource CustomMenuItemTemplate}" />
81-
<MenuItem x:Name="CheckForUpdatesMenuItem" Header="_Check for Updates" HorizontalAlignment="Left" Width="120"
81+
<MenuItem x:Name="CheckForUpdatesMenuItem" Header="{DynamicResource CheckForUpdateMenuItemString}" HorizontalAlignment="Left" Width="120"
8282
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
8383
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
8484
Template="{DynamicResource CustomMenuItemTemplate}" />
@@ -111,15 +111,15 @@
111111
<ColumnDefinition/>
112112
</Grid.ColumnDefinitions>
113113

114-
<MenuItem x:Name="LanguagesMenuItem" Header="Lang"
114+
<MenuItem x:Name="LanguagesMenuItem" Header="{DynamicResource LanguageMenuString}"
115115
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
116116
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
117117
Template="{DynamicResource CustomMenuItemTemplate}">
118-
<MenuItem x:Name="EnglishMenuItem" Header="English" HorizontalAlignment="Left" Width="100" IsCheckable="True"
118+
<MenuItem x:Name="EnglishMenuItem" Header="English" HorizontalAlignment="Left" Width="120" IsCheckable="True"
119119
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
120120
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
121121
Template="{DynamicResource CustomMenuItemTemplate}" />
122-
<MenuItem x:Name="KoreanMenuItem" Header="한국어" HorizontalAlignment="Left" Width="100" IsCheckable="True"
122+
<MenuItem x:Name="KoreanMenuItem" Header="한국어" HorizontalAlignment="Left" Width="120" IsCheckable="True"
123123
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
124124
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
125125
Template="{DynamicResource CustomMenuItemTemplate}" />
@@ -206,7 +206,7 @@
206206
</Grid>
207207
</GroupBox>
208208

209-
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" Header="Controls">
209+
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" Header="{DynamicResource ControlsGroupBoxString}">
210210
<UniformGrid Columns="4" Margin="5,5,5,5">
211211
<Button x:Name="StartStopButton" Height="22" Width="125" VerticalAlignment="Center" HorizontalAlignment="Center" IsDefault="True"
212212
Content="{Binding StartStopButtonText, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
@@ -220,14 +220,14 @@
220220
</UniformGrid>
221221
</GroupBox>
222222

223-
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" Header="Status">
223+
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" Header="{DynamicResource StatusGroupBoxString}">
224224
<UniformGrid Margin="5,5,5,5" Grid.ColumnSpan="2">
225225
<TextBlock x:Name="StatusLabel" VerticalAlignment="Center" HorizontalAlignment="Center"
226226
Text="{Binding Status, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
227227
</UniformGrid>
228228
</GroupBox>
229229

230-
<Expander Margin="5,5,5,5" MaxHeight="300" HorizontalAlignment="Stretch" Header="Log Output" x:Name="LogPanel"
230+
<Expander Margin="5,5,5,5" MaxHeight="300" HorizontalAlignment="Stretch" Header="{DynamicResource LogOutputExpanderString}" x:Name="LogPanel"
231231
IsExpanded="{Binding LogPanelExpanded}">
232232
<controls:LogOutput x:Name="LogOutput"/>
233233
</Expander>

0 commit comments

Comments
 (0)