Skip to content

Commit a25bedd

Browse files
author
Yair Aichenbaum
committed
Added strings for NavigationToolbar
1 parent 3cb8d9c commit a25bedd

File tree

8 files changed

+173
-12
lines changed

8 files changed

+173
-12
lines changed

Files/MultilingualResources/Files.de-DE.xlf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,30 @@
379379
<source>QuickLook</source>
380380
<target state="new">QuickLook</target>
381381
</trans-unit>
382+
<trans-unit id="NavigationToolbarNewWindow.Text" translate="yes" xml:space="preserve">
383+
<source>New Window</source>
384+
<target state="new">New Window</target>
385+
</trans-unit>
386+
<trans-unit id="NavigationToolbarCopyPath.Text" translate="yes" xml:space="preserve">
387+
<source>Copy Path</source>
388+
<target state="new">Copy Path</target>
389+
</trans-unit>
390+
<trans-unit id="NavigationToolbarPaste.Text" translate="yes" xml:space="preserve">
391+
<source>Paste</source>
392+
<target state="new">Paste</target>
393+
</trans-unit>
394+
<trans-unit id="NavigationToolbarOpenInTerminal.Text" translate="yes" xml:space="preserve">
395+
<source>Open in Terminal...</source>
396+
<target state="new">Open in Terminal...</target>
397+
</trans-unit>
398+
<trans-unit id="NavigationToolbarVisiblePath.PlaceholderText" translate="yes" xml:space="preserve">
399+
<source>Enter a path</source>
400+
<target state="new">Enter a path</target>
401+
</trans-unit>
402+
<trans-unit id="NavigationToolbarSearchReigon.PlaceholderText" translate="yes" xml:space="preserve">
403+
<source>Search</source>
404+
<target state="new">Search</target>
405+
</trans-unit>
382406
</group>
383407
</body>
384408
</file>

Files/MultilingualResources/Files.es-ES.xlf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,30 @@
378378
<source>QuickLook</source>
379379
<target state="new">QuickLook</target>
380380
</trans-unit>
381+
<trans-unit id="NavigationToolbarNewWindow.Text" translate="yes" xml:space="preserve">
382+
<source>New Window</source>
383+
<target state="new">New Window</target>
384+
</trans-unit>
385+
<trans-unit id="NavigationToolbarCopyPath.Text" translate="yes" xml:space="preserve">
386+
<source>Copy Path</source>
387+
<target state="new">Copy Path</target>
388+
</trans-unit>
389+
<trans-unit id="NavigationToolbarPaste.Text" translate="yes" xml:space="preserve">
390+
<source>Paste</source>
391+
<target state="new">Paste</target>
392+
</trans-unit>
393+
<trans-unit id="NavigationToolbarOpenInTerminal.Text" translate="yes" xml:space="preserve">
394+
<source>Open in Terminal...</source>
395+
<target state="new">Open in Terminal...</target>
396+
</trans-unit>
397+
<trans-unit id="NavigationToolbarVisiblePath.PlaceholderText" translate="yes" xml:space="preserve">
398+
<source>Enter a path</source>
399+
<target state="new">Enter a path</target>
400+
</trans-unit>
401+
<trans-unit id="NavigationToolbarSearchReigon.PlaceholderText" translate="yes" xml:space="preserve">
402+
<source>Search</source>
403+
<target state="new">Search</target>
404+
</trans-unit>
381405
</group>
382406
</body>
383407
</file>

Files/MultilingualResources/Files.fr-FR.xlf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,30 @@
378378
<source>QuickLook</source>
379379
<target state="new">QuickLook</target>
380380
</trans-unit>
381+
<trans-unit id="NavigationToolbarNewWindow.Text" translate="yes" xml:space="preserve">
382+
<source>New Window</source>
383+
<target state="new">New Window</target>
384+
</trans-unit>
385+
<trans-unit id="NavigationToolbarCopyPath.Text" translate="yes" xml:space="preserve">
386+
<source>Copy Path</source>
387+
<target state="new">Copy Path</target>
388+
</trans-unit>
389+
<trans-unit id="NavigationToolbarPaste.Text" translate="yes" xml:space="preserve">
390+
<source>Paste</source>
391+
<target state="new">Paste</target>
392+
</trans-unit>
393+
<trans-unit id="NavigationToolbarOpenInTerminal.Text" translate="yes" xml:space="preserve">
394+
<source>Open in Terminal...</source>
395+
<target state="new">Open in Terminal...</target>
396+
</trans-unit>
397+
<trans-unit id="NavigationToolbarVisiblePath.PlaceholderText" translate="yes" xml:space="preserve">
398+
<source>Enter a path</source>
399+
<target state="new">Enter a path</target>
400+
</trans-unit>
401+
<trans-unit id="NavigationToolbarSearchReigon.PlaceholderText" translate="yes" xml:space="preserve">
402+
<source>Search</source>
403+
<target state="new">Search</target>
404+
</trans-unit>
381405
</group>
382406
</body>
383407
</file>

