Skip to content

Commit 986518a

Browse files
committed
Rename folders page
1 parent 5110e48 commit 986518a

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/Files.App/Dialogs/SettingsDialog.xaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,21 +104,21 @@
104104
</NavigationViewItem.Icon>
105105
</NavigationViewItem>
106106
<NavigationViewItem
107-
AccessKey="F"
108-
AutomationProperties.AutomationId="SettingsItemFolders"
109-
Content="{helpers:ResourceString Name=Folders}"
107+
AccessKey="L"
108+
AutomationProperties.AutomationId="SettingsItemLayout"
109+
Content="{helpers:ResourceString Name=Layout}"
110110
Tag="2">
111111
<NavigationViewItem.Icon>
112-
<FontIcon Glyph="&#xE8B7;" />
112+
<FontIcon Glyph="&#xE8A9;" />
113113
</NavigationViewItem.Icon>
114114
</NavigationViewItem>
115115
<NavigationViewItem
116-
AccessKey="L"
117-
AutomationProperties.AutomationId="SettingsItemLayout"
118-
Content="{helpers:ResourceString Name=Layout}"
116+
AccessKey="F"
117+
AutomationProperties.AutomationId="SettingsItemFolders"
118+
Content="{helpers:ResourceString Name=FilesAndFolders}"
119119
Tag="3">
120120
<NavigationViewItem.Icon>
121-
<FontIcon Glyph="&#xE8BA;" />
121+
<FontIcon Glyph="&#xE8B7;" />
122122
</NavigationViewItem.Icon>
123123
</NavigationViewItem>
124124
<NavigationViewItem

src/Files.App/Dialogs/SettingsDialog.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ private void MainSettingsNavigationView_SelectionChanged(NavigationView sender,
5151
{
5252
0 => SettingsContentFrame.Navigate(typeof(GeneralPage)),
5353
1 => SettingsContentFrame.Navigate(typeof(AppearancePage)),
54-
2 => SettingsContentFrame.Navigate(typeof(FoldersPage)),
55-
3 => SettingsContentFrame.Navigate(typeof(LayoutPage)),
54+
2 => SettingsContentFrame.Navigate(typeof(LayoutPage)),
55+
3 => SettingsContentFrame.Navigate(typeof(FoldersPage)),
5656
4 => SettingsContentFrame.Navigate(typeof(TagsPage)),
5757
5 => SettingsContentFrame.Navigate(typeof(GitPage)),
5858
6 => SettingsContentFrame.Navigate(typeof(AdvancedPage)),

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,8 +1029,8 @@
10291029
<data name="OpenInNewPane" xml:space="preserve">
10301030
<value>Open in new pane</value>
10311031
</data>
1032-
<data name="Folders" xml:space="preserve">
1033-
<value>Folders</value>
1032+
<data name="FilesAndFolders" xml:space="preserve">
1033+
<value>Files &amp; folders</value>
10341034
</data>
10351035
<data name="NavToolbarDetails.ToolTipService.ToolTip" xml:space="preserve">
10361036
<value>Details (Ctrl+Shift+1)</value>

src/Files.App/Views/Settings/FoldersPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
Padding="0,0,0,12"
3535
FontSize="24"
3636
FontWeight="Medium"
37-
Text="{helpers:ResourceString Name=Folders}" />
37+
Text="{helpers:ResourceString Name=FilesAndFolders}" />
3838

3939
<!-- Display -->
4040
<TextBlock

src/Files.App/Views/Settings/LayoutPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
<!-- Layout mode -->
169169
<local:SettingsBlockControl Title="{helpers:ResourceString Name=Layout}" HorizontalAlignment="Stretch">
170170
<local:SettingsBlockControl.Icon>
171-
<FontIcon Glyph="&#xE8A9;" />
171+
<FontIcon Glyph="&#xE8BA;" />
172172
</local:SettingsBlockControl.Icon>
173173

174174
<ComboBox AutomationProperties.Name="{helpers:ResourceString Name=Layout}" SelectedIndex="{x:Bind ViewModel.SelectedDefaultLayoutModeIndex, Mode=TwoWay}">

tests/Files.InteractionTests/Tests/SettingsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public void VerifySettingsAreAccessible()
2828
{
2929
"SettingsItemGeneral",
3030
"SettingsItemAppearance",
31-
"SettingsItemFolders",
3231
"SettingsItemLayout",
32+
"SettingsItemFolders",
3333
"SettingsItemTags",
3434
"SettingsItemGit",
3535
"SettingsItemAdvanced",

0 commit comments

Comments
 (0)