Skip to content

Commit 5cd2700

Browse files
committed
Localize
1 parent 4b0b85f commit 5cd2700

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/Files.App/Strings/en-US/Resources.resw

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4022,4 +4022,11 @@
40224022
<data name="ShowShelfPane" xml:space="preserve">
40234023
<value>Show Shelf Pane</value>
40244024
</data>
4025+
<data name="Shelf" xml:space="preserve">
4026+
<value>Shelf</value>
4027+
<comment>'Shelf' refers to the Shelf Pane feature, where users can conveniently drag and drop files for quick access and perform bulk actions with ease.</comment>
4028+
</data>
4029+
<data name="ClearItems" xml:space="preserve">
4030+
<value>Clear items</value>
4031+
</data>
40254032
</root>

src/Files.App/UserControls/Pane/ShelfPane.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
xmlns:converters="using:Files.App.Converters"
77
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
88
xmlns:data="using:Files.App.Data.Items"
9+
xmlns:helpers="using:Files.App.Helpers"
910
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1011
mc:Ignorable="d">
1112

@@ -41,7 +42,7 @@
4142
<TextBlock
4243
HorizontalAlignment="Center"
4344
Opacity="0.8"
44-
Text="Your Shelf" />
45+
Text="{helpers:ResourceString Name=Shelf}" />
4546
</Border>
4647

4748
<!-- Items List -->
@@ -70,7 +71,7 @@
7071
HorizontalAlignment="Center"
7172
VerticalAlignment="Center"
7273
Command="{x:Bind ClearCommand, Mode=OneWay}"
73-
Content="Clear Items" />
74+
Content="{helpers:ResourceString Name=ClearItems}" />
7475
</StackPanel>
7576
</Grid>
7677
</UserControl>

0 commit comments

Comments
 (0)