Skip to content

Commit 37f335c

Browse files
authored
Updated strings (#7992)
1 parent a0062bd commit 37f335c

File tree

101 files changed

+1576
-565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+1576
-565
lines changed

src/Files/Behaviors/StickyHeaderBehavior.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
// See the LICENSE file in the project root for more information.
44

55
using Microsoft.Toolkit.Uwp.UI;
6-
using Microsoft.Toolkit.Uwp.UI.Behaviors;
76
using Microsoft.Toolkit.Uwp.UI.Animations.Expressions;
7+
using Microsoft.Toolkit.Uwp.UI.Behaviors;
8+
using System.Linq;
89
using Windows.Foundation;
10+
using Windows.Foundation.Metadata;
911
using Windows.UI.Composition;
1012
using Windows.UI.Xaml;
1113
using Windows.UI.Xaml.Controls;
1214
using Windows.UI.Xaml.Hosting;
1315
using Windows.UI.Xaml.Input;
1416
using Windows.UI.Xaml.Media;
15-
using Windows.Foundation.Metadata;
16-
using System.Linq;
1717

1818
namespace Files.Behaviors
1919
{

src/Files/Files.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@
10451045
<Content Include="Assets\WSL\ubuntu.svg" />
10461046
<Content Include="Assets\WSL\ubuntupng.png" />
10471047
<Content Include="Properties\Default.rd.xml" />
1048-
<None Include="MultilingualResources\Files.nb-NO.xlf" />
1048+
<XliffResource Include="MultilingualResources\Files.nb-NO.xlf" />
10491049
<XliffResource Include="MultilingualResources\Files.sk-SK.xlf" />
10501050
<None Include="Resources\PreviewPanePropertiesInformation.json">
10511051
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

src/Files/Helpers/BitmapHelper.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
using Windows.Graphics.Imaging;
55
using Windows.Storage;
66
using Windows.Storage.Streams;
7-
using Files.Filesystem;
8-
using Files.Filesystem.StorageItems;
97
using Windows.UI.Xaml.Media.Imaging;
108

119
namespace Files.Helpers

src/Files/Helpers/ExternalResourcesHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System;
33
using System.Collections.Generic;
44
using System.Diagnostics;
5-
using System.IO;
65
using System.Linq;
76
using System.Threading.Tasks;
87
using Windows.Storage;

src/Files/Helpers/FileExtensionHelpers.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ public static bool IsFontFile(string fileExtensionToCheck)
8181
return false;
8282
}
8383

84-
return fileExtensionToCheck.Equals(".fon", StringComparison.OrdinalIgnoreCase) ||
85-
fileExtensionToCheck.Equals(".otf", StringComparison.OrdinalIgnoreCase) ||
86-
fileExtensionToCheck.Equals(".ttc", StringComparison.OrdinalIgnoreCase) ||
87-
fileExtensionToCheck.Equals(".ttf", StringComparison.OrdinalIgnoreCase);
84+
return fileExtensionToCheck.Equals(".fon", StringComparison.OrdinalIgnoreCase) ||
85+
fileExtensionToCheck.Equals(".otf", StringComparison.OrdinalIgnoreCase) ||
86+
fileExtensionToCheck.Equals(".ttc", StringComparison.OrdinalIgnoreCase) ||
87+
fileExtensionToCheck.Equals(".ttf", StringComparison.OrdinalIgnoreCase);
8888
}
8989
}
9090
}

src/Files/Helpers/MenuFlyoutHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ internal MenuFlyoutSubItemViewModel(string text) : base(text)
6060
#endregion ItemsSource
6161

6262
#region IsVisible
63-
63+
6464
public static bool GetIsVisible(DependencyObject d) => (bool)d.GetValue(IsVisibleProperty);
6565

6666
public static void SetIsVisible(DependencyObject d, bool value) => d.SetValue(IsVisibleProperty, value);
@@ -75,7 +75,7 @@ private static void OnIsVisiblePropertyChanged(DependencyObject d, DependencyPro
7575
}
7676

7777
var boolValue = (bool)e.NewValue;
78-
78+
7979
// hide the MenuFlyout if it's bool is false.
8080
if (!boolValue)
8181
flyout.Hide();

src/Files/Helpers/StorageSenseHelper.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
62
using Windows.Foundation.Collections;
73
using Windows.Foundation.Metadata;
84
using Windows.System;

src/Files/Helpers/Win32Helpers.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Files.Extensions;
2-
using Newtonsoft.Json;
32
using System.Collections.Generic;
43
using System.Diagnostics;
54
using System.Linq;

