Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.de-DE.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="translated">Die Anwendung muss neugestartet werden, um die Spracheinstellungen zu übernehmen. Möchten Sie die Anwendung jetzt neustarten?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.es-ES.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="translated">La aplicación necesita reiniciarse para aplicar el cambio de idioma, ¿Reiniciar ahora?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.fr-FR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.he-IL.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.hi-IN.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.it-IT.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.ja-JP.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.nl-NL.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.or-IN.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.pl-PL.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.pt-BR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="translated">O aplicativo precisa ser reiniciado para aplicar a configuração de idioma. Deseja reiniciar o aplicativo?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.ru-RU.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.ta.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.tr-TR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.uk-UA.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="new">The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
4 changes: 4 additions & 0 deletions Files/MultilingualResources/Files.zh-Hans.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,10 @@
<source>The application needs to be restarted in order to apply the langague setting, would you like to restart the app?</source>
<target state="translated">需要重新启动应用才能更改语言设置,您想重新启动应用吗?</target>
</trans-unit>
<trans-unit id="BaseLayoutContextFlyoutLayoutMode.Text" translate="yes" xml:space="preserve">
<source>Layout mode</source>
<target state="new">Layout mode</target>
</trans-unit>
</group>
</body>
</file>
Expand Down
3 changes: 3 additions & 0 deletions Files/Strings/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -1041,4 +1041,7 @@
<data name="SettingsPreferencesCopyLocation.Text" xml:space="preserve">
<value>Show an option to copy the location of the selected item</value>
</data>
<data name="BaseLayoutContextFlyoutLayoutMode.Text" xml:space="preserve">
<value>Layout mode</value>
</data>
</root>
47 changes: 46 additions & 1 deletion Files/Views/LayoutModes/GenericFileBrowser.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,51 @@
IsChecked="{x:Bind AssociatedViewModel.IsSortedDescending, Mode=TwoWay}"
Text="Descending" />
</MenuFlyoutSubItem>
<MenuFlyoutSubItem x:Uid="BaseLayoutContextFlyoutLayoutMode" Text="Layout mode">
<MenuFlyoutSubItem.Icon>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xE152;" />
</MenuFlyoutSubItem.Icon>
<MenuFlyoutItem
x:Uid="StatusBarControlGridViewLarge"
Command="{x:Bind AppSettings.ToggleLayoutModeGridViewLarge}"
Text="Grid View (Large)">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xE9A0;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlGridViewMedium"
Command="{x:Bind AppSettings.ToggleLayoutModeGridViewMedium}"
Text="Grid View (Medium)">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xEA72;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlGridViewSmall"
Command="{x:Bind AppSettings.ToggleLayoutModeGridViewSmall}"
Text="Grid View (Small)">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xEBA1;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlTilesView"
Command="{x:Bind AppSettings.ToggleLayoutModeTiles}"
Text="Tiles View">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource CustomGlyph}" Glyph="&#xF100;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlListView"
Command="{x:Bind AppSettings.ToggleLayoutModeListView}"
Text="List View">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource CustomGlyph}" Glyph="&#xF101;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
</MenuFlyoutSubItem>
<MenuFlyoutItem
x:Name="RefreshEmptySpace"
x:Uid="BaseLayoutContextFlyoutRefresh"
Expand Down Expand Up @@ -537,14 +582,14 @@
DragOver="List_DragOver"
Drop="List_Drop"
FocusVisualPrimaryThickness="0"
Holding="AllView_Holding"
IsDoubleTapEnabled="True"
IsRightTapEnabled="True"
ItemsSource="{x:Bind AssociatedViewModel.FilesAndFolders, Mode=OneWay}"
LoadingRow="AllView_LoadingRow"
PreparingCellForEdit="AllView_PreparingCellForEdit"
PreviewKeyDown="AllView_PreviewKeyDown"
RightTapped="AllView_RightTapped"
Holding="AllView_Holding"
RowDetailsVisibilityMode="Collapsed"
ScrollViewer.IsScrollInertiaEnabled="True"
SelectionChanged="AllView_SelectionChanged"
Expand Down
45 changes: 45 additions & 0 deletions Files/Views/LayoutModes/GridViewBrowser.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,51 @@
IsChecked="{x:Bind AssociatedViewModel.IsSortedDescending, Mode=TwoWay}"
Text="Descending" />
</MenuFlyoutSubItem>
<MenuFlyoutSubItem x:Uid="BaseLayoutContextFlyoutLayoutMode" Text="Layout mode">
<MenuFlyoutSubItem.Icon>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xE152;" />
</MenuFlyoutSubItem.Icon>
<MenuFlyoutItem
x:Uid="StatusBarControlGridViewLarge"
Command="{x:Bind AppSettings.ToggleLayoutModeGridViewLarge}"
Text="Grid View (Large)">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xE9A0;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlGridViewMedium"
Command="{x:Bind AppSettings.ToggleLayoutModeGridViewMedium}"
Text="Grid View (Medium)">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xEA72;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlGridViewSmall"
Command="{x:Bind AppSettings.ToggleLayoutModeGridViewSmall}"
Text="Grid View (Small)">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xEBA1;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlTilesView"
Command="{x:Bind AppSettings.ToggleLayoutModeTiles}"
Text="Tiles View">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource CustomGlyph}" Glyph="&#xF100;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem
x:Uid="StatusBarControlListView"
Command="{x:Bind AppSettings.ToggleLayoutModeListView}"
Text="List View">
<MenuFlyoutItem.Icon>
<FontIcon FontFamily="{StaticResource CustomGlyph}" Glyph="&#xF101;" />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
</MenuFlyoutSubItem>
<MenuFlyoutItem
x:Name="RefreshEmptySpace"
x:Uid="BaseLayoutContextFlyoutRefresh"
Expand Down