Skip to content

Commit

Permalink
Feature: Replaced string "Layout mode" with "Layout" for simplicity (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5bfa authored Feb 27, 2024
1 parent 6ce53e0 commit 36642ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static List<ContextMenuFlyoutItemViewModel> GetBaseItemMenuItems(
{
new ContextMenuFlyoutItemViewModel()
{
Text = "LayoutMode".GetLocalizedResource(),
Text = "Layout".GetLocalizedResource(),
Glyph = "\uE152",
ShowItem = !itemsSelected,
ShowInRecycleBin = true,
Expand Down
3 changes: 0 additions & 3 deletions src/Files.App/Strings/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,6 @@
<data name="AddDialogListFolderSubHeader" xml:space="preserve">
<value>Creates an empty folder</value>
</data>
<data name="LayoutMode" xml:space="preserve">
<value>Layout mode</value>
</data>
<data name="NavResfreshButton.AutomationProperties.Name" xml:space="preserve">
<value>Refresh the directory</value>
</data>
Expand Down
4 changes: 2 additions & 2 deletions src/Files.App/Views/Settings/FoldersPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@
</local:SettingsBlockControl>

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

<ComboBox AutomationProperties.Name="{helpers:ResourceString Name=LayoutMode}" SelectedIndex="{x:Bind ViewModel.SelectedDefaultLayoutModeIndex, Mode=TwoWay}">
<ComboBox AutomationProperties.Name="{helpers:ResourceString Name=Layout}" SelectedIndex="{x:Bind ViewModel.SelectedDefaultLayoutModeIndex, Mode=TwoWay}">
<ComboBoxItem Content="{helpers:ResourceString Name=Details}" />
<ComboBoxItem Content="{helpers:ResourceString Name=List}" />
<ComboBoxItem Content="{helpers:ResourceString Name=Tiles}" />
Expand Down

0 comments on commit 36642ec

Please sign in to comment.