Skip to content

Commit

Permalink
add I18n
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiraSora committed Oct 1, 2024
1 parent e8cb69c commit 86b1d63
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
Width="50"
Margin="5,0"
Text="{Binding Setting.LimitFPS}" />
<TextBlock x:Name="noLimitText" Text="(无限制)">
<TextBlock x:Name="noLimitText" Text="{markup:Translate [NoLimit]}">
<Behaviors:Interaction.Triggers>
<Behaviors:DataTrigger
Binding="{Binding Setting.LimitFPS}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
Width="50"
Margin="5,0"
Text="{Binding LimitFPS}" />
<TextBlock x:Name="noLimitText" Text="(无限制)">
<TextBlock x:Name="noLimitText" Text="{markup:Translate [NoLimit]}">
<Behaviors:Interaction.Triggers>
<Behaviors:DataTrigger
Binding="{Binding LimitFPS}"
Expand Down
25 changes: 17 additions & 8 deletions OngekiFumenEditor/Properties/Resources.Designer.cs

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

3 changes: 3 additions & 0 deletions OngekiFumenEditor/Properties/Resources.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1545,4 +1545,7 @@
<data name="ResetAllSettingComfirm" xml:space="preserve">
<value>このアプリケーションのすべての構成オプションをリセットしますか?</value>
</data>
<data name="NoLimit" xml:space="preserve">
<value>(無制限)</value>
</data>
</root>
3 changes: 3 additions & 0 deletions OngekiFumenEditor/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1554,4 +1554,7 @@
<data name="ResetAllSettingComfirm" xml:space="preserve">
<value>Do you want to reset all settings for application?</value>
</data>
<data name="NoLimit" xml:space="preserve">
<value>(No Limit)</value>
</data>
</root>
3 changes: 3 additions & 0 deletions OngekiFumenEditor/Properties/Resources.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1554,4 +1554,7 @@
<data name="ResetAllSettingComfirm" xml:space="preserve">
<value>是否重置本应用所有配置选项?</value>
</data>
<data name="NoLimit" xml:space="preserve">
<value>(无限制)</value>
</data>
</root>

0 comments on commit 86b1d63

Please sign in to comment.