Skip to content

Commit 9d447ca

Browse files
committed
Replace static text with localized label
1 parent cc743ae commit 9d447ca

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Plugins/Wox.Plugin.Calculator/Languages/de.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
<system:String x:Key="wox_plugin_calculator_decimal_seperator_use_system_locale">Systemeinstellung nutzen</system:String>
1313
<system:String x:Key="wox_plugin_calculator_decimal_seperator_comma">Komma (,)</system:String>
1414
<system:String x:Key="wox_plugin_calculator_decimal_seperator_dot">Punkt (.)</system:String>
15+
<system:String x:Key="wox_plugin_calculator_max_decimal_places">Max. Nachkommastellen</system:String>
1516
</ResourceDictionary>

Plugins/Wox.Plugin.Calculator/Languages/en.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
<system:String x:Key="wox_plugin_calculator_decimal_seperator_use_system_locale">Use system locale</system:String>
1313
<system:String x:Key="wox_plugin_calculator_decimal_seperator_comma">Comma (,)</system:String>
1414
<system:String x:Key="wox_plugin_calculator_decimal_seperator_dot">Dot (.)</system:String>
15+
<system:String x:Key="wox_plugin_calculator_max_decimal_places">Max. decimal places</system:String>
1516
</ResourceDictionary>

Plugins/Wox.Plugin.Calculator/Views/CalculatorSettings.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</ComboBox.ItemTemplate>
4242
</ComboBox>
4343

44-
<TextBlock Grid.Column="0" Grid.Row="1" Text="Decimal places" VerticalAlignment="Center" />
44+
<TextBlock Grid.Column="0" Grid.Row="1" Text="{DynamicResource wox_plugin_calculator_max_decimal_places}" VerticalAlignment="Center" />
4545
<ComboBox x:Name="MaxDecimalPlaces"
4646
Grid.Column="1"
4747
Grid.Row="1"

0 commit comments

Comments
 (0)