Browse Source

Update translations, refactor and rename

Ruben 1 year ago
parent
commit
589f6c128b
41 changed files with 211 additions and 131 deletions
  1. 35 29
      src/PicView.Avalonia.MacOS/Views/MacMainWindow.axaml
  2. 2 2
      src/PicView.Avalonia.MacOS/Views/MacOSTitlebar.axaml
  3. 1 1
      src/PicView.Avalonia.Win32/Views/WinTitleBar.axaml
  4. 2 2
      src/PicView.Avalonia/Gallery/GalleryFunctions.cs
  5. 6 0
      src/PicView.Avalonia/ImageTransformations/Zoom.cs
  6. 1 1
      src/PicView.Avalonia/Navigation/QuickLoad.cs
  7. 21 0
      src/PicView.Avalonia/SettingsManagement/LanguageUpdater.cs
  8. 5 2
      src/PicView.Avalonia/UI/HideInterfaceLogic.cs
  9. 3 9
      src/PicView.Avalonia/UI/StartUpHelper.cs
  10. 4 4
      src/PicView.Avalonia/UI/UIHelper.cs
  11. 3 3
      src/PicView.Avalonia/UI/WindowHelper.cs
  12. 24 16
      src/PicView.Avalonia/ViewModels/MainViewModel.cs
  13. 19 9
      src/PicView.Avalonia/ViewModels/ViewModelBase.cs
  14. 18 0
      src/PicView.Avalonia/Views/AppearanceView.axaml
  15. 2 2
      src/PicView.Avalonia/Views/GallerySettingsView.axaml
  16. 1 1
      src/PicView.Avalonia/Views/ImageSettingsView.axaml
  17. 2 2
      src/PicView.Avalonia/Views/ImageViewer.axaml.cs
  18. 2 1
      src/PicView.Avalonia/Views/LanguageView.axaml.cs
  19. 5 5
      src/PicView.Avalonia/Views/MainView.axaml
  20. 12 6
      src/PicView.Avalonia/Views/ShortcutsView.axaml
  21. 1 1
      src/PicView.Avalonia/Views/UC/Buttons/AltClose.axaml
  22. 1 1
      src/PicView.Avalonia/Views/UC/Buttons/AltMinimize.axaml
  23. 1 1
      src/PicView.Avalonia/Views/UC/Buttons/AltRestore.axaml
  24. 1 1
      src/PicView.Avalonia/Views/UC/Buttons/GalleryShortcut.axaml
  25. 3 3
      src/PicView.Avalonia/Views/UC/Menus/ImageMenu.axaml
  26. 5 3
      src/PicView.Avalonia/Views/UC/Menus/SettingsMenu.axaml
  27. 5 0
      src/PicView.Avalonia/Views/UC/Menus/SettingsMenu.axaml.cs
  28. 1 1
      src/PicView.Avalonia/Views/UC/Menus/ToolsMenu.axaml
  29. 2 2
      src/PicView.Core/Config/Languages/da.json
  30. 2 2
      src/PicView.Core/Config/Languages/de.json
  31. 2 2
      src/PicView.Core/Config/Languages/en.json
  32. 2 2
      src/PicView.Core/Config/Languages/es.json
  33. 2 2
      src/PicView.Core/Config/Languages/fr.json
  34. 2 2
      src/PicView.Core/Config/Languages/it.json
  35. 2 2
      src/PicView.Core/Config/Languages/ko.json
  36. 2 2
      src/PicView.Core/Config/Languages/pl.json
  37. 1 2
      src/PicView.Core/Config/Languages/ro.json
  38. 2 2
      src/PicView.Core/Config/Languages/ru.json
  39. 2 2
      src/PicView.Core/Config/Languages/zh-CN.json
  40. 2 2
      src/PicView.Core/Config/Languages/zh-TW.json
  41. 2 1
      src/PicView.Core/Localization/LanguageModel.cs

+ 35 - 29
src/PicView.Avalonia.MacOS/Views/MacMainWindow.axaml

@@ -27,88 +27,94 @@
         <NativeMenu>
             <NativeMenuItem Header="{CompiledBinding File}">
                 <NativeMenu>
-                    <NativeMenuItem Command="{CompiledBinding OpenFileCommand}" Header="{CompiledBinding Open}" />
+                    <NativeMenuItem Command="{CompiledBinding OpenFileCommand}" Header="{CompiledBinding Open, Mode=OneWay}" />
                     <NativeMenuItem
                         Command="{CompiledBinding OpenWithCommand}"
                         CommandParameter="{CompiledBinding FileInfo.FullName,
                                                            FallbackValue=''}"
-                        Header="{CompiledBinding OpenWith}" />
-                    <NativeMenuItem Command="{CompiledBinding SaveFileCommand}" Header="{CompiledBinding Save}" />
+                        Header="{CompiledBinding OpenWith,
+                                                 Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding SaveFileCommand}" Header="{CompiledBinding Save, Mode=OneWay}" />
                     <NativeMenuItem
                         Command="{CompiledBinding PrintCommand}"
                         CommandParameter="{CompiledBinding FileInfo.FullName,
                                                            FallbackValue=''}"
-                        Header="{CompiledBinding Print}" />
-                    <NativeMenuItem Command="{CompiledBinding LocateOnDiskCommand}" Header="{CompiledBinding ShowInFolder}" />
+                        Header="{CompiledBinding Print,
+                                                 Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding LocateOnDiskCommand}" Header="{CompiledBinding ShowInFolder, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding DeleteFileCommand}" Header="{CompiledBinding DeleteFile}" />
+                    <NativeMenuItem Command="{CompiledBinding DeleteFileCommand}" Header="{CompiledBinding DeleteFile, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding ReloadCommand}" Header="{CompiledBinding Reload}" />
-                    <NativeMenuItem Command="{CompiledBinding NewWindowCommand}" Header="{CompiledBinding NewWindow}" />
+                    <NativeMenuItem Command="{CompiledBinding ReloadCommand}" Header="{CompiledBinding Reload, Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding NewWindowCommand}" Header="{CompiledBinding NewWindow, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding RenameCommand}" Header="{CompiledBinding RenameFile}" />
+                    <NativeMenuItem Command="{CompiledBinding RenameCommand}" Header="{CompiledBinding RenameFile, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding PasteCommand}" Header="{CompiledBinding FilePaste}" />
+                    <NativeMenuItem Command="{CompiledBinding PasteCommand}" Header="{CompiledBinding FilePaste, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
                     <NativeMenuItem
                         Command="{CompiledBinding CopyFileCommand}"
                         CommandParameter="{CompiledBinding FileInfo.FullName,
                                                            FallbackValue=''}"
-                        Header="{CompiledBinding CopyFile}" />
-                    <NativeMenuItem Command="{CompiledBinding CopyImageCommand}" Header="{CompiledBinding CopyImage}" />
-                    <NativeMenuItem Command="{CompiledBinding CopyFilePathCommand}" Header="{CompiledBinding FileCopyPath}" />
+                        Header="{CompiledBinding CopyFile,
+                                                 Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding CopyImageCommand}" Header="{CompiledBinding CopyImage, Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding CopyFilePathCommand}" Header="{CompiledBinding FileCopyPath, Mode=OneWay}" />
                     <NativeMenuItem
                         Command="{CompiledBinding DuplicateFileCommand}"
                         CommandParameter="{CompiledBinding FileInfo.FullName,
                                                            FallbackValue=''}"