Files/MultilingualResources/Files.nl-NL.xlf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,30 @@
378378
<source>QuickLook</source>
379379
<target state="new">QuickLook</target>
380380
</trans-unit>
381+
<trans-unit id="NavigationToolbarNewWindow.Text" translate="yes" xml:space="preserve">
382+
<source>New Window</source>
383+
<target state="new">New Window</target>
384+
</trans-unit>
385+
<trans-unit id="NavigationToolbarCopyPath.Text" translate="yes" xml:space="preserve">
386+
<source>Copy Path</source>
387+
<target state="new">Copy Path</target>
388+
</trans-unit>
389+
<trans-unit id="NavigationToolbarPaste.Text" translate="yes" xml:space="preserve">
390+
<source>Paste</source>
391+
<target state="new">Paste</target>
392+
</trans-unit>
393+
<trans-unit id="NavigationToolbarOpenInTerminal.Text" translate="yes" xml:space="preserve">
394+
<source>Open in Terminal...</source>
395+
<target state="new">Open in Terminal...</target>
396+
</trans-unit>
397+
<trans-unit id="NavigationToolbarVisiblePath.PlaceholderText" translate="yes" xml:space="preserve">
398+
<source>Enter a path</source>
399+
<target state="new">Enter a path</target>
400+
</trans-unit>
401+
<trans-unit id="NavigationToolbarSearchReigon.PlaceholderText" translate="yes" xml:space="preserve">
402+
<source>Search</source>
403+
<target state="new">Search</target>
404+
</trans-unit>
381405
</group>
382406
</body>
383407
</file>

Files/MultilingualResources/Files.pl-PL.xlf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,30 @@
378378
<source>QuickLook</source>
379379
<target state="new">QuickLook</target>
380380
</trans-unit>
381+
<trans-unit id="NavigationToolbarNewWindow.Text" translate="yes" xml:space="preserve">
382+
<source>New Window</source>
383+
<target state="new">New Window</target>
384+
</trans-unit>
385+
<trans-unit id="NavigationToolbarCopyPath.Text" translate="yes" xml:space="preserve">
386+
<source>Copy Path</source>
387+
<target state="new">Copy Path</target>
388+
</trans-unit>
389+
<trans-unit id="NavigationToolbarPaste.Text" translate="yes" xml:space="preserve">
390+
<source>Paste</source>
391+
<target state="new">Paste</target>
392+
</trans-unit>
393+
<trans-unit id="NavigationToolbarOpenInTerminal.Text" translate="yes" xml:space="preserve">
394+
<source>Open in Terminal...</source>
395+
<target state="new">Open in Terminal...</target>
396+
</trans-unit>
397+
<trans-unit id="NavigationToolbarVisiblePath.PlaceholderText" translate="yes" xml:space="preserve">
398+
<source>Enter a path</source>
399+
<target state="new">Enter a path</target>
400+
</trans-unit>
401+
<trans-unit id="NavigationToolbarSearchReigon.PlaceholderText" translate="yes" xml:space="preserve">
402+
<source>Search</source>
403+
<target state="new">Search</target>
404+
</trans-unit>
381405
</group>
382406
</body>
383407
</file>

Files/MultilingualResources/Files.zh-Hans.xlf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,30 @@
378378
<source>QuickLook</source>
379379
<target state="new">QuickLook</target>
380380
</trans-unit>
381+
<trans-unit id="NavigationToolbarNewWindow.Text" translate="yes" xml:space="preserve">
382+
<source>New Window</source>
383+
<target state="new">New Window</target>
384+
</trans-unit>
385+
<trans-unit id="NavigationToolbarCopyPath.Text" translate="yes" xml:space="preserve">
386+
<source>Copy Path</source>
387+
<target state="new">Copy Path</target>
388+
</trans-unit>
389+
<trans-unit id="NavigationToolbarPaste.Text" translate="yes" xml:space="preserve">
390+
<source>Paste</source>
391+
<target state="new">Paste</target>
392+
</trans-unit>
393+
<trans-unit id="NavigationToolbarOpenInTerminal.Text" translate="yes" xml:space="preserve">
394+
<source>Open in Terminal...</source>
395+
<target state="new">Open in Terminal...</target>
396+
</trans-unit>
397+
<trans-unit id="NavigationToolbarVisiblePath.PlaceholderText" translate="yes" xml:space="preserve">
398+
<source>Enter a path</source>
399+
<target state="new">Enter a path</target>
400+
</trans-unit>
401+
<trans-unit id="NavigationToolbarSearchReigon.PlaceholderText" translate="yes" xml:space="preserve">
402+
<source>Search</source>
403+
<target state="new">Search</target>
404+
</trans-unit>
381405
</group>
382406
</body>
383407
</file>

