Localize percent setting

This commit is contained in:
Jaime Bernardo 2024-11-20 16:11:46 +00:00
parent ceafbe8bff
commit 35eab54f5e
2 changed files with 40 additions and 10 deletions

View File

@ -137,16 +137,16 @@
</tkcontrols:SettingsExpander> </tkcontrols:SettingsExpander>
<tkcontrols:SettingsCard x:Uid="ZoomIt_Break_TimerOpacity"> <tkcontrols:SettingsCard x:Uid="ZoomIt_Break_TimerOpacity">
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.BreakTimerOpacityIndex, Mode=TwoWay}"> <ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.BreakTimerOpacityIndex, Mode=TwoWay}">
<ComboBoxItem>10%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_10Percent"/>
<ComboBoxItem>20%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_20Percent"/>
<ComboBoxItem>30%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_30Percent"/>
<ComboBoxItem>40%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_40Percent"/>
<ComboBoxItem>50%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_50Percent"/>
<ComboBoxItem>60%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_60Percent"/>
<ComboBoxItem>70%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_70Percent"/>
<ComboBoxItem>80%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_80Percent"/>
<ComboBoxItem>90%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_90Percent"/>
<ComboBoxItem>100%</ComboBoxItem> <ComboBoxItem x:Uid="ZoomIt_Break_TimerOpacity_100Percent"/>
</ComboBox> </ComboBox>
</tkcontrols:SettingsCard> </tkcontrols:SettingsCard>
<tkcontrols:SettingsCard x:Uid="ZoomIt_Break_TimerPosition"> <tkcontrols:SettingsCard x:Uid="ZoomIt_Break_TimerPosition">

View File

@ -4637,6 +4637,36 @@ Change the break timer color using the same keys that the drawing color. The bre
<data name="ZoomIt_Break_TimerOpacity.Header" xml:space="preserve"> <data name="ZoomIt_Break_TimerOpacity.Header" xml:space="preserve">
<value>Timer Opacity</value> <value>Timer Opacity</value>
</data> </data>
<data name="ZoomIt_Break_TimerOpacity_10Percent.Content" xml:space="preserve">
<value>10%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_20Percent.Content" xml:space="preserve">
<value>20%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_30Percent.Content" xml:space="preserve">
<value>30%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_40Percent.Content" xml:space="preserve">
<value>40%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_50Percent.Content" xml:space="preserve">
<value>50%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_60Percent.Content" xml:space="preserve">
<value>60%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_70Percent.Content" xml:space="preserve">
<value>70%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_80Percent.Content" xml:space="preserve">
<value>80%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_90Percent.Content" xml:space="preserve">
<value>90%</value>
</data>
<data name="ZoomIt_Break_TimerOpacity_100Percent.Content" xml:space="preserve">
<value>100%</value>
</data>
<data name="ZoomIt_Break_TimerPosition.Header" xml:space="preserve"> <data name="ZoomIt_Break_TimerPosition.Header" xml:space="preserve">
<value>Timer Position</value> <value>Timer Position</value>
</data> </data>