Skip to content

Commit 6e3103c

Browse files
authored
CodeMaid (#2018)
1 parent 97164e5 commit 6e3103c

39 files changed

+1574
-487
lines changed

Files.Launcher/Win32API_ContextMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private static string GetCommandString(Shell32.IContextMenu cMenu, uint offset,
290290
{
291291
if (offset > 5000)
292292
{
293-
// Hackish workaround to avoid an AccessViolationException on some items,
293+
// Hackish workaround to avoid an AccessViolationException on some items,
294294
// notably the "Run with graphic processor" menu item of NVidia cards
295295
return null;
296296
}

Files/Commands/Paste.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private static async Task PasteItem(DataPackageView packageView, string destinat
5959
// Should this be done in ModernShellPage?
6060
return;
6161
}
62-
62+
6363
IReadOnlyList<IStorageItem> itemsToPaste = await packageView.GetStorageItemsAsync();
6464

6565
if (AppInstance.FilesystemViewModel.WorkingDirectory.StartsWith(App.AppSettings.RecycleBinPath))

Files/MultilingualResources/Files.de-DE.xlf

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@
5151
<target state="translated">Zuletzt verwendete Dateien</target>
5252
</trans-unit>
5353
<trans-unit id="SettingsAboutAppName.Text" translate="yes" xml:space="preserve">
54-
<source>Files UWP</source>
55-
<target state="translated">Files UWP</target>
54+
<source>Files</source>
55+
<target state="needs-review-translation">Files UWP</target>
56+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
5657
</trans-unit>
5758
<trans-unit id="SettingsAboutLicense.Text" translate="yes" xml:space="preserve">
5859
<source>License</source>
@@ -1090,16 +1091,18 @@
10901091
<target state="translated">Mitwirkende</target>
10911092
</trans-unit>
10921093
<trans-unit id="SettingsAboutContributorsDescription.Text" translate="yes" xml:space="preserve">
1093-
<source>See who contributed to Files UWP</source>
1094-
<target state="translated">Siehe wer an Files UWP mitgewirkt hat</target>
1094+
<source>See who contributed to Files</source>
1095+
<target state="needs-review-translation">Siehe wer an Files UWP mitgewirkt hat</target>
1096+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
10951097
</trans-unit>
10961098
<trans-unit id="SettingsAboutReleaseNotes.Text" translate="yes" xml:space="preserve">
10971099
<source>Release Notes</source>
10981100
<target state="translated">Release Notes</target>
10991101
</trans-unit>
11001102
<trans-unit id="SettingsAboutReleaseNotesDescription.Text" translate="yes" xml:space="preserve">
1101-
<source>Find out what's new</source>
1102-
<target state="translated">Finde heraus, welche Neuigkeiten es gibt</target>
1103+
<source>Find out what's new in Files</source>
1104+
<target state="needs-review-translation">Finde heraus, welche Neuigkeiten es gibt</target>
1105+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
11031106
</trans-unit>
11041107
<trans-unit id="InvalidItemDialogContent" translate="yes" xml:space="preserve">
11051108
<source>The item referenced is either invalid or inaccessible.{0}Error message:{0}{1}</source>
@@ -1243,7 +1246,7 @@
12431246
</trans-unit>
12441247
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
12451248
<source>Layout mode</source>
1246-
<target state="new">Layout mode</target>
1249+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Layoutmodus</target>
12471250
</trans-unit>
12481251
</group>
12491252
</body>

Files/MultilingualResources/Files.es-ES.xlf

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@
5151
<target state="translated">Recientes</target>
5252
</trans-unit>
5353
<trans-unit id="SettingsAboutAppName.Text" translate="yes" xml:space="preserve">
54-
<source>Files UWP</source>
55-
<target state="translated">Files UWP</target>
54+
<source>Files</source>
55+
<target state="needs-review-translation">Files UWP</target>
56+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
5657
</trans-unit>
5758
<trans-unit id="SettingsAboutLicense.Text" translate="yes" xml:space="preserve">
5859
<source>License</source>
@@ -1068,16 +1069,18 @@
10681069
<target state="translated">Contribuidores</target>
10691070
</trans-unit>
10701071
<trans-unit id="SettingsAboutContributorsDescription.Text" translate="yes" xml:space="preserve">
1071-
<source>See who contributed to Files UWP</source>
1072-
<target state="translated">Ver quiénes contribuyen a Files UWP</target>
1072+
<source>See who contributed to Files</source>
1073+
<target state="needs-review-translation">Ver quiénes contribuyen a Files UWP</target>
1074+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
10731075
</trans-unit>
10741076
<trans-unit id="SettingsAboutReleaseNotes.Text" translate="yes" xml:space="preserve">
10751077
<source>Release Notes</source>
10761078
<target state="translated">Notas de publicación</target>
10771079
</trans-unit>
10781080
<trans-unit id="SettingsAboutReleaseNotesDescription.Text" translate="yes" xml:space="preserve">
1079-
<source>Find out what's new</source>
1080-
<target state="translated">Ver las novedades de esta versión</target>
1081+
<source>Find out what's new in Files</source>
1082+
<target state="needs-review-translation">Ver las novedades de esta versión</target>
1083+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
10811084
</trans-unit>
10821085
<trans-unit id="InvalidItemDialogContent" translate="yes" xml:space="preserve">
10831086
<source>The item referenced is either invalid or inaccessible.{0}Error message:{0}{1}</source>
@@ -1137,7 +1140,7 @@
11371140
</trans-unit>
11381141
<trans-unit id="RenameError.ItemDeleted.Title" translate="yes" xml:space="preserve">
11391142
<source>Item no longer exists</source>
1140-
<target state="new">Item no longer exists</target>
1143+
<target state="needs-review-translation" state-qualifier="tm-suggestion">El elemento ya no existe</target>
11411144
</trans-unit>
11421145
<trans-unit id="RenameError.NameInvalid.Text" translate="yes" xml:space="preserve">
11431146
<source>The name specified was invalid. Please check the desired item name and try again.</source>
@@ -1241,7 +1244,7 @@
12411244
</trans-unit>
12421245
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
12431246
<source>Layout mode</source>
1244-
<target state="new">Layout mode</target>
1247+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Modo de diseño</target>
12451248
</trans-unit>
12461249
</group>
12471250
</body>

Files/MultilingualResources/Files.fr-FR.xlf

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@
5151
<target state="translated">Récents</target>
5252
</trans-unit>
5353
<trans-unit id="SettingsAboutAppName.Text" translate="yes" xml:space="preserve">
54-
<source>Files UWP</source>
55-
<target state="translated">Files UWP</target>
54+
<source>Files</source>
55+
<target state="needs-review-translation">Files UWP</target>
56+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
5657
</trans-unit>
5758
<trans-unit id="SettingsAboutLicense.Text" translate="yes" xml:space="preserve">
5859
<source>License</source>
@@ -1020,11 +1021,11 @@
10201021
</trans-unit>
10211022
<trans-unit id="PropertiesShortcutItemWorkingDir.Text" translate="yes" xml:space="preserve">
10221023
<source>Working directory:</source>
1023-
<target state="new">Working directory:</target>
1024+
<target state="needs-review-translation" state-qualifier="tm-suggestion">_Répertoire de travail :</target>
10241025
</trans-unit>
10251026
<trans-unit id="PropertiesShortcutTypeApplication" translate="yes" xml:space="preserve">
10261027
<source>Application</source>
1027-
<target state="new">Application</target>
1028+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Candidature</target>
10281029
</trans-unit>
10291030
<trans-unit id="PropertiesShortcutTypeFile" translate="yes" xml:space="preserve">
10301031
<source>File</source>
@@ -1087,16 +1088,18 @@
10871088
<target state="translated">Contributeurs</target>
10881089
</trans-unit>
10891090
<trans-unit id="SettingsAboutContributorsDescription.Text" translate="yes" xml:space="preserve">
1090-
<source>See who contributed to Files UWP</source>
1091-
<target state="translated">Voir qui a contribué à Files UWP</target>
1091+
<source>See who contributed to Files</source>
1092+
<target state="needs-review-translation">Voir qui a contribué à Files UWP</target>
1093+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
10921094
</trans-unit>
10931095
<trans-unit id="SettingsAboutReleaseNotes.Text" translate="yes" xml:space="preserve">
10941096
<source>Release Notes</source>
10951097
<target state="translated">Notes de version</target>
10961098
</trans-unit>
10971099
<trans-unit id="SettingsAboutReleaseNotesDescription.Text" translate="yes" xml:space="preserve">
1098-
<source>Find out what's new</source>
1099-
<target state="translated">Découvrez les nouveautés</target>
1100+
<source>Find out what's new in Files</source>
1101+
<target state="needs-review-translation">Découvrez les nouveautés</target>
1102+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
11001103
</trans-unit>
11011104
<trans-unit id="InvalidItemDialogContent" translate="yes" xml:space="preserve">
11021105
<source>The item referenced is either invalid or inaccessible.{0}Error message:{0}{1}</source>
@@ -1112,7 +1115,7 @@
11121115
</trans-unit>
11131116
<trans-unit id="ShareDialogFailMessage" translate="yes" xml:space="preserve">
11141117
<source>There's nothing to share right now...</source>
1115-
<target state="new">There's nothing to share right now...</target>
1118+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Aucun élément à partager pour le moment.</target>
11161119
</trans-unit>
11171120
<trans-unit id="ShareDialogMultipleItemsDescription" translate="yes" xml:space="preserve">
11181121
<source>The items you've selected will be shared</source>
@@ -1124,7 +1127,7 @@
11241127
</trans-unit>
11251128
<trans-unit id="ShareDialogTitle" translate="yes" xml:space="preserve">
11261129
<source>Sharing {0}</source>
1127-
<target state="new">Sharing {0}</target>
1130+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Partage de {0}</target>
11281131
</trans-unit>
11291132
<trans-unit id="ShareDialogTitleMultipleItems" translate="yes" xml:space="preserve">
11301133
<source>Sharing {0} {1}</source>
@@ -1136,7 +1139,7 @@
11361139
</trans-unit>
11371140
<trans-unit id="RenameError.ItemDeleted.Title" translate="yes" xml:space="preserve">
11381141
<source>Item no longer exists</source>
1139-
<target state="new">Item no longer exists</target>
1142+
<target state="needs-review-translation" state-qualifier="tm-suggestion">L’élément n’existe plus</target>
11401143
</trans-unit>
11411144
<trans-unit id="RenameError.NameInvalid.Text" translate="yes" xml:space="preserve">
11421145
<source>The name specified was invalid. Please check the desired item name and try again.</source>
@@ -1168,11 +1171,11 @@
11681171
</trans-unit>
11691172
<trans-unit id="ConfirmDeleteDialogDeleteOneItem.Text" translate="yes" xml:space="preserve">
11701173
<source>Are you sure you want to delete this item?</source>
1171-
<target state="new">Are you sure you want to delete this item?</target>
1174+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Voulez-vous vraiment supprimer cet élément ?</target>
11721175
</trans-unit>
11731176
<trans-unit id="ConfirmDeleteDialogDeleteMultipleItems.Text" translate="yes" xml:space="preserve">
11741177
<source>Are you sure you want to delete these {0} items?</source>
1175-
<target state="new">Are you sure you want to delete these {0} items?</target>
1178+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Voulez-vous vraiment supprimer ces éléments {0} ?</target>
11761179
</trans-unit>
11771180
<trans-unit id="SettingsMultitaskingAdaptive.Content" translate="yes" xml:space="preserve">
11781181
<source>Adaptive (Recommended)</source>
@@ -1184,63 +1187,63 @@
11841187
</trans-unit>
11851188
<trans-unit id="SettingsMultitaskingHorizontal.Content" translate="yes" xml:space="preserve">
11861189
<source>Horizontal</source>
1187-
<target state="new">Horizontal</target>
1190+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Horizontalement</target>
11881191
</trans-unit>
11891192
<trans-unit id="SettingsMultitaskingHorizontalDescription.Text" translate="yes" xml:space="preserve">
11901193
<source>Always hides the vertical multitasking flyout from the navigation toolbar, and shows the traditional horizontal tabstrip on the app window. This is suited for users who need to keep track of every open app instance at all times.</source>
11911194
<target state="new">Always hides the vertical multitasking flyout from the navigation toolbar, and shows the traditional horizontal tabstrip on the app window. This is suited for users who need to keep track of every open app instance at all times.</target>
11921195
</trans-unit>
11931196
<trans-unit id="SettingsMultitaskingTitle.Text" translate="yes" xml:space="preserve">
11941197
<source>Multitasking</source>
1195-
<target state="new">Multitasking</target>
1198+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Multitâche</target>
11961199
</trans-unit>
11971200
<trans-unit id="SettingsMultitaskingVertical.Content" translate="yes" xml:space="preserve">
11981201
<source>Vertical</source>
1199-
<target state="new">Vertical</target>
1202+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Verticale</target>
12001203
</trans-unit>
12011204
<trans-unit id="SettingsMultitaskingVerticalDescription.Text" translate="yes" xml:space="preserve">
12021205
<source>Collapses the horizontal list of app instances into a vertical flyout on the navigation toolbar, designed for users who want a clean app interface with on-demand access to a multitasking experience.</source>
12031206
<target state="new">Collapses the horizontal list of app instances into a vertical flyout on the navigation toolbar, designed for users who want a clean app interface with on-demand access to a multitasking experience.</target>
12041207
</trans-unit>
12051208
<trans-unit id="SettingsNavMultitasking.Content" translate="yes" xml:space="preserve">
12061209
<source>Multitasking</source>
1207-
<target state="new">Multitasking</target>
1210+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Multitâche</target>
12081211
</trans-unit>
12091212
<trans-unit id="BaseLayoutItemContextFlyoutSetAs.Text" translate="yes" xml:space="preserve">
12101213
<source>Set as</source>
1211-
<target state="new">Set as</target>
1214+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Définir comme</target>
12121215
</trans-unit>
12131216
<trans-unit id="BaseLayoutItemContextFlyoutCopyLocation.Text" translate="yes" xml:space="preserve">
12141217
<source>Copy location</source>
1215-
<target state="new">Copy location</target>
1218+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Copier l'emplacement</target>
12161219
</trans-unit>
12171220
<trans-unit id="SettingsPreferencesCopyLocation.Text" translate="yes" xml:space="preserve">
12181221
<source>Show an option to copy the location of the selected item</source>
12191222
<target state="new">Show an option to copy the location of the selected item</target>
12201223
</trans-unit>
12211224
<trans-unit id="VerticalTabViewAddTab.Text" translate="yes" xml:space="preserve">
12221225
<source>Add tab</source>
1223-
<target state="new">Add tab</target>
1226+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Ajouter un onglet</target>
12241227
</trans-unit>
12251228
<trans-unit id="VerticalTabViewHeader.Text" translate="yes" xml:space="preserve">
12261229
<source>Open tabs</source>
1227-
<target state="new">Open tabs</target>
1230+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Ouvrir les onglets</target>
12281231
</trans-unit>
12291232
<trans-unit id="ButtonNo.Content" translate="yes" xml:space="preserve">
12301233
<source>No</source>
1231-
<target state="new">No</target>
1234+
<target state="needs-review-translation" state-qualifier="tm-suggestion">NON</target>
12321235
</trans-unit>
12331236
<trans-unit id="ButtonYes.Content" translate="yes" xml:space="preserve">
12341237
<source>Yes</source>
1235-
<target state="new">Yes</target>
1238+
<target state="needs-review-translation" state-qualifier="tm-suggestion">OUI</target>
12361239
</trans-unit>
12371240
<trans-unit id="RestartNotificationText.Text" translate="yes" xml:space="preserve">
12381241
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
12391242
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
12401243
</trans-unit>
12411244
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
12421245
<source>Layout mode</source>
1243-
<target state="new">Layout mode</target>
1246+
<target state="needs-review-translation" state-qualifier="tm-suggestion">Mode disposition</target>
12441247
</trans-unit>
12451248
</group>
12461249
</body>

0 commit comments

Comments
 (0)