Files/Strings/en-US/Resources.resw

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,18 @@
144144
<data name="NavigationToolbarNewTab.Text" xml:space="preserve">
145145
<value>New Tab</value>
146146
</data>
147+
<data name="NavigationToolbarNewWindow.Text" xml:space="preserve">
148+
<value>New Window</value>
149+
</data>
150+
<data name="NavigationToolbarCopyPath.Text" xml:space="preserve">
151+
<value>Copy Path</value>
152+
</data>
153+
<data name="NavigationToolbarPaste.Text" xml:space="preserve">
154+
<value>Paste</value>
155+
</data>
156+
<data name="NavigationToolbarOpenInTerminal.Text" xml:space="preserve">
157+
<value>Open in Terminal...</value>
158+
</data>
147159
<data name="PropertiesCreated.Text" xml:space="preserve">
148160
<value>Created:</value>
149161
</data>
@@ -170,6 +182,12 @@
170182
</data>
171183
<data name="RecentItemClearAll.Text" xml:space="preserve">
172184
<value>Clear all items</value>
185+
</data>
186+
<data name="NavigationToolbarVisiblePath.PlaceholderText" xml:space="preserve">
187+
<value>Enter a path</value>
188+
</data>
189+
<data name="NavigationToolbarSearchReigon.PlaceholderText" xml:space="preserve">
190+
<value>Search</value>
173191
</data>
174192
<data name="RecentItemDescription.Text" xml:space="preserve">
175193
<value>Files and folders you've previously accessed will show up here</value>

Files/UserControls/NavigationToolbar/ModernNavigationToolbar.xaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:Custom="using:Microsoft.Toolkit.Uwp.UI.Controls"
66
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7+
xmlns:helpers="using:Files.Helpers"
78
xmlns:local="using:Files.UserControls"
89
xmlns:local1="using:Files"
9-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:helpers="using:Files.Helpers"
10+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1011
d:DesignHeight="80"
1112
d:DesignWidth="800"
1213
mc:Ignorable="d">
@@ -514,6 +515,7 @@
514515
</Grid>
515516
</DataTemplate>
516517
</UserControl.Resources>
518+
517519
<Grid
518520
x:Name="ToolbarGrid"
519521
VerticalAlignment="Stretch"
@@ -614,6 +616,7 @@
614616

615617
<TextBox
616618
x:Name="VisiblePath"
619+
x:Uid="NavigationToolbarVisiblePath"
617620
Padding="4"
618621
HorizontalAlignment="Stretch"
619622
VerticalAlignment="Center"
@@ -685,10 +688,8 @@
685688
FontFamily="Segoe MDL2 Assets"
686689
Visibility="Visible">
687690
<Button.Content>
688-
<FontIcon FontSize="14" Glyph="&#xE710;"/>
691+
<FontIcon FontSize="14" Glyph="&#xE710;" />
689692
</Button.Content>
690-
691-
692693
</Button>
693694

694695
<Button
@@ -699,14 +700,13 @@
699700
FontFamily="Segoe MDL2 Assets"
700701
Visibility="Visible">
701702
<Button.Content>
702-
<FontIcon FontSize="14" Glyph="&#xE721;"/>
703+
<FontIcon FontSize="14" Glyph="&#xE721;" />
703704
</Button.Content>
704-
705-
706705
</Button>
707706

708707
<AutoSuggestBox
709708
x:Name="SearchReigon"
709+
x:Uid="NavigationToolbarSearchReigon"
710710
Grid.Row="2"
711711
Grid.Column="2"
712712
Width="300"
@@ -729,14 +729,13 @@
729729
<Button.Flyout>
730730
<MenuFlyout Placement="BottomEdgeAlignedRight">
731731
<MenuFlyoutItem x:Uid="NavigationToolbarNewTab" Text="New Tab" />
732-
<MenuFlyoutItem Text="New Window" />
733-
<MenuFlyoutItem Text="Copy Path" />
732+
<MenuFlyoutItem x:Uid="NavigationToolbarNewWindow" Text="New Window" />
733+
<MenuFlyoutItem x:Uid="NavigationToolbarCopyPath" Text="Copy Path" />
734734
<MenuFlyoutSeparator />
735-
<MenuFlyoutItem Text="Paste" />
736-
<MenuFlyoutItem Text="Open in Terminal..." />
735+
<MenuFlyoutItem x:Uid="NavigationToolbarPaste" Text="Paste" />
736+
<MenuFlyoutItem x:Uid="NavigationToolbarOpenInTerminal" Text="Open in Terminal..." />
737737
</MenuFlyout>
738738
</Button.Flyout>
739-
740739
</Button>
741740
</StackPanel>
742741
</Grid>

0 commit comments

Comments
 (0)