-                        Header="{CompiledBinding DuplicateFile}" />
-                    <NativeMenuItem Command="{CompiledBinding CutCommand}" Header="{CompiledBinding FileCut}" />
+                        Header="{CompiledBinding DuplicateFile,
+                                                 Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding CutCommand}" Header="{CompiledBinding FileCut, Mode=OneWay}" />
                 </NativeMenu>
             </NativeMenuItem>
-            <NativeMenuItem Header="{CompiledBinding ImageTxt}">
+            <NativeMenuItem Header="{CompiledBinding ImageTxt, Mode=OneWay}">
                 <NativeMenu>
-                    <NativeMenuItem Command="{CompiledBinding RotateLeftCommand}" Header="{CompiledBinding RotateLeft}" />
-                    <NativeMenuItem Command="{CompiledBinding RotateRightCommand}" Header="{CompiledBinding RotateRight}" />
-                    <NativeMenuItem Command="{CompiledBinding FlipCommand}" Header="{CompiledBinding Flip}" />
+                    <NativeMenuItem Command="{CompiledBinding RotateLeftCommand}" Header="{CompiledBinding RotateLeft, Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding RotateRightCommand}" Header="{CompiledBinding RotateRight, Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding FlipCommand}" Header="{CompiledBinding Flip, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding CropCommand}" Header="{CompiledBinding Crop}" />
+                    <NativeMenuItem Command="{CompiledBinding CropCommand}" Header="{CompiledBinding Crop, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
                     <NativeMenuItem
                         Command="{CompiledBinding SetAsWallpaperCommand}"
                         CommandParameter="{CompiledBinding FileInfo.FullName,
                                                            FallbackValue=''}"
-                        Header="{CompiledBinding SetAsWallpaper}" />
+                        Header="{CompiledBinding SetAsWallpaper,
+                                                 Mode=OneWay}" />
                     <NativeMenuItem
                         Command="{CompiledBinding SetAsLockScreenCommand}"
                         CommandParameter="{CompiledBinding FileInfo.FullName,
                                                            FallbackValue=''}"
-                        Header="{CompiledBinding SetAsLockScreenImage}" />
+                        Header="{CompiledBinding SetAsLockScreenImage,
+                                                 Mode=OneWay}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding ChangeBackgroundCommand}" Header="{CompiledBinding ChangeBackground}" />
+                    <NativeMenuItem Command="{CompiledBinding ChangeBackgroundCommand}" Header="{CompiledBinding ChangeBackground, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
                     <NativeMenuItem Header="{CompiledBinding Slideshow}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding ShowExifWindowCommand}" Header="{CompiledBinding ImageInfo}" />
+                    <NativeMenuItem Command="{CompiledBinding ShowExifWindowCommand}" Header="{CompiledBinding ImageInfo, Mode=OneWay}" />
                     <NativeMenuItem Header="{CompiledBinding FileProperties}" />
                     <NativeMenuItemSeparator />
                     <NativeMenuItem Header="{CompiledBinding ResizeImage}" />
                     <NativeMenuItem Header="{CompiledBinding BatchResize}" />
                     <NativeMenuItemSeparator />
-                    <NativeMenuItem Command="{CompiledBinding OptimizeImageCommand}" Header="{CompiledBinding OptimizeImage}" />
+                    <NativeMenuItem Command="{CompiledBinding OptimizeImageCommand}" Header="{CompiledBinding OptimizeImage, Mode=OneWay}" />
                     <NativeMenuItemSeparator />
                     <NativeMenuItem Header="{CompiledBinding Effects}" />
                 </NativeMenu>
             </NativeMenuItem>
             <NativeMenuItem Header="{CompiledBinding InterfaceConfiguration}">
                 <NativeMenu>
-                    <NativeMenuItem Command="{CompiledBinding ToggleFullscreenCommand}" Header="{CompiledBinding ToggleFullscreen}" />
+                    <NativeMenuItem Command="{CompiledBinding ToggleFullscreenCommand}" Header="{CompiledBinding ToggleFullscreen, Mode=OneWay}" />
                     <NativeMenuItem
                         Command="{CompiledBinding ChangeAutoFitCommand}"
                         Header="{CompiledBinding AutoFitWindow}"
                         IsChecked="{CompiledBinding IsAutoFit}"
                         ToggleType="CheckBox" />
-                    <NativeMenuItem Command="{CompiledBinding ToggleUICommand}" Header="{CompiledBinding HideShowInterface}" />
-                    <NativeMenuItem Command="{CompiledBinding ToggleGalleryCommand}" Header="{CompiledBinding ShowImageGallery}" />
+                    <NativeMenuItem Command="{CompiledBinding ToggleUICommand}" Header="{CompiledBinding GetIsShowingUITranslation, Mode=OneWay}" />
+                    <NativeMenuItem Command="{CompiledBinding ToggleGalleryCommand}" Header="{CompiledBinding ShowImageGallery, Mode=OneWay}" />
 
                 </NativeMenu>
             </NativeMenuItem>
@@ -127,7 +133,7 @@
                     <NativeMenuItem
                         Command="{CompiledBinding ToggleScrollCommand}"
                         Header="{CompiledBinding ToggleScroll}"
-                        IsChecked="{CompiledBinding GetScrolling}"
+                        IsChecked="{CompiledBinding GetIsScrollingTranslation}"
                         ToggleType="CheckBox" />
                     <NativeMenuItemSeparator />
                     <NativeMenuItem

+ 2 - 2
src/PicView.Avalonia.MacOS/Views/MacOSTitlebar.axaml

@@ -1,5 +1,5 @@
 <UserControl
-    IsVisible="{Binding IsInterfaceShown}"
+    IsVisible="{Binding IsUIShown}"
     mc:Ignorable="d"
     x:Class="PicView.Avalonia.MacOS.Views.MacOSTitlebar"
     x:DataType="viewModels:MainViewModel"
@@ -33,7 +33,7 @@
             IconWidth="12"
             IsTabStop="False"
             Margin="0"
-            ToolTip.Tip="{CompiledBinding GetFlipped,
+            ToolTip.Tip="{CompiledBinding GetIsFlippedTranslation,
                                           Mode=OneWay}"
             Width="30"
             x:Name="FlipButton">

+ 1 - 1
src/PicView.Avalonia.Win32/Views/WinTitleBar.axaml

@@ -86,7 +86,7 @@
                 IconHeight="16"
                 IconWidth="16"
                 Margin="0"
-                ToolTip.Tip="{CompiledBinding GetFlipped,
+                ToolTip.Tip="{CompiledBinding GetIsFlippedTranslation,
                                               Mode=OneWay}"
                 Width="30"
                 x:Name="FlipButton">

+ 2 - 2
src/PicView.Avalonia/Gallery/GalleryFunctions.cs

@@ -80,7 +80,7 @@ public static class GalleryFunctions
             IsFullGalleryOpen = false;
             IsBottomGalleryOpen = false;
             vm.GalleryMode = GalleryMode.BottomToClosed;
-            vm.GetBottomGallery = TranslationHelper.Translation.ShowBottomGallery;
+            vm.GetIsShowingBottomGalleryTranslation = TranslationHelper.Translation.ShowBottomGallery;
             await SettingsHelper.SaveSettingsAsync();
             return;
         }
@@ -92,7 +92,7 @@ public static class GalleryFunctions
         {
             vm.GalleryMode = GalleryMode.ClosedToBottom;
         }
