Skip to content

Commit 36642ec

Browse files
authored
Feature: Replaced string "Layout mode" with "Layout" for simplicity (#14847)
1 parent 6ce53e0 commit 36642ec

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
9999
{
100100
new ContextMenuFlyoutItemViewModel()
101101
{
102-
Text = "LayoutMode".GetLocalizedResource(),
102+
Text = "Layout".GetLocalizedResource(),
103103
Glyph = "\uE152",
104104
ShowItem = !itemsSelected,
105105
ShowInRecycleBin = true,

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,9 +639,6 @@
639639
<data name="AddDialogListFolderSubHeader" xml:space="preserve">
640640
<value>Creates an empty folder</value>
641641
</data>
642-
<data name="LayoutMode" xml:space="preserve">
643-
<value>Layout mode</value>
644-
</data>
645642
<data name="NavResfreshButton.AutomationProperties.Name" xml:space="preserve">
646643
<value>Refresh the directory</value>
647644
</data>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@
166166
</local:SettingsBlockControl>
167167

168168
<!-- Layout mode -->
169-
<local:SettingsBlockControl Title="{helpers:ResourceString Name=LayoutMode}" HorizontalAlignment="Stretch">
169+
<local:SettingsBlockControl Title="{helpers:ResourceString Name=Layout}" HorizontalAlignment="Stretch">
170170
<local:SettingsBlockControl.Icon>
171171
<FontIcon Glyph="&#xE8A9;" />
172172
</local:SettingsBlockControl.Icon>
173173

174-
<ComboBox AutomationProperties.Name="{helpers:ResourceString Name=LayoutMode}" SelectedIndex="{x:Bind ViewModel.SelectedDefaultLayoutModeIndex, Mode=TwoWay}">
174+
<ComboBox AutomationProperties.Name="{helpers:ResourceString Name=Layout}" SelectedIndex="{x:Bind ViewModel.SelectedDefaultLayoutModeIndex, Mode=TwoWay}">
175175
<ComboBoxItem Content="{helpers:ResourceString Name=Details}" />
176176
<ComboBoxItem Content="{helpers:ResourceString Name=List}" />
177177
<ComboBoxItem Content="{helpers:ResourceString Name=Tiles}" />

0 commit comments

Comments
 (0)