Skip to content

Commit 577ab9d

Browse files
authored
Tweaked the header template for the settings pages (#2073)
1 parent 9b5cffc commit 577ab9d

36 files changed

+567
-631
lines changed

Files/App.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<FontFamily x:Key="RecycleBinIcons">/Assets/Custom Glyphs/recyclebin-fabric-glyph.ttf#Fabric MDL2 Assets</FontFamily>
1010
<ResourceDictionary.MergedDictionaries>
1111
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
12+
<ResourceDictionary Source="/ResourceDictionaries/CustomHeaderStyle.xaml" />
1213
<ResourceDictionary>
1314
<ResourceDictionary.ThemeDictionaries>
1415
<ResourceDictionary x:Key="Light">

Files/Files.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,10 @@
467467
<SubType>Designer</SubType>
468468
<Generator>MSBuild:Compile</Generator>
469469
</Page>
470+
<Page Include="ResourceDictionaries\CustomHeaderStyle.xaml">
471+
<SubType>Designer</SubType>
472+
<Generator>MSBuild:Compile</Generator>
473+
</Page>
470474
<Page Include="ResourceDictionaries\PropertiesStyles.xaml">
471475
<SubType>Designer</SubType>
472476
<Generator>MSBuild:Compile</Generator>

Files/MultilingualResources/Files.de-DE.xlf

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,6 @@
155155
<source>On Startup</source>
156156
<target state="translated">Beim Start</target>
157157
</trans-unit>
158-
<trans-unit id="SettingsPreferencesPinOneDrive.Text" translate="yes" xml:space="preserve">
159-
<source>Pin OneDrive to the sidebar</source>
160-
<target state="translated">OneDrive an die Seitenleiste anheften</target>
161-
</trans-unit>
162158
<trans-unit id="SettingsPreferencesTerminalApplications.Text" translate="yes" xml:space="preserve">
163159
<source>Terminal Applications</source>
164160
<target state="translated">Terminal Anwendungen</target>
@@ -187,10 +183,6 @@
187183
<source>Permanently delete</source>
188184
<target state="translated">Endgültig löschen</target>
189185
</trans-unit>
190-
<trans-unit id="SettingsPreferencesShowConfirmDeleteDialog.Text" translate="yes" xml:space="preserve">
191-
<source>Show a confirmation dialog when deleting files or folders</source>
192-
<target state="translated">Einen Bestätigungsdialog anzeigen, bevor Dateien oder Ordner gelöscht werden</target>
193-
</trans-unit>
194186
<trans-unit id="SidebarDesktop" translate="yes" xml:space="preserve">
195187
<source>Desktop</source>
196188
<target state="translated">Desktop</target>
@@ -701,10 +693,6 @@
701693
<source>Restore</source>
702694
<target state="translated">Wiederherstellen</target>
703695
</trans-unit>
704-
<trans-unit id="SettingsPreferencesRecycleBin.Text" translate="yes" xml:space="preserve">
705-
<source>Pin Recycle Bin to the sidebar</source>
706-
<target state="translated">Papierkorb an Seitenleiste anheften</target>
707-
</trans-unit>
708696
<trans-unit id="DaysAgo" translate="yes" xml:space="preserve">
709697
<source>{0} days ago</source>
710698
<target state="translated">Vor {0} Tagen</target>
@@ -1164,10 +1152,6 @@
11641152
<source>More</source>
11651153
<target state="translated">Mehr</target>
11661154
</trans-unit>
1167-
<trans-unit id="SettingsPreferencesContextMenu.Text" translate="yes" xml:space="preserve">
1168-
<source>Show all context menu items</source>
1169-
<target state="translated">Alle im Kontextmenü verfügbaren Elemente anzeigen</target>
1170-
</trans-unit>
11711155
<trans-unit id="PropertiesDialogCancelButton.Content" translate="yes" xml:space="preserve">
11721156
<source>Cancel</source>
11731157
<target state="translated">Abbrechen</target>
@@ -1220,10 +1204,6 @@
12201204
<source>Copy location</source>
12211205
<target state="translated">Speicherort kopieren</target>
12221206
</trans-unit>
1223-
<trans-unit id="SettingsPreferencesCopyLocation.Text" translate="yes" xml:space="preserve">
1224-
<source>Show an option to copy the location of the selected item</source>
1225-
<target state="translated">Eine Option anzeigen, um den Speicherort des ausgewählten Elements zu kopieren</target>
1226-
</trans-unit>
12271207
<trans-unit id="VerticalTabViewAddTab.Text" translate="yes" xml:space="preserve">
12281208
<source>Add tab</source>
12291209
<target state="translated">Tab hinzufügen</target>
@@ -1353,6 +1333,14 @@
13531333
<source>View sample profiles</source>
13541334
<target state="new">View sample profiles</target>
13551335
</trans-unit>
1336+
<trans-unit id="SettingsPreferencesAppLanguage.Header" translate="yes" xml:space="preserve">
1337+
<source>App Language</source>
1338+
<target state="new">App Language</target>
1339+
</trans-unit>
1340+
<trans-unit id="SettingsPreferencesTerminalApplications.Header" translate="yes" xml:space="preserve">
1341+
<source>Terminal Applications</source>
1342+
<target state="new">Terminal Applications</target>
1343+
</trans-unit>
13561344
<trans-unit id="SettingsAboutSupportUs.Text" translate="yes" xml:space="preserve">
13571345
<source>Support us</source>
13581346
<target state="new">Support us</target>
@@ -1369,6 +1357,26 @@
13691357
<source>Access Denied</source>
13701358
<target state="new">Access Denied</target>
13711359
</trans-unit>
1360+
<trans-unit id="CopyLocationToggleSwitch.Header" translate="yes" xml:space="preserve">
1361+
<source>Show an option to copy the location of the selected item</source>
1362+
<target state="new">Show an option to copy the location of the selected item</target>
1363+
</trans-unit>
1364+
<trans-unit id="SettingsPreferencesContextMenuSwitch.Header" translate="yes" xml:space="preserve">
1365+
<source>Show all context menu items</source>
1366+
<target state="new">Show all context menu items</target>
1367+
</trans-unit>
1368+
<trans-unit id="SettingsPreferencesPinOneDriveSwitch.Header" translate="yes" xml:space="preserve">
1369+
<source>Pin OneDrive to the sidebar</source>
1370+
<target state="new">Pin OneDrive to the sidebar</target>
1371+
</trans-unit>
1372+
<trans-unit id="SettingsPreferencesRecycleBinSwitch.Header" translate="yes" xml:space="preserve">
1373+
<source>Pin Recycle Bin to the sidebar</source>
1374+
<target state="new">Pin Recycle Bin to the sidebar</target>
1375+
</trans-unit>
1376+
<trans-unit id="SettingsPreferencesShowConfirmDeleteDialogSwitch.Header" translate="yes" xml:space="preserve">
1377+
<source>Show a confirmation dialog when deleting files or folders</source>
1378+
<target state="new">Show a confirmation dialog when deleting files or folders</target>
1379+
</trans-unit>
13721380
</group>
13731381
</body>
13741382
</file>

Files/MultilingualResources/Files.es-ES.xlf

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@
154154
<source>On Startup</source>
155155
<target state="translated">En el inicio</target>
156156
</trans-unit>
157-
<trans-unit id="SettingsPreferencesPinOneDrive.Text" translate="yes" xml:space="preserve">
158-
<source>Pin OneDrive to the sidebar</source>
159-
<target state="translated">Anclar OneDrive a la barra lateral</target>
160-
</trans-unit>
161157
<trans-unit id="SettingsPreferencesTerminalApplications.Text" translate="yes" xml:space="preserve">
162158
<source>Terminal Applications</source>
163159
<target state="translated">Aplicaciones del terminal</target>
@@ -186,10 +182,6 @@
186182
<source>Permanently delete</source>
187183
<target state="translated">Eliminar permanentemente</target>
188184
</trans-unit>
189-
<trans-unit id="SettingsPreferencesShowConfirmDeleteDialog.Text" translate="yes" xml:space="preserve">
190-
<source>Show a confirmation dialog when deleting files or folders</source>
191-
<target state="translated">Mostrar cuadro de diálogo para confirmar eliminación</target>
192-
</trans-unit>
193185
<trans-unit id="SidebarDesktop" translate="yes" xml:space="preserve">
194186
<source>Desktop</source>
195187
<target state="translated">Escritorio</target>
@@ -698,10 +690,6 @@
698690
<source>Restore</source>
699691
<target state="translated">Restaurar</target>
700692
</trans-unit>
701-
<trans-unit id="SettingsPreferencesRecycleBin.Text" translate="yes" xml:space="preserve">
702-
<source>Pin Recycle Bin to the sidebar</source>
703-
<target state="translated">Anclar la papelera de reciclaje a la barra lateral</target>
704-
</trans-unit>
705693
<trans-unit id="DaysAgo" translate="yes" xml:space="preserve">
706694
<source>{0} days ago</source>
707695
<target state="translated">Hace {0} días</target>
@@ -1158,10 +1146,6 @@
11581146
<source>More</source>
11591147
<target state="translated">Más</target>
11601148
</trans-unit>
1161-
<trans-unit id="SettingsPreferencesContextMenu.Text" translate="yes" xml:space="preserve">
1162-
<source>Show all context menu items</source>
1163-
<target state="translated">Mostrar todos los elementos del menú contextual</target>
1164-
</trans-unit>
11651149
<trans-unit id="PropertiesDialogCancelButton.Content" translate="yes" xml:space="preserve">
11661150
<source>Cancel</source>
11671151
<target state="translated">Cancelar</target>
@@ -1214,10 +1198,6 @@
12141198
<source>Copy location</source>
12151199
<target state="translated">Copiar ubicación</target>
12161200
</trans-unit>
1217-
<trans-unit id="SettingsPreferencesCopyLocation.Text" translate="yes" xml:space="preserve">
1218-
<source>Show an option to copy the location of the selected item</source>
1219-
<target state="translated">Mostrar una opción en el menu contextual para copiar la ubicación de un archivo seleccionado</target>
1220-
</trans-unit>
12211201
<trans-unit id="VerticalTabViewAddTab.Text" translate="yes" xml:space="preserve">
12221202
<source>Add tab</source>
12231203
<target state="translated">Añadir pestaña</target>
@@ -1347,6 +1327,14 @@
13471327
<source>View sample profiles</source>
13481328
<target state="new">View sample profiles</target>
13491329
</trans-unit>
1330+
<trans-unit id="SettingsPreferencesAppLanguage.Header" translate="yes" xml:space="preserve">
1331+
<source>App Language</source>
1332+
<target state="new">App Language</target>
1333+
</trans-unit>
1334+
<trans-unit id="SettingsPreferencesTerminalApplications.Header" translate="yes" xml:space="preserve">
1335+
<source>Terminal Applications</source>
1336+
<target state="new">Terminal Applications</target>
1337+
</trans-unit>
13501338
<trans-unit id="SettingsAboutSupportUs.Text" translate="yes" xml:space="preserve">
13511339
<source>Support us</source>
13521340
<target state="new">Support us</target>
@@ -1363,6 +1351,26 @@
13631351
<source>Access Denied</source>
13641352
<target state="new">Access Denied</target>
13651353
</trans-unit>
1354+
<trans-unit id="CopyLocationToggleSwitch.Header" translate="yes" xml:space="preserve">
1355+
<source>Show an option to copy the location of the selected item</source>
1356+
<target state="new">Show an option to copy the location of the selected item</target>
1357+
</trans-unit>
1358+
<trans-unit id="SettingsPreferencesContextMenuSwitch.Header" translate="yes" xml:space="preserve">
1359+
<source>Show all context menu items</source>
1360+
<target state="new">Show all context menu items</target>
1361+
</trans-unit>
1362+
<trans-unit id="SettingsPreferencesPinOneDriveSwitch.Header" translate="yes" xml:space="preserve">
1363+
<source>Pin OneDrive to the sidebar</source>
1364+
<target state="new">Pin OneDrive to the sidebar</target>
1365+
</trans-unit>
1366+
<trans-unit id="SettingsPreferencesRecycleBinSwitch.Header" translate="yes" xml:space="preserve">
1367+
<source>Pin Recycle Bin to the sidebar</source>
1368+
<target state="new">Pin Recycle Bin to the sidebar</target>
1369+
</trans-unit>
1370+
<trans-unit id="SettingsPreferencesShowConfirmDeleteDialogSwitch.Header" translate="yes" xml:space="preserve">
1371+
<source>Show a confirmation dialog when deleting files or folders</source>
1372+
<target state="new">Show a confirmation dialog when deleting files or folders</target>
1373+
</trans-unit>
13661374
</group>
13671375
</body>
13681376
</file>

Files/MultilingualResources/Files.fr-FR.xlf

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@
154154
<source>On Startup</source>
155155
<target state="translated">Au démarrage</target>
156156
</trans-unit>
157-
<trans-unit id="SettingsPreferencesPinOneDrive.Text" translate="yes" xml:space="preserve">
158-
<source>Pin OneDrive to the sidebar</source>
159-
<target state="translated">Épingler OneDrive à la barre latérale</target>
160-
</trans-unit>
161157
<trans-unit id="SettingsPreferencesTerminalApplications.Text" translate="yes" xml:space="preserve">
162158
<source>Terminal Applications</source>
163159
<target state="translated">Applications en ligne de commandes</target>
@@ -186,10 +182,6 @@
186182
<source>Permanently delete</source>
187183
<target state="translated">Supprimer de définitivement</target>
188184
</trans-unit>
189-
<trans-unit id="SettingsPreferencesShowConfirmDeleteDialog.Text" translate="yes" xml:space="preserve">
190-
<source>Show a confirmation dialog when deleting files or folders</source>
191-
<target state="final">Demander une confirmation en supprimant des fichiers ou dossiers</target>
192-
</trans-unit>
193185
<trans-unit id="SidebarDesktop" translate="yes" xml:space="preserve">
194186
<source>Desktop</source>
195187
<target state="translated" state-qualifier="tm-suggestion">Bureau</target>
@@ -698,10 +690,6 @@
698690
<source>Restore</source>
699691
<target state="translated" state-qualifier="tm-suggestion">Restaurer</target>
700692
</trans-unit>
701-
<trans-unit id="SettingsPreferencesRecycleBin.Text" translate="yes" xml:space="preserve">
702-
<source>Pin Recycle Bin to the sidebar</source>
703-
<target state="translated">Épingler la Corbeille à la barre des latérale</target>
704-
</trans-unit>
705693
<trans-unit id="DaysAgo" translate="yes" xml:space="preserve">
706694
<source>{0} days ago</source>
707695
<target state="translated" state-qualifier="tm-suggestion">Il y a {0} jours</target>
@@ -1158,10 +1146,6 @@
11581146
<source>More</source>
11591147
<target state="translated">Plus</target>
11601148
</trans-unit>
1161-
<trans-unit id="SettingsPreferencesContextMenu.Text" translate="yes" xml:space="preserve">
1162-
<source>Show all context menu items</source>
1163-
<target state="translated">Afficher tous les éléments du menu contextuel</target>
1164-
</trans-unit>
11651149
<trans-unit id="PropertiesDialogCancelButton.Content" translate="yes" xml:space="preserve">
11661150
<source>Cancel</source>
11671151
<target state="translated">Annuler</target>
@@ -1215,10 +1199,6 @@
12151199
<source>Copy location</source>
12161200
<target state="translated" state-qualifier="tm-suggestion">Copier l'emplacement</target>
12171201
</trans-unit>
1218-
<trans-unit id="SettingsPreferencesCopyLocation.Text" translate="yes" xml:space="preserve">
1219-
<source>Show an option to copy the location of the selected item</source>
1220-
<target state="translated">Affichier une option pour copier l'emplacement de l'élément</target>
1221-
</trans-unit>
12221202
<trans-unit id="VerticalTabViewAddTab.Text" translate="yes" xml:space="preserve">
12231203
<source>Add tab</source>
12241204
<target state="translated" state-qualifier="tm-suggestion">Ajouter un onglet</target>
@@ -1347,6 +1327,14 @@
13471327
<source>View sample profiles</source>
13481328
<target state="new">View sample profiles</target>
13491329
</trans-unit>
1330+
<trans-unit id="SettingsPreferencesAppLanguage.Header" translate="yes" xml:space="preserve">
1331+
<source>App Language</source>
1332+
<target state="new">App Language</target>
1333+
</trans-unit>
1334+
<trans-unit id="SettingsPreferencesTerminalApplications.Header" translate="yes" xml:space="preserve">
1335+
<source>Terminal Applications</source>
1336+
<target state="new">Terminal Applications</target>
1337+
</trans-unit>
13501338
<trans-unit id="SettingsAboutSupportUs.Text" translate="yes" xml:space="preserve">
13511339
<source>Support us</source>
13521340
<target state="new">Support us</target>
@@ -1363,6 +1351,26 @@
13631351
<source>Access Denied</source>
13641352
<target state="new">Access Denied</target>
13651353
</trans-unit>
1354+
<trans-unit id="CopyLocationToggleSwitch.Header" translate="yes" xml:space="preserve">
1355+
<source>Show an option to copy the location of the selected item</source>
1356+
<target state="new">Show an option to copy the location of the selected item</target>
1357+
</trans-unit>
1358+
<trans-unit id="SettingsPreferencesContextMenuSwitch.Header" translate="yes" xml:space="preserve">
1359+
<source>Show all context menu items</source>
1360+
<target state="new">Show all context menu items</target>
1361+
</trans-unit>
1362+
<trans-unit id="SettingsPreferencesPinOneDriveSwitch.Header" translate="yes" xml:space="preserve">
1363+
<source>Pin OneDrive to the sidebar</source>
1364+
<target state="new">Pin OneDrive to the sidebar</target>
1365+
</trans-unit>
1366+
<trans-unit id="SettingsPreferencesRecycleBinSwitch.Header" translate="yes" xml:space="preserve">
1367+
<source>Pin Recycle Bin to the sidebar</source>
1368+
<target state="new">Pin Recycle Bin to the sidebar</target>
1369+
</trans-unit>
1370+
<trans-unit id="SettingsPreferencesShowConfirmDeleteDialogSwitch.Header" translate="yes" xml:space="preserve">
1371+
<source>Show a confirmation dialog when deleting files or folders</source>
1372+
<target state="new">Show a confirmation dialog when deleting files or folders</target>
1373+
</trans-unit>
13661374
</group>
13671375
</body>
13681376
</file>

0 commit comments

Comments
 (0)