-        vm.GetBottomGallery = TranslationHelper.Translation.HideBottomGallery;
+        vm.GetIsShowingBottomGalleryTranslation = TranslationHelper.Translation.HideBottomGallery;
         await SettingsHelper.SaveSettingsAsync();
         if (!NavigationHelper.CanNavigate(vm))
         {

+ 6 - 0
src/PicView.Avalonia/ImageTransformations/Zoom.cs

@@ -0,0 +1,6 @@
+namespace PicView.Avalonia.ImageTransformations;
+
+public class Zoom
+{
+    // TODO: Refactor ImageViewer.axaml.cs into this class
+}

+ 1 - 1
src/PicView.Avalonia/Navigation/QuickLoad.cs

@@ -84,7 +84,7 @@ public static class QuickLoad
 
         if (SettingsHelper.Settings.Gallery.IsBottomGalleryShown)
         {
-            if (vm.IsInterfaceShown)
+            if (vm.IsUIShown)
             {
                 vm.GalleryMode = GalleryMode.BottomNoAnimation;
                 tasks.Add(GalleryLoad.LoadGallery(vm, fileInfo.DirectoryName));

+ 21 - 0
src/PicView.Avalonia/SettingsManagement/LanguageUpdater.cs

@@ -0,0 +1,21 @@
+using PicView.Avalonia.ViewModels;
+using PicView.Core.Config;
+using PicView.Core.Localization;
+
+namespace PicView.Avalonia.SettingsManagement;
+
+public static class LanguageUpdater
+{
+    public static void UpdateLanguage(MainViewModel vm)
+    {
+        vm.UpdateLanguage();
+
+        vm.GetIsFlippedTranslation = vm.ScaleX == 1 ? vm.Flip : vm.UnFlip;
+        vm.GetIsShowingUITranslation = !SettingsHelper.Settings.UIProperties.ShowInterface ? vm.ShowUI : vm.HideUI;
+        vm.GetIsScrollingTranslation = SettingsHelper.Settings.Zoom.ScrollEnabled ?
+            TranslationHelper.Translation.ScrollingEnabled : TranslationHelper.Translation.ScrollingDisabled;
+        vm.GetIsShowingBottomGalleryTranslation = vm.IsGalleryShown ?
+            TranslationHelper.Translation.HideBottomGallery :
+            TranslationHelper.Translation.ShowBottomGallery;
+    }
+}

+ 5 - 2
src/PicView.Avalonia/UI/HideInterfaceLogic.cs

@@ -7,6 +7,7 @@ using PicView.Avalonia.ViewModels;
 using PicView.Core.Calculations;
 using PicView.Core.Config;
 using PicView.Core.Gallery;
+using PicView.Core.Localization;
 
 namespace PicView.Avalonia.UI;
 
@@ -21,10 +22,11 @@ public static class HideInterfaceLogic
     {
         if (SettingsHelper.Settings.UIProperties.ShowInterface)
         {
-            vm.IsInterfaceShown = false;
+            vm.IsUIShown = false;
             SettingsHelper.Settings.UIProperties.ShowInterface = false;
             vm.IsTopToolbarShown = false;
             vm.IsBottomToolbarShown = false;
+            vm.GetIsShowingUITranslation = TranslationHelper.Translation.ShowUI;
             if (!GalleryFunctions.IsFullGalleryOpen)
             {
                 if (!SettingsHelper.Settings.Gallery.ShowBottomGalleryInHiddenUI)
@@ -47,8 +49,9 @@ public static class HideInterfaceLogic
         }
         else
         {
-            vm.IsInterfaceShown = true;
+            vm.IsUIShown = true;
             vm.IsTopToolbarShown = true;
+            vm.GetIsShowingUITranslation = TranslationHelper.Translation.HideUI;
             if (SettingsHelper.Settings.UIProperties.ShowBottomNavBar)
             {
                 vm.IsBottomToolbarShown = true;

+ 3 - 9
src/PicView.Avalonia/UI/StartUpHelper.cs

@@ -5,6 +5,7 @@ using Avalonia.Controls.Primitives;
 using PicView.Avalonia.ColorManagement;
 using PicView.Avalonia.Keybindings;
 using PicView.Avalonia.Navigation;
+using PicView.Avalonia.SettingsManagement;
 using PicView.Avalonia.ViewModels;
 using PicView.Avalonia.Views;
 using PicView.Core.Config;
@@ -71,25 +72,18 @@ public static class StartUpHelper
             ThemeManager.GlassThemeUpdates();
         }
         UIHelper.SetControls(desktop);
-        vm.UpdateLanguage();
-        vm.GetFlipped = vm.Flip;
+        LanguageUpdater.UpdateLanguage(vm);
         
         if (SettingsHelper.Settings.Zoom.ScrollEnabled)
         {
             vm.ToggleScrollBarVisibility = ScrollBarVisibility.Visible;
-            vm.GetScrolling = TranslationHelper.Translation.ScrollingEnabled;
             vm.IsScrollingEnabled = true;
         }
         else
         {
             vm.ToggleScrollBarVisibility = ScrollBarVisibility.Disabled;
-            vm.GetScrolling = TranslationHelper.Translation.ScrollingDisabled;
             vm.IsScrollingEnabled = false;
         }
-        
-        vm.GetBottomGallery = vm.IsGalleryShown ?
-            TranslationHelper.Translation.HideBottomGallery :
-            TranslationHelper.Translation.ShowBottomGallery;
 
         if (SettingsHelper.Settings.WindowProperties.TopMost)
         {
@@ -160,7 +154,7 @@ public static class StartUpHelper
         vm.GetLooping = SettingsHelper.Settings.UIProperties.Looping
             ? TranslationHelper.Translation.LoopingEnabled
             : TranslationHelper.Translation.LoopingDisabled;
-        vm.GetScrolling = SettingsHelper.Settings.Zoom.ScrollEnabled
+        vm.GetIsScrollingTranslation = SettingsHelper.Settings.Zoom.ScrollEnabled
             ? TranslationHelper.Translation.ScrollingEnabled
             : TranslationHelper.Translation.ScrollingDisabled;
         vm.GetCtrlZoom = SettingsHelper.Settings.Zoom.CtrlZoom

+ 4 - 4
src/PicView.Avalonia/UI/UIHelper.cs

@@ -175,14 +175,14 @@ namespace PicView.Avalonia.UI
             if (SettingsHelper.Settings.Zoom.ScrollEnabled)
             {
                 vm.ToggleScrollBarVisibility = ScrollBarVisibility.Disabled;
-                vm.GetScrolling = TranslationHelper.Translation.ScrollingDisabled;
+                vm.GetIsScrollingTranslation = TranslationHelper.Translation.ScrollingDisabled;
                 vm.IsScrollingEnabled = false;
                 SettingsHelper.Settings.Zoom.ScrollEnabled = false;
             }
             else
             {
                 vm.ToggleScrollBarVisibility = ScrollBarVisibility.Visible;
-                vm.GetScrolling = TranslationHelper.Translation.ScrollingEnabled;
+                vm.GetIsScrollingTranslation = TranslationHelper.Translation.ScrollingEnabled;
                 vm.IsScrollingEnabled = true;
                 SettingsHelper.Settings.Zoom.ScrollEnabled = true;
             }
@@ -200,12 +200,12 @@ namespace PicView.Avalonia.UI
             if (vm.ScaleX == 1)
             {
                 vm.ScaleX = -1;
-                vm.GetFlipped = vm.UnFlip;
+                vm.GetIsFlippedTranslation = vm.UnFlip;
             }
             else
             {
                 vm.ScaleX = 1;
-                vm.GetFlipped = vm.Flip;
+                vm.GetIsFlippedTranslation = vm.Flip;
             }
 
             await Dispatcher.UIThread.InvokeAsync(() => { vm.ImageViewer.Flip(true); });

+ 3 - 3
src/PicView.Avalonia/UI/WindowHelper.cs

@@ -337,14 +337,14 @@ public static class WindowHelper
                     vm.IsBottomToolbarShown = true;
                     vm.BottombarHeight = SizeDefaults.BottombarHeight;
                 }
-                vm.IsInterfaceShown = true;
+                vm.IsUIShown = true;
             }
         }
         Dispatcher.UIThread.InvokeAsync(() => 
             desktop.MainWindow.WindowState = WindowState.Normal);
         SettingsHelper.Settings.WindowProperties.Maximized = false;
         SettingsHelper.Settings.WindowProperties.Fullscreen = false;
-        vm.IsInterfaceShown = SettingsHelper.Settings.UIProperties.ShowInterface;
+        vm.IsUIShown = SettingsHelper.Settings.UIProperties.ShowInterface;
         InitializeWindowSizeAndPosition(desktop.MainWindow);
         SetSize(vm);
         if (SettingsHelper.Settings.WindowProperties.AutoFit)
@@ -410,7 +410,7 @@ public static class WindowHelper
         {
             vm.IsTopToolbarShown = false; // Hide interface in fullscreen. Remember to turn back when exiting fullscreen
             vm.IsBottomToolbarShown = false;
-            vm.IsInterfaceShown = false;
+            vm.IsUIShown = false;
             Dispatcher.UIThread.Post(() =>
             {
                 // Get the screen that the window is currently on

+ 24 - 16
src/PicView.Avalonia/ViewModels/MainViewModel.cs

@@ -205,7 +205,7 @@ public class MainViewModel : ViewModelBase
             {
                 return SettingsHelper.Settings.Gallery.IsBottomGalleryShown ? GetBottomGalleryItemHeight + SizeDefaults.ScrollbarSize : 0;
             }
-            if (!SettingsHelper.Settings.Gallery.ShowBottomGalleryInHiddenUI && !IsInterfaceShown)
+            if (!SettingsHelper.Settings.Gallery.ShowBottomGalleryInHiddenUI && !IsUIShown)
             {
                 return 0;
             }
@@ -560,12 +560,12 @@ public class MainViewModel : ViewModelBase
         set => this.RaiseAndSetIfChanged(ref _isLoading, value);
     }
 
-    private bool _isInterfaceShown = SettingsHelper.Settings.UIProperties.ShowInterface;
+    private bool _isUIShown = SettingsHelper.Settings.UIProperties.ShowInterface;
 
-    public bool IsInterfaceShown
+    public bool IsUIShown
     {
-        get => _isInterfaceShown;
-        set => this.RaiseAndSetIfChanged(ref _isInterfaceShown, value);
+        get => _isUIShown;
+        set => this.RaiseAndSetIfChanged(ref _isUIShown, value);
     }
 
     private bool _isTopToolbarShown = SettingsHelper.Settings.UIProperties.ShowInterface;
@@ -801,21 +801,29 @@ public class MainViewModel : ViewModelBase
     }
 
     #region strings
+
+    private string? _getIsShowingUITranslation;
+    
+    public string? GetIsShowingUITranslation
+    {
+        get => _getIsShowingUITranslation;
+        set => this.RaiseAndSetIfChanged(ref _getIsShowingUITranslation, value);
+    }
     
-    private string? _getFlipped;
+    private string? _getIsFlipped;
 
-    public string? GetFlipped
+    public string? GetIsFlippedTranslation
     {
         get => ScaleX == -1 ? UnFlip : Flip;
-        set => this.RaiseAndSetIfChanged(ref _getFlipped, value);
+        set => this.RaiseAndSetIfChanged(ref _getIsFlipped, value);
     }
 
-    private string? _getBottomGallery;
+    private string? _getIsShowingBottomGalleryTranslation;
 
-    public string? GetBottomGallery
+    public string? GetIsShowingBottomGalleryTranslation
     {
-        get => _getBottomGallery;
-        set => this.RaiseAndSetIfChanged(ref _getBottomGallery, value);
+        get => _getIsShowingBottomGalleryTranslation;
+        set => this.RaiseAndSetIfChanged(ref _getIsShowingBottomGalleryTranslation, value);
     }
 
     private string? _getLooping;
@@ -826,12 +834,12 @@ public class MainViewModel : ViewModelBase
         set => this.RaiseAndSetIfChanged(ref _getLooping, value);
     }
 
-    private string? _getScrolling;
+    private string? _getIsScrollingTranslation;
 
-    public string? GetScrolling
+    public string? GetIsScrollingTranslation
     {
-        get => _getScrolling;
-        set => this.RaiseAndSetIfChanged(ref _getScrolling, value);
+        get => _getIsScrollingTranslation;
+        set => this.RaiseAndSetIfChanged(ref _getIsScrollingTranslation, value);
     }
 
     private string? _getCtrlZoom;

+ 19 - 9
src/PicView.Avalonia/ViewModels/ViewModelBase.cs

@@ -54,7 +54,6 @@ public class ViewModelBase : ReactiveObject
         StayTopMost = TranslationHelper.Translation.StayTopMost;
         SearchSubdirectory = TranslationHelper.Translation.SearchSubdirectory;
         ToggleLooping = TranslationHelper.Translation.ToggleLooping;
-        HideShowInterface = TranslationHelper.Translation.HideShowInterface;
         ApplicationShortcuts = TranslationHelper.Translation.ApplicationShortcuts;
         BatchResize = TranslationHelper.Translation.BatchResize;
         Effects = TranslationHelper.Translation.Effects;
@@ -226,6 +225,9 @@ public class ViewModelBase : ReactiveObject
         AllowZoomOut = TranslationHelper.Translation.AllowZoomOut;
         GlassTheme = TranslationHelper.Translation.GlassTheme;
         ChangingThemeRequiresRestart = TranslationHelper.Translation.ChangingThemeRequiresRestart;
+        ShowUI = TranslationHelper.Translation.ShowUI;
+        HideUI = TranslationHelper.Translation.HideUI;
+        
     }
 
     #region Strings
@@ -1549,6 +1551,22 @@ public class ViewModelBase : ReactiveObject
         set => this.RaiseAndSetIfChanged(ref _unFlip, value);
     }
 
+    private string? _showUI;
+    
+    public string? ShowUI
+    {
+        get => _showUI;
+        set => this.RaiseAndSetIfChanged(ref _showUI, value);
+    }
+    
+    private string? _hideUI;
+    
+    public string? HideUI
+    {
+        get => _hideUI;
+        set => this.RaiseAndSetIfChanged(ref _hideUI, value);
+    }
+
     private string? _showBottomGallery;
 
     public string? ShowBottomGallery
@@ -1709,14 +1727,6 @@ public class ViewModelBase : ReactiveObject
         set => this.RaiseAndSetIfChanged(ref _toggleLooping, value);
     }
 
-    private string? _hideShowInterface;
-
-    public string? HideShowInterface
-    {
-        get => _hideShowInterface;
-        set => this.RaiseAndSetIfChanged(ref _hideShowInterface, value);
-    }
-
     private string? _fileName;
 
     public string? FileName

+ 18 - 0
src/PicView.Avalonia/Views/AppearanceView.axaml

@@ -183,5 +183,23 @@
                 Text="{CompiledBinding ShowBottomToolbar}" />
         </ToggleButton>
 
+        <ToggleButton
+            Background="Transparent"
+            BorderThickness="0"
+            Classes="altHover"
+            Command="{CompiledBinding ToggleUICommand}"
+            IsChecked="{CompiledBinding IsUIShown,
+                                        Mode=OneWay}"
+            Margin="0,0,0,10"
+            Width="300">
+            <TextBlock
+                Classes="txt"
+                Foreground="{StaticResource SecondaryTextColor}"
+                Margin="0"
+                MaxWidth="240"
+                Padding="0,1,5,0"
+                Text="{CompiledBinding GetIsShowingUITranslation}" />
+        </ToggleButton>
+
     </StackPanel>
 </UserControl>