src/Files/MultilingualResources/Files.af.xlf

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,10 +1924,6 @@
19241924
<source>Item count</source>
19251925
<target state="translated">Item telling</target>
19261926
</trans-unit>
1927-
<trans-unit id="HorizontalMultitaskingControlCloseTabsToTheRight.Text" translate="yes" xml:space="preserve">
1928-
<source>Close tabs to the right</source>
1929-
<target state="translated">Sluit duimgidse aan die regterkant</target>
1930-
</trans-unit>
19311927
<trans-unit id="StatusDeletionFailed" translate="yes" xml:space="preserve">
19321928
<source>Deletion Failed</source>
19331929
<target state="translated">Skrapping het Misluk</target>
@@ -3497,6 +3493,30 @@ Ons gebruik App Center om tred te hou met programgebruik, foute te vind en ongel
34973493
<source>Open in</source>
34983494
<target state="new">Open in</target>
34993495
</trans-unit>
3496+
<trans-unit id="RotateLeft" translate="yes" xml:space="preserve">
3497+
<source>Rotate left</source>
3498+
<target state="new">Rotate left</target>
3499+
</trans-unit>
3500+
<trans-unit id="RotateRight" translate="yes" xml:space="preserve">
3501+
<source>Rotate right</source>
3502+
<target state="new">Rotate right</target>
3503+
</trans-unit>
3504+
<trans-unit id="Install" translate="yes" xml:space="preserve">
3505+
<source>Install</source>
3506+
<target state="new">Install</target>
3507+
</trans-unit>
3508+
<trans-unit id="CloseTabsToTheLeft" translate="yes" xml:space="preserve">
3509+
<source>Close tabs to the left</source>
3510+
<target state="new">Close tabs to the left</target>
3511+
</trans-unit>
3512+
<trans-unit id="CloseTabsToTheRight" translate="yes" xml:space="preserve">
3513+
<source>Close tabs to the right</source>
3514+
<target state="new">Close tabs to the right</target>
3515+
</trans-unit>
3516+
<trans-unit id="CloseOthers" translate="yes" xml:space="preserve">
3517+
<source>Close others</source>
3518+
<target state="new">Close others</target>
3519+
</trans-unit>
35003520
</group>
35013521
</body>
35023522
</file>

src/Files/MultilingualResources/Files.ar.xlf

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,10 +1794,6 @@
17941794
<source>Would you like to continue as administrator?</source>
17951795
<target state="translated">هل ترغب في الاستمرار كمسؤول؟</target>
17961796
</trans-unit>
1797-
<trans-unit id="HorizontalMultitaskingControlCloseTabsToTheRight.Text" translate="yes" xml:space="preserve">
1798-
<source>Close tabs to the right</source>
1799-
<target state="needs-review-translation" state-qualifier="tm-suggestion">إغلاق علامات التبويب على اليسار</target>
1800-
</trans-unit>
18011797
<trans-unit id="FullTrustStatusTeachingTip.Title" translate="yes" xml:space="preserve">
18021798
<source>Administrator</source>
18031799
<target state="translated" state-qualifier="tm-suggestion">المسؤول</target>
@@ -3514,6 +3510,30 @@ We use App Center to track which settings are being used, find bugs, and fix cra
35143510
<source>Open in</source>
35153511
<target state="new">Open in</target>
35163512
</trans-unit>
3513+
<trans-unit id="RotateLeft" translate="yes" xml:space="preserve">
3514+
<source>Rotate left</source>
3515+
<target state="new">Rotate left</target>
3516+
</trans-unit>
3517+
<trans-unit id="RotateRight" translate="yes" xml:space="preserve">
3518+
<source>Rotate right</source>
3519+
<target state="new">Rotate right</target>
3520+
</trans-unit>
3521+
<trans-unit id="Install" translate="yes" xml:space="preserve">
3522+
<source>Install</source>
3523+
<target state="new">Install</target>
3524+
</trans-unit>
3525+
<trans-unit id="CloseTabsToTheLeft" translate="yes" xml:space="preserve">
3526+
<source>Close tabs to the left</source>
3527+
<target state="new">Close tabs to the left</target>
3528+
</trans-unit>
3529+
<trans-unit id="CloseTabsToTheRight" translate="yes" xml:space="preserve">
3530+
<source>Close tabs to the right</source>
3531+
<target state="new">Close tabs to the right</target>
3532+
</trans-unit>
3533+
<trans-unit id="CloseOthers" translate="yes" xml:space="preserve">
3534+
<source>Close others</source>
3535+
<target state="new">Close others</target>
3536+
</trans-unit>
35173537
</group>
35183538
</body>
35193539
</file>

0 commit comments

Comments
 (0)