Skip to content

Commit e62c1bd

Browse files
committed
Translate UI strings to German and update navigation
Updated the `Resources.resw` file with German translations for various UI strings, including "Workbench" to "Werkbank" and "Browse back" to "Zurück navigieren". Adjusted some values for consistency, such as "About electrifier" to "über electrifier", and removed an extra space in the XML schema. In `ShellPage.xaml`, modified `AutomationProperties.Name` attributes for `NavigationViewItem` elements to include a "Nav2" prefix, reflecting changes in navigation structure or functionality.
1 parent c2f9097 commit e62c1bd

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

src/electrifier/Strings/de-de/Resources.resw

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
62-
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
63-
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
6463
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6564
<xsd:element name="root" msdata:IsDataSet="true">
6665
<xsd:complexType>
@@ -125,7 +124,7 @@
125124
<value>electrifier</value>
126125
</data>
127126
<data name="Shell_Main.Content" xml:space="preserve">
128-
<value>Workbench</value>
127+
<value>Werkbank</value>
129128
</data>
130129
<data name="WebView_Loading.Text" xml:space="preserve">
131130
<value>Loading...</value>
@@ -134,25 +133,25 @@
134133
<value>Seite konnte nicht geladen werden. Prüfen Sie Ihre Verbindung und laden Sie sie erneut: Check connection and reload.</value>
135134
</data>
136135
<data name="BrowserBackButton.[using:Microsoft.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
137-
<value>Browse back in Navigation History</value>
136+
<value>Zurück im Navigations Logbuch</value>
138137
</data>
139138
<data name="BrowserBackButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
140-
<value>Browse back</value>
139+
<value>Zurück navigieren</value>
141140
</data>
142141
<data name="BrowserForwardButton.[using:Microsoft.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
143-
<value>Browse forward in Navigation History</value>
142+
<value>Vorwärts im Navigation Logbuch</value>
144143
</data>
145144
<data name="BrowserForwardButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
146-
<value>Browse forward</value>
145+
<value>Nach Vorne navigieren</value>
147146
</data>
148147
<data name="WebView_Reload.Content" xml:space="preserve">
149148
<value>Reload</value>
150149
</data>
151150
<data name="ReloadButton.[using:Microsoft.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
152-
<value>Reload</value>
151+
<value>Aktualisieren</value>
153152
</data>
154153
<data name="ReloadButton.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
155-
<value>Reload</value>
154+
<value>Aktualisieren</value>
156155
</data>
157156
<data name="OpenInBrowserButton.[using:Microsoft.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
158157
<value>Open in browser</value>
@@ -161,10 +160,10 @@
161160
<value>Open in browser</value>
162161
</data>
163162
<data name="Shell_WebView.Content" xml:space="preserve">
164-
<value>Web Browser</value>
163+
<value>Browser...</value>
165164
</data>
166165
<data name="Shell_FileManagement.Content" xml:space="preserve">
167-
<value>New Shell...</value>
166+
<value>Neue Shell...</value>
168167
</data>
169168
<data name="Settings_Personalization.Text" xml:space="preserve">
170169
<value>Personalization</value>
@@ -173,16 +172,16 @@
173172
<value>Theme</value>
174173
</data>
175174
<data name="Settings_Theme_Light.Content" xml:space="preserve">
176-
<value>Light</value>
175+
<value>Hell</value>
177176
</data>
178177
<data name="Settings_Theme_Dark.Content" xml:space="preserve">
179-
<value>Dark</value>
178+
<value>Dunkel</value>
180179
</data>
181180
<data name="Settings_Theme_Default.Content" xml:space="preserve">
182181
<value>Default</value>
183182
</data>
184183
<data name="Settings_About.Text" xml:space="preserve">
185-
<value>About electrifier</value>
184+
<value>über electrifier</value>
186185
</data>
187186
<data name="Settings_AboutDescription.Text" xml:space="preserve">
188187
<value>electrifier desktop.</value>

src/electrifier/Strings/en-us/Resources.resw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
<value>Open in browser</value>
161161
</data>
162162
<data name="Shell_WebView.Content" xml:space="preserve">
163-
<value>Web Browser</value>
163+
<value>Browser...</value>
164164
</data>
165165
<data name="Shell_FileManagement.Content" xml:space="preserve">
166166
<value>New Shell...</value>
@@ -181,7 +181,7 @@
181181
<value>Default</value>
182182
</data>
183183
<data name="Settings_About.Text" xml:space="preserve">
184-
<value>About electrifier</value>
184+
<value>about electrifier</value>
185185
</data>
186186
<data name="Settings_AboutDescription.Text" xml:space="preserve">
187187
<value>electrifier desktop.</value>

src/electrifier/Views/ShellPage.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@
6767
</NavigationView.MenuItems>
6868
<NavigationView.PaneFooter>
6969
<StackPanel x:Name="FooterStackPanel" Orientation="Vertical" Visibility="Visible">
70-
<NavigationViewItem Icon="Clock" AutomationProperties.Name="history" />
71-
<NavigationViewItem Icon="Favorite" AutomationProperties.Name="favorite" />
70+
<NavigationViewItem Icon="Clock" AutomationProperties.Name="Nav2History" />
71+
<NavigationViewItem Icon="Favorite" AutomationProperties.Name="Nav2Favorites" />
72+
<NavigationViewItem Icon="Clock" AutomationProperties.Name="Nav2FileManagement" />
73+
<NavigationViewItem Icon="Favorite" AutomationProperties.Name="Nav2Browser" />
7274
</StackPanel>
7375
</NavigationView.PaneFooter>
7476
<i:Interaction.Behaviors>

0 commit comments

Comments
 (0)