+ 2 - 2
src/PicView.Avalonia/Views/GallerySettingsView.axaml

@@ -30,7 +30,7 @@
             Command="{CompiledBinding ToggleBottomGalleryCommand}"
             IsChecked="{CompiledBinding IsGalleryShown}"
             Margin="0,0,0,10"
-            ToolTip.Tip="{CompiledBinding GetBottomGallery,
+            ToolTip.Tip="{CompiledBinding GetIsShowingBottomGalleryTranslation,
                                           Mode=OneWay}"
             Width="300">
             <TextBlock
@@ -38,7 +38,7 @@
                 Margin="0"
                 MaxWidth="240"
                 Padding="0,1,5,0"
-                Text="{CompiledBinding GetBottomGallery,
+                Text="{CompiledBinding GetIsShowingBottomGalleryTranslation,
                                        Mode=OneWay}" />
         </ToggleButton>
 

+ 1 - 1
src/PicView.Avalonia/Views/ImageSettingsView.axaml

@@ -51,7 +51,7 @@
                 Margin="0"
                 MaxWidth="240"
                 Padding="0,1,5,0"
-                Text="{CompiledBinding GetScrolling,
+                Text="{CompiledBinding GetIsScrollingTranslation,
                                        Mode=OneWay}" />
         </ToggleButton>
 

