Skip to content

Commit 6cd8e43

Browse files
committed
feat: Add missing translation for "Open recent file on startup"
1 parent 2fc63a8 commit 6cd8e43

File tree

5 files changed

+21
-1
lines changed

5 files changed

+21
-1
lines changed

src/Atc.Wpf.Controls/Resources/Miscellaneous.Designer.cs

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Atc.Wpf.Controls/Resources/Miscellaneous.da-DK.resx

+3
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,7 @@
171171
<data name="ColorPicker" xml:space="preserve">
172172
<value>Farvevælger</value>
173173
</data>
174+
<data name="OpenRecentFileOnStartup" xml:space="preserve">
175+
<value>Åbn den seneste fil ved opstart</value>
176+
</data>
174177
</root>

src/Atc.Wpf.Controls/Resources/Miscellaneous.de-DE.resx

+3
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,7 @@
171171
<data name="ColorPicker" xml:space="preserve">
172172
<value>Farbwähler</value>
173173
</data>
174+
<data name="OpenRecentFileOnStartup" xml:space="preserve">
175+
<value>Öffnen Sie die zuletzt verwendete Datei beim Start</value>
176+
</data>
174177
</root>

src/Atc.Wpf.Controls/Resources/Miscellaneous.resx

+3
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@
156156
<data name="Ok" xml:space="preserve">
157157
<value>OK</value>
158158
</data>
159+
<data name="OpenRecentFileOnStartup" xml:space="preserve">
160+
<value>Open recent file on startup</value>
161+
</data>
159162
<data name="PleaseWait" xml:space="preserve">
160163
<value>Please wait</value>
161164
</data>

src/Atc.Wpf.Controls/SettingsControls/BasicApplicationSettingsView.xaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:atc="https://github.com/atc-net/atc-wpf/tree/main/schemas"
6+
xmlns:atcTranslation="https://github.com/atc-net/atc-wpf/tree/main/schemas/translations"
67
xmlns:atcValueConverters="https://github.com/atc-net/atc-wpf/tree/main/schemas/value-converters"
78
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
89
xmlns:labelControls="clr-namespace:Atc.Wpf.Controls.LabelControls"
@@ -29,7 +30,8 @@
2930
<labelControls:LabelCheckBox
3031
HideAreas="InformationAndValidation"
3132
IsChecked="{Binding Path=OpenRecentFileOnStartup}"
32-
LabelText="?Open recent file on startup"
33+
LabelText="{atcTranslation:Resx ResxName=Atc.Wpf.Controls.Resources.Miscellaneous,
34+
Key=OpenRecentFileOnStartup}"
3335
LabelWidthNumber="210"
3436
Visibility="{Binding Path=ShowOpenRecentFileOnStartup, Converter={StaticResource BoolToVisibilityVisibleValueConverter}}" />
3537

0 commit comments

Comments
 (0)