Skip to content

Commit

Permalink
improve i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdxr committed Jul 27, 2020
1 parent 476a33c commit c8b51b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Wox/Languages/en.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<!--Setting General-->
<system:String x:Key="wox_settings">Wox Settings</system:String>
<system:String x:Key="general">General</system:String>
<system:String x:Key="portableMode">Portable Mode</system:String>
<system:String x:Key="startWoxOnSystemStartup">Start Wox on system startup</system:String>
<system:String x:Key="hideWoxWhenLoseFocus">Hide Wox when focus is lost</system:String>
<system:String x:Key="dontPromptUpdateMsg">Do not show new version notifications</system:String>
Expand Down
1 change: 1 addition & 0 deletions Wox/Languages/zh-cn.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<!--设置,通用-->
<system:String x:Key="wox_settings">Wox设置</system:String>
<system:String x:Key="general">通用</system:String>
<system:String x:Key="portableMode">便携模式</system:String>
<system:String x:Key="startWoxOnSystemStartup">开机启动</system:String>
<system:String x:Key="hideWoxWhenLoseFocus">失去焦点时自动隐藏Wox</system:String>
<system:String x:Key="dontPromptUpdateMsg">不显示新版本提示</system:String>
Expand Down
2 changes: 1 addition & 1 deletion Wox/SettingWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</Style>
</StackPanel.Resources>
<CheckBox IsChecked="{Binding PortableMode}">
<TextBlock Text="Portable Mode" />
<TextBlock Text="{DynamicResource portableMode}" />
</CheckBox>
<CheckBox IsChecked="{Binding Settings.StartWoxOnSystemStartup}"
Checked="OnAutoStartupChecked" Unchecked="OnAutoStartupUncheck">
Expand Down

0 comments on commit c8b51b1

Please sign in to comment.