+ 2 - 2
src/PicView.Avalonia/Views/ImageViewer.axaml.cs

@@ -515,13 +515,13 @@ public partial class ImageViewer : UserControl
         {
             prevScaleX = 1;
             vm.ScaleX = -1;
-            vm.GetFlipped = vm.UnFlip;
+            vm.GetIsFlippedTranslation = vm.UnFlip;
         }
         else
         {
             prevScaleX = -1;
             vm.ScaleX = 1;
-            vm.GetFlipped = vm.Flip;
+            vm.GetIsFlippedTranslation = vm.Flip;
         }
         
         if (animate)

+ 2 - 1
src/PicView.Avalonia/Views/LanguageView.axaml.cs

@@ -1,6 +1,7 @@
 using System.Globalization;
 using Avalonia.Controls;
 using Avalonia.Threading;
+using PicView.Avalonia.SettingsManagement;
 using PicView.Avalonia.UI;
 using PicView.Avalonia.ViewModels;
 using PicView.Core.Config;
@@ -63,7 +64,7 @@ public partial class LanguageView : UserControl
                     {
                         return;
                     }
-                    vm.UpdateLanguage();
+                    LanguageUpdater.UpdateLanguage(vm);
 
                     var topLevel = TopLevel.GetTopLevel(this);
                     if (topLevel is not Window window)

+ 5 - 5
src/PicView.Avalonia/Views/MainView.axaml

@@ -195,7 +195,7 @@
                     IsChecked="{Binding IsLooping}"
                     ToggleType="CheckBox" />
                 <MenuItem
-                    Header="{CompiledBinding GetScrolling,
+                    Header="{CompiledBinding GetIsScrollingTranslation,
                                              Mode=OneWay}"
                     IsChecked="{CompiledBinding IsScrollingEnabled}"
                     ToggleType="CheckBox" />
@@ -242,7 +242,7 @@
                             Width="12" />
                     </MenuItem.Icon>
                 </MenuItem>
-                <MenuItem Command="{CompiledBinding ToggleUICommand}" Header="{CompiledBinding HideShowInterface, Mode=OneWay}">
+                <MenuItem Command="{CompiledBinding ToggleUICommand}" Header="{CompiledBinding GetIsShowingUITranslation, Mode=OneWay}">
                     <MenuItem.Icon>
                         <Image
                             Height="12"
@@ -252,7 +252,7 @@
                 </MenuItem>
                 <MenuItem
                     Command="{CompiledBinding ToggleBottomGalleryCommand}"
-                    Header="{CompiledBinding GetBottomGallery,
+                    Header="{CompiledBinding GetIsShowingBottomGalleryTranslation,
                                              Mode=OneWay}"
                     IsChecked="{CompiledBinding IsGalleryShown}">
                     <MenuItem.Icon>
@@ -484,7 +484,7 @@
 
                 <MenuItem
                     Command="{CompiledBinding FlipCommand}"
-                    Header="{CompiledBinding GetFlipped}"
+                    Header="{CompiledBinding GetIsFlippedTranslation}"
                     StaysOpenOnClick="True">
                     <MenuItem.Icon>
                         <Path
@@ -733,7 +733,7 @@
             Background="Transparent"
             Height="150"
             HorizontalAlignment="Right"
-            IsVisible="{CompiledBinding !IsInterfaceShown}"
+            IsVisible="{CompiledBinding !IsUIShown}"
             Opacity="0"
             Orientation="Horizontal"
             VerticalAlignment="Top"

+ 12 - 6
src/PicView.Avalonia/Views/ShortcutsView.axaml

@@ -637,18 +637,21 @@
             <TextBlock
                 Classes="txt"
                 FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
-                Text="{CompiledBinding HideShowInterface}"
+                Text="{CompiledBinding GetIsShowingUITranslation,
+                                       Mode=OneWay}"
                 Width="170" />
             <customControls:KeybindTextBox
                 Classes="hover TStyle"
                 MethodName="ToggleInterface"
-                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip}"
+                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip,
+                                              Mode=OneWay}"
                 Width="140" />
             <customControls:KeybindTextBox
                 Alt="True"
                 Classes="hover TStyle"
                 MethodName="ToggleInterface"
-                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip}"
+                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip,
+                                              Mode=OneWay}"
                 Width="140" />
         </StackPanel>
 
@@ -661,7 +664,8 @@
             <customControls:KeybindTextBox
                 Classes="hover TStyle"
                 MethodName="Fullscreen"
-                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip}"
+                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip,
+                                              Mode=OneWay}"
                 Width="140" />
             <TextBox
                 Background="{DynamicResource DisabledBackgroundColor}"
@@ -676,13 +680,15 @@
             <TextBlock
                 Classes="txt"
                 FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
-                Text="{CompiledBinding ToggleFullscreen}"
+                Text="{CompiledBinding ToggleFullscreen,
+                                       Mode=OneWay}"
                 Width="170" />
             <customControls:KeybindTextBox
                 Alt="True"
                 Classes="hover TStyle"
                 MethodName="Fullscreen"
-                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip}"
+                ToolTip.Tip="{CompiledBinding ChangeKeybindingTooltip,
+                                              Mode=OneWay}"
                 Width="140" />
             <TextBox
                 Background="{DynamicResource DisabledBackgroundColor}"

+ 1 - 1
src/PicView.Avalonia/Views/UC/Buttons/AltClose.axaml

@@ -19,7 +19,7 @@
         DockPanel.Dock="Right"
         Height="30"
         HorizontalAlignment="Right"
-        IsVisible="{CompiledBinding !IsInterfaceShown}"
+        IsVisible="{CompiledBinding !IsUIShown}"
         ToolTip.Tip="{Binding Close, Mode=OneWay}"
         VerticalAlignment="Top"
         Width="35"

+ 1 - 1
src/PicView.Avalonia/Views/UC/Buttons/AltMinimize.axaml

@@ -20,7 +20,7 @@
         DockPanel.Dock="Right"
         Height="30"
         HorizontalAlignment="Right"
-        IsVisible="{CompiledBinding !IsInterfaceShown}"
+        IsVisible="{CompiledBinding !IsUIShown}"
         VerticalAlignment="Top"
         Width="35"
         ZIndex="99"

+ 1 - 1
src/PicView.Avalonia/Views/UC/Buttons/AltRestore.axaml

@@ -20,7 +20,7 @@
         DockPanel.Dock="Right"
         Height="30"
         HorizontalAlignment="Right"
-        IsVisible="{CompiledBinding !IsInterfaceShown}"
+        IsVisible="{CompiledBinding !IsUIShown}"
         VerticalAlignment="Top"
         Width="35"
         ZIndex="99"

+ 1 - 1
src/PicView.Avalonia/Views/UC/Buttons/GalleryShortcut.axaml

@@ -2,7 +2,7 @@
     Background="Transparent"
     Height="210"
     IsEnabled="{CompiledBinding !IsGalleryShown}"
-    IsVisible="{CompiledBinding !IsInterfaceShown}"
+    IsVisible="{CompiledBinding !IsUIShown}"
     Width="210"
     d:DesignHeight="450"
     d:DesignWidth="800"

+ 3 - 3
src/PicView.Avalonia/Views/UC/Menus/ImageMenu.axaml

@@ -80,7 +80,7 @@
                     Height="45"
                     IconHeight="13"
                     IconWidth="13"
-                    ToolTip.Tip="{CompiledBinding GetFlipped,
+                    ToolTip.Tip="{CompiledBinding GetIsFlippedTranslation,
                                                   Mode=OneWay}"
                     Width="45">
                     <customControls:IconButton.RenderTransform>
@@ -401,7 +401,7 @@
                     Foreground="{DynamicResource MainTextColor}"
                     Height="46"
                     IsChecked="{CompiledBinding IsGalleryShown}"
-                    ToolTip.Tip="{CompiledBinding GetBottomGallery,
+                    ToolTip.Tip="{CompiledBinding GetIsShowingBottomGalleryTranslation,
                                                   Mode=OneWay}"
                     Width="300">
                     <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
@@ -415,7 +415,7 @@
                             Foreground="{DynamicResource MainTextColor}"
                             Margin="10,0,6,0"
                             MaxWidth="175"
-                            Text="{CompiledBinding GetBottomGallery,
+                            Text="{CompiledBinding GetIsShowingBottomGalleryTranslation,
                                                    Mode=OneWay}" />
                     </StackPanel>
                 </ToggleButton>

+ 5 - 3
src/PicView.Avalonia/Views/UC/Menus/SettingsMenu.axaml

@@ -41,7 +41,8 @@
                     Height="46"
                     ToolTip.Tip="{CompiledBinding ShowAllSettingsWindow,
                                                   Mode=OneWay}"
-                    Width="179">
+                    Width="179"
+                    x:Name="SettingsButton">
                     <StackPanel Orientation="Horizontal">
                         <Path
                             Data="M 1.9205 50.6968 L 5.3687 54.1450 C 7.2673 56 9.4279 55.8472 11.3484 53.7303 L 34.1981 28.8511 C 35.1365 29.5058 36.0094 29.4840 37.0788 29.2658 L 39.4140 28.7856 L 40.9636 30.3351 L 40.8545 31.4918 C 40.7017 32.6921 41.0508 33.6087 42.1637 34.7217 L 43.9971 36.5331 C 45.1100 37.6679 46.5939 37.7334 47.6634 36.6640 L 54.9309 29.3967 C 56.0000 28.3273 55.9347 26.8651 54.8218 25.7303 L 52.9884 23.8971 C 51.8755 22.7840 50.9369 22.3912 49.7583 22.5658 L 48.5801 22.6967 L 47.0958 21.2127 L 47.7506 18.6593 C 48.0563 17.3936 47.7287 16.3678 46.3539 15.0147 L 40.9636 9.6461 C 33.0414 1.7677 22.8933 2.0077 15.9532 9.0132 C 14.9930 9.9734 14.9057 11.2829 15.5168 12.2431 C 16.0187 13.0724 17.0881 13.5744 18.5503 13.2034 C 21.9330 12.3522 25.3157 12.6141 28.6330 14.8620 L 27.2362 18.3975 C 26.7124 19.7069 26.7561 20.7762 27.2799 21.7583 L 2.3352 44.7171 C .2401 46.6594 0 48.7763 1.9205 50.6968 Z M 19.4233 9.8861 C 25.3812 5.4341 32.8013 6.1542 38.1700 11.5229 L 44.0404 17.3499 C 44.5643 17.8737 44.6300 18.2883 44.4771 18.9431 L 43.6480 22.4349 L 47.1615 25.9485 L 49.3002 25.7521 C 49.9331 25.6866 50.1293 25.7303 50.6531 26.2322 L 52.0284 27.6290 L 45.8957 33.7833 L 44.4990 32.3866 C 43.9971 31.8846 43.9533 31.6882 44.0190 31.0553 L 44.2152 28.8947 L 40.7236 25.4029 L 37.1006 26.1013 C 36.4677 26.2322 36.1404 26.2322 35.5948 25.6866 L 30.7499 20.8199 C 30.2261 20.2961 30.1606 19.9906 30.4443 19.2922 L 32.5831 14.1855 C 29.0040 10.7591 24.2682 8.8604 19.7070 10.3226 C 19.5106 10.3881 19.3796 10.3444 19.3142 10.2571 C 19.2487 10.1480 19.2487 10.0389 19.4233 9.8861 Z M 4.7576 49.1255 C 3.6446 48.0125 4.0374 47.3359 4.7794 46.6594 L 29.2877 24.0499 L 32.0156 26.7996 L 9.3406 51.2206 C 8.6641 51.9626 7.8130 52.1808 6.8964 51.2861 Z"
@@ -72,7 +73,8 @@
                     Height="46"
                     ToolTip.Tip="{CompiledBinding AboutWindow,
                                                   Mode=OneWay}"
-                    Width="136">
+                    Width="136"
+                    x:Name="AboutWindowButton">
                     <StackPanel Orientation="Horizontal">
                         <Image
                             Height="17"
@@ -123,7 +125,7 @@
                         Classes="txt"
                         Foreground="{DynamicResource MainTextColor}"
                         MaxWidth="150"
-                        Text="{CompiledBinding GetScrolling,
+                        Text="{CompiledBinding GetIsScrollingTranslation,
                                                Mode=OneWay}" />
                 </ToggleButton>
 

+ 5 - 0
src/PicView.Avalonia/Views/UC/Menus/SettingsMenu.axaml.cs

@@ -13,6 +13,11 @@ public partial class SettingsMenu : AnimatedMenu
         {
             if (SettingsHelper.Settings.Theme.GlassTheme)
             {
+                SettingsButton.Classes.Remove("noBorderHover");
+                SettingsButton.Classes.Add("hover");
+                
+                AboutWindowButton.Classes.Remove("noBorderHover");
+                AboutWindowButton.Classes.Add("hover");
             }
             else if (!SettingsHelper.Settings.Theme.Dark)
             {

+ 1 - 1
src/PicView.Avalonia/Views/UC/Menus/ToolsMenu.axaml

@@ -256,7 +256,7 @@
                             Classes="txt"
                             Foreground="{DynamicResource MainTextColor}"
                             MaxWidth="150"
-                            Text="{CompiledBinding HideShowInterface,
+                            Text="{CompiledBinding GetIsShowingUITranslation,
                                                    Mode=OneWay}" />
                     </StackPanel>
                 </Button>

+ 2 - 2
src/PicView.Core/Config/Languages/da.json

@@ -160,7 +160,7 @@
   "Hard": "Hård",
   "Height": "Højde",
   "HideBottomGallery": "Skjul nederste galleri",
-  "HideShowInterface": "Vis/skjul interface",
+  "HideUI": "Skjul brugergrænsefladen",
   "High": "Høj",
   "HighQuality": "Høj kvalitet",
   "HighlightColor": "Accentfarve",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Vis værktøjslinjen i bunden",
   "ShowButtonsInHiddenUI": "Vis knapper, når interfacet er skjult",
   "ShowFileSavingDialog": "Vis gem fil dialogen",
-  "ShowHideUI": "Vis/skjul interface",
   "ShowImageGallery": "Vis billedgalleri",
   "ShowImageInfo": "Vis billede Info",
   "ShowInFolder": "Vis i mappe",
   "ShowInfoWindow": "Åbn vindue for info og genveje",
   "ShowResizeWindow": "Vis størrelsesændringsvinduet",
+  "ShowUI": "Vis brugergrænsefladen",
   "ShutterPriority": "Lukker prioritet",
   "SideBySide": "Side om side",
   "SideBySideTooltip": "Vis billeder side om side",

+ 2 - 2
src/PicView.Core/Config/Languages/de.json

@@ -160,7 +160,7 @@
   "Hard": "Hart",
   "Height": "Höhe",
   "HideBottomGallery": "Unteres Galerie verstecken",
-  "HideShowInterface": "Zeige/Verstecke Interface",
+  "HideUI": "UI ausblenden",
   "High": "Hoch",
   "HighQuality": "Hochwertig",
   "HighlightColor": "Highlight Farbe",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Unterste Symbolleiste anzeigen",
   "ShowButtonsInHiddenUI": "Tasten im ausgeblendeten UI zeigen",
   "ShowFileSavingDialog": "Dateispeicherdialog anzeigen",
-  "ShowHideUI": "Oberfläche anzeigen/ausblenden",
   "ShowImageGallery": "Zeige Bildergalerie",
   "ShowImageInfo": "Bild Info anzeigen",
   "ShowInFolder": "Im Ordner anzeigen",
   "ShowInfoWindow": "Info Fenster anzeigen",
   "ShowResizeWindow": "Größenänderungsfenster anzeigen",
+  "ShowUI": "UI anzeigen",
   "ShutterPriority": "Verschlusspriorität",
   "SideBySide": "Seitenspalte",
   "SideBySideTooltip": "Bilder nebeneinander anzeigen",

+ 2 - 2
src/PicView.Core/Config/Languages/en.json

@@ -160,7 +160,7 @@
   "Hard": "Hard",
   "Height": "Height",
   "HideBottomGallery": "Hide bottom gallery",
-  "HideShowInterface": "Hide/show interface",
+  "HideUI": "Hide interface",
   "High": "High",
   "HighQuality": "High quality",
   "HighlightColor": "Highlight color",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Show bottom toolbar",
   "ShowButtonsInHiddenUI": "Show buttons in hidden UI",
   "ShowFileSavingDialog": "Show file saving dialog",
-  "ShowHideUI": "Show/hide interface",
   "ShowImageGallery": "Show image gallery",
   "ShowImageInfo": "Show Image Info",
   "ShowInFolder": "Show in folder",
   "ShowInfoWindow": "Show info window",
   "ShowResizeWindow": "Show the Resize Window",
+  "ShowUI": "Show UI",
   "ShutterPriority": "Shutter priority",
   "SideBySide": "Side by side",
   "SideBySideTooltip": "Show images side by side",

+ 2 - 2
src/PicView.Core/Config/Languages/es.json

@@ -160,7 +160,7 @@
   "Hard": "Duro",
   "Height": "Alto",
   "HideBottomGallery": "Ocultar galería inferior",
-  "HideShowInterface": "Ocultar/mostrar interfaz",
+  "HideUI": "Ocultar interfaz",
   "High": "Alto",
   "HighQuality": "Alta calidad",
   "HighlightColor": "Color de resaltado",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Mostrar barra de herramientas inferior",
   "ShowButtonsInHiddenUI": "Mostrar botones en interfaz oculta",
   "ShowFileSavingDialog": "Mostrar el cuadro de diálogo de guardar archivo",
-  "ShowHideUI": "Mostrar/ocultar interfaz",
   "ShowImageGallery": "Mostrar galería de imáagenes",
   "ShowImageInfo": "Mostrar Información de Imagen",
   "ShowInFolder": "Mostrar en carpeta",
   "ShowInfoWindow": "Mostrar ventana de información",
   "ShowResizeWindow": "Mostrar la ventana de cambio de tamaño",
+  "ShowUI": "Mostrar interfaz",
   "ShutterPriority": "Prioridad de obturador",
   "SideBySide": "Vista lateral",
   "SideBySideTooltip": "Mostrar las imagenes uno al lado del otro",

+ 2 - 2
src/PicView.Core/Config/Languages/fr.json

@@ -160,7 +160,7 @@
   "Hard": "Dur",
   "Height": "Hauteur",
   "HideBottomGallery": "Masquer la galerie inférieure",
-  "HideShowInterface": "Masquer/afficher l'interface",
+  "HideUI": "Masquer l'interface",
   "High": "Élevé",
   "HighQuality": "Haute qualité",
   "HighlightColor": "Couleur de surbrillance",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Afficher la barre d'outils inférieure",
   "ShowButtonsInHiddenUI": "Afficher les boutons de l'interface cachée",
   "ShowFileSavingDialog": "Afficher la boîte de dialogue d'enregistrement de fichier",
-  "ShowHideUI": "Afficher/masquer l'interface",
   "ShowImageGallery": "Afficher la galerie d'images",
   "ShowImageInfo": "Afficher les infos de l'image",
   "ShowInFolder": "Afficher dans le dossier",
   "ShowInfoWindow": "Afficher la fenêtre d'infos",
   "ShowResizeWindow": "Afficher la fenêtre de redimensionnement",
+  "ShowUI": "Afficher l'interface",
   "ShutterPriority": "Priorité à l'obturateur",
   "SideBySide": "Côte à côte",
   "SideBySideTooltip": "Afficher les images côte à côte",

+ 2 - 2
src/PicView.Core/Config/Languages/it.json

@@ -160,7 +160,7 @@
   "Hard": "Duro",
   "Height": "Altezza",
   "HideBottomGallery": "Nascondi galleria inferiore",
-  "HideShowInterface": "Nascondi/mostra interfaccia",
+  "HideUI": "Nascondi interfaccia",
   "High": "Alto",
   "HighQuality": "Alta qualità",
   "HighlightColor": "Evidenzia colore",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Mostra la barra degli strumenti inferiore",
   "ShowButtonsInHiddenUI": "Mostra i pulsanti nell'interfaccia utente nascosta",
   "ShowFileSavingDialog": "Mostra finestra di salvataggio file",
-  "ShowHideUI": "Mostra/nascondi interfaccia",
   "ShowImageGallery": "Mostra galleria immagini",
   "ShowImageInfo": "Mostra informazioni sull'immagine",
   "ShowInFolder": "Mostra nella cartella",
   "ShowInfoWindow": "Mostra finestra informativa",
   "ShowResizeWindow": "Mostra la finestra Ridimensiona",
+  "ShowUI": "Mostra interfaccia",
   "ShutterPriority": "Priorità dell'otturatore",
   "SideBySide": "Fianco a fianco",
   "SideBySideTooltip": "Mostra le immagini affiancate",

+ 2 - 2
src/PicView.Core/Config/Languages/ko.json

@@ -160,7 +160,7 @@
   "Hard": "단단함",
   "Height": "높이",
   "HideBottomGallery": "하단 갤러리 숨기기",
-  "HideShowInterface": "인터페이스 숨기기/표시",
+  "HideUI": "UI 숨기기",
   "High": "높음",
   "HighQuality": "높은 품질",
   "HighlightColor": "강조 색상",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "하단 도구 모음 표시",
   "ShowButtonsInHiddenUI": "숨겨진 UI에 버튼 표시",
   "ShowFileSavingDialog": "파일 저장 대화상자 표시",
-  "ShowHideUI": "인터페이스 표시/숨기기",
   "ShowImageGallery": "이미지 갤러리 표시",
   "ShowImageInfo": "이미지 정보 표시",
   "ShowInFolder": "폴더에서 표시",
   "ShowInfoWindow": "정보 창 표시",
   "ShowResizeWindow": "크기 조정 창 표시",
+  "ShowUI": "UI 표시",
   "ShutterPriority": "셔터 우선",
   "SideBySide": "나란히",
   "SideBySideTooltip": "이미지를 나란히 표시",

+ 2 - 2
src/PicView.Core/Config/Languages/pl.json

@@ -160,7 +160,7 @@
   "Hard": "Twardy",
   "Height": "Wysokość",
   "HideBottomGallery": "Ukryj dolną galerię",
-  "HideShowInterface": "Ukryj/pokaż interfejs",
+  "HideUI": "Ukryj interfejs",
   "High": "Wysoki",
   "HighQuality": "Wysoka jakość",
   "HighlightColor": "Kolor zaznaczenia",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Pokaż dolny pasek narzędzi",
   "ShowButtonsInHiddenUI": "Pokaż przyciski w ukrytym oknie",
   "ShowFileSavingDialog": "Pokaż okno zapisywania pliku",
-  "ShowHideUI": "Pokaż/ukryj interfejs",
   "ShowImageGallery": "Pokaż galerię zdjęć",
   "ShowImageInfo": "Pokaż szczegóły zdjęcia",
   "ShowInFolder": "Pokaż w folderze",
   "ShowInfoWindow": "Pokaż okno z informacją",
   "ShowResizeWindow": "Pokaż okno Zmiana rozmiaru",
+  "ShowUI": "Pokaż interfejs",
   "ShutterPriority": "Priorytet migawki",
   "SideBySide": "Obok siebie",
   "SideBySideTooltip": "Pokaż obrazy obok siebie",

+ 1 - 2
src/PicView.Core/Config/Languages/ro.json

@@ -160,7 +160,6 @@
   "Hard": "Tare",
   "Height": "Înălțime",
   "HideBottomGallery": "Ascunde galeria de jos",
-  "HideShowInterface": "Ascunde/arată interfața",
   "High": "Înalt",
   "HighQuality": "Calitate înaltă",
   "HighlightColor": "Culoare de evidențiere",
@@ -314,7 +313,7 @@
   "ShowBottomToolbar": "Afișează bara de instrumente de jos",
   "ShowButtonsInHiddenUI": "Arată butoanele în interfața ascunsă",
   "ShowFileSavingDialog": "Afișează dialogul de salvare fișier",
-  "ShowHideUI": "Arată/ascunde interfața",
+  "HideUI": "Ascunde interfața",
   "ShowImageGallery": "Arată galeria de imagini",
   "ShowImageInfo": "Arată informațiile imaginii",
   "ShowInFolder": "Arată în dosar",

+ 2 - 2
src/PicView.Core/Config/Languages/ru.json

@@ -160,7 +160,7 @@
   "Hard": "Жесткий",
   "Height": "Высота",
   "HideBottomGallery": "Скрыть нижнюю галерею",
-  "HideShowInterface": "Скрыть/показать интерфейс",
+  "HideUI": "Скрыть интерфейс",
   "High": "Высокий",
   "HighQuality": "Высокое качество",
   "HighlightColor": "Цвет выделения",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "Показать нижнюю панель инструментов",
   "ShowButtonsInHiddenUI": "Показать кнопки в скрытом пользовательском интерфейсе",
   "ShowFileSavingDialog": "Показать диалоговое окно сохранения файла",
-  "ShowHideUI": "Показать/скрыть интерфейс",
   "ShowImageGallery": "Показать галерею изображений",
   "ShowImageInfo": "Показать информацию об изображении",
   "ShowInFolder": "Показать в папке",
   "ShowInfoWindow": "Показать информационное окно",
   "ShowResizeWindow": "Показать окно изменения размера",
+  "ShowUI": "Afișează interfața",
   "ShutterPriority": "Приоритет затвора",
   "SideBySide": "Бок о бок",
   "SideBySideTooltip": "Показывать изображения рядом",

+ 2 - 2
src/PicView.Core/Config/Languages/zh-CN.json

@@ -160,7 +160,7 @@
   "Hard": "硬",
   "Height": "高度",
   "HideBottomGallery": "收起底部图",
-  "HideShowInterface": "显示/隐藏界面",
+  "HideUI": "隐藏界面",
   "High": "高",
   "HighQuality": "高质量",
   "HighlightColor": "主题高亮色",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "查看底部工具栏",
   "ShowButtonsInHiddenUI": "在隐藏界面时显示按钮",
   "ShowFileSavingDialog": "查看文件保存对话框",
-  "ShowHideUI": "显示/隐藏界面",
   "ShowImageGallery": "显示图片相册",
   "ShowImageInfo": "显示图像信息",
   "ShowInFolder": "在文件夹中显示",
   "ShowInfoWindow": "显示应用程序信息窗口",
   "ShowResizeWindow": "显示调整尺寸窗口",
+  "ShowUI": "顯示介面",
   "ShutterPriority": "快门优先",
   "SideBySide": "并排",
   "SideBySideTooltip": "并排显示图像",

+ 2 - 2
src/PicView.Core/Config/Languages/zh-TW.json

@@ -160,7 +160,7 @@
   "Hard": "硬",
   "Height": "高度",
   "HideBottomGallery": "收起底部圖",
-  "HideShowInterface": "顯示/隱藏介面",
+  "HideUI": "隱藏介面",
   "High": "高",
   "HighQuality": "高品質",
   "HighlightColor": "醒目強調色",
@@ -314,12 +314,12 @@
   "ShowBottomToolbar": "查看底部工具列",
   "ShowButtonsInHiddenUI": "在隱藏介面時顯示按鈕",
   "ShowFileSavingDialog": "顯示檔案儲存對話方塊",
-  "ShowHideUI": "顯示/隱藏介面",
   "ShowImageGallery": "顯示圖片相簿",
   "ShowImageInfo": "顯示影像資訊",
   "ShowInFolder": "在資料夾中顯示",
   "ShowInfoWindow": "顯示應用程式資訊視窗",
   "ShowResizeWindow": "顯示調整大小視窗",
+  "ShowUI": "顯示介面",
   "ShutterPriority": "快門優先",
   "SideBySide": "並排",
   "SideBySideTooltip": "並排顯示影像",

+ 2 - 1
src/PicView.Core/Localization/LanguageModel.cs

@@ -186,7 +186,8 @@ public class LanguageModel
     public string? Scrolling { get; set; }
     public string? Looping { get; set; }
     public string? FitToWindow { get; set; }
-    public string? ShowHideUI { get; set; }
+    public string? ShowUI { get; set; }
+    public string? HideUI { get; set; }
     public string? ChangeBackground { get; set; }
     public string? ChangeBackgroundTooltip { get; set; }
     public string? Copy { get; set; }