Skip to content

Commit

Permalink
feat: Add missing translation for "Open recent file on startup"
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkallesen committed Mar 21, 2024
1 parent 2fc63a8 commit 6cd8e43
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/Atc.Wpf.Controls/Resources/Miscellaneous.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 src/Atc.Wpf.Controls/Resources/Miscellaneous.da-DK.resx
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,7 @@
<data name="ColorPicker" xml:space="preserve">
<value>Farvevælger</value>
</data>
<data name="OpenRecentFileOnStartup" xml:space="preserve">
<value>Åbn den seneste fil ved opstart</value>
</data>
</root>
3 changes: 3 additions & 0 deletions src/Atc.Wpf.Controls/Resources/Miscellaneous.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,7 @@
<data name="ColorPicker" xml:space="preserve">
<value>Farbwähler</value>
</data>
<data name="OpenRecentFileOnStartup" xml:space="preserve">
<value>Öffnen Sie die zuletzt verwendete Datei beim Start</value>
</data>
</root>
3 changes: 3 additions & 0 deletions src/Atc.Wpf.Controls/Resources/Miscellaneous.resx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@
<data name="Ok" xml:space="preserve">
<value>OK</value>
</data>
<data name="OpenRecentFileOnStartup" xml:space="preserve">
<value>Open recent file on startup</value>
</data>
<data name="PleaseWait" xml:space="preserve">
<value>Please wait</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:atc="https://github.com/atc-net/atc-wpf/tree/main/schemas"
xmlns:atcTranslation="https://github.com/atc-net/atc-wpf/tree/main/schemas/translations"
xmlns:atcValueConverters="https://github.com/atc-net/atc-wpf/tree/main/schemas/value-converters"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:labelControls="clr-namespace:Atc.Wpf.Controls.LabelControls"
Expand All @@ -29,7 +30,8 @@
<labelControls:LabelCheckBox
HideAreas="InformationAndValidation"
IsChecked="{Binding Path=OpenRecentFileOnStartup}"
LabelText="?Open recent file on startup"
LabelText="{atcTranslation:Resx ResxName=Atc.Wpf.Controls.Resources.Miscellaneous,
Key=OpenRecentFileOnStartup}"
LabelWidthNumber="210"
Visibility="{Binding Path=ShowOpenRecentFileOnStartup, Converter={StaticResource BoolToVisibilityVisibleValueConverter}}" />

Expand Down

0 comments on commit 6cd8e43

Please sign in to comment.