|
@@ -28,7 +28,7 @@
|
|
<!-- Open -->
|
|
<!-- Open -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding OpenFileCommand}"
|
|
Command="{CompiledBinding OpenFileCommand}"
|
|
- Header="{CompiledBinding Open,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Open,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
MinWidth="180">
|
|
MinWidth="180">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -44,9 +44,9 @@
|
|
<!-- Save -->
|
|
<!-- Save -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SaveFileCommand}"
|
|
Command="{CompiledBinding SaveFileCommand}"
|
|
- Header="{CompiledBinding Save,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Save,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -61,9 +61,9 @@
|
|
<!-- Save as -->
|
|
<!-- Save as -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SaveFileAsCommand}"
|
|
Command="{CompiledBinding SaveFileAsCommand}"
|
|
- Header="{CompiledBinding SaveAs,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.SaveAs,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -78,11 +78,11 @@
|
|
<!-- Print -->
|
|
<!-- Print -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding PrintCommand}"
|
|
Command="{CompiledBinding PrintCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding Print,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Print,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -97,11 +97,11 @@
|
|
<!-- Open with -->
|
|
<!-- Open with -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding OpenWithCommand}"
|
|
Command="{CompiledBinding OpenWithCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding OpenWith,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.OpenWith,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -116,9 +116,9 @@
|
|
<!-- Locate on disk -->
|
|
<!-- Locate on disk -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding LocateOnDiskCommand}"
|
|
Command="{CompiledBinding LocateOnDiskCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding ShowInFolder,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.ShowInFolder,
|
|
Mode=OneWay}">
|
|
Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -133,7 +133,7 @@
|
|
<Separator />
|
|
<Separator />
|
|
|
|
|
|
<!-- Sort files by -->
|
|
<!-- Sort files by -->
|
|
- <MenuItem Header="{CompiledBinding SortFilesBy, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Header="{CompiledBinding Translation.SortFilesBy, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
Data="M666 481q-60 92-137 273-22-45-37-72.5t-40.5-63.5-51-56.5-63-35-81.5-14.5h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224q250 0 410 225zm1126 799q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-192q-32 0-85 .5t-81 1-73-1-71-5-64-10.5-63-18.5-58-28.5-59-40-55-53.5-56-69.5q59-93 136-273 22 45 37 72.5t40.5 63.5 51 56.5 63 35 81.5 14.5h256v-192q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23zm0-896q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-192h-256q-48 0-87 15t-69 45-51 61.5-45 77.5q-32 62-78 171-29 66-49.5 111t-54 105-64 100-74 83-90 68.5-106.5 42-128 16.5h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224q48 0 87-15t69-45 51-61.5 45-77.5q32-62 78-171 29-66 49.5-111t54-105 64-100 74-83 90-68.5 106.5-42 128-16.5h256v-192q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23z"
|
|
Data="M666 481q-60 92-137 273-22-45-37-72.5t-40.5-63.5-51-56.5-63-35-81.5-14.5h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224q250 0 410 225zm1126 799q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-192q-32 0-85 .5t-81 1-73-1-71-5-64-10.5-63-18.5-58-28.5-59-40-55-53.5-56-69.5q59-93 136-273 22 45 37 72.5t40.5 63.5 51 56.5 63 35 81.5 14.5h256v-192q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23zm0-896q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-192h-256q-48 0-87 15t-69 45-51 61.5-45 77.5q-32 62-78 171-29 66-49.5 111t-54 105-64 100-74 83-90 68.5-106.5 42-128 16.5h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224q48 0 87-15t69-45 51-61.5 45-77.5q32-62 78-171 29-66 49.5-111t54-105 64-100 74-83 90-68.5 106.5-42 128-16.5h256v-192q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23z"
|
|
@@ -147,7 +147,7 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesByNameCommand}"
|
|
Command="{CompiledBinding SortFilesByNameCommand}"
|
|
GroupName="SortType"
|
|
GroupName="SortType"
|
|
- Header="{CompiledBinding FileName,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.FileName,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
@@ -158,7 +158,7 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesBySizeCommand}"
|
|
Command="{CompiledBinding SortFilesBySizeCommand}"
|
|
GroupName="SortType"
|
|
GroupName="SortType"
|
|
- Header="{CompiledBinding FileSize,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.FileSize,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
@@ -169,7 +169,7 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesByExtensionCommand}"
|
|
Command="{CompiledBinding SortFilesByExtensionCommand}"
|
|
GroupName="SortType"
|
|
GroupName="SortType"
|
|
- Header="{CompiledBinding FileExtension,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.FileExtension,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
@@ -180,7 +180,7 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesByCreationTimeCommand}"
|
|
Command="{CompiledBinding SortFilesByCreationTimeCommand}"
|
|
GroupName="SortType"
|
|
GroupName="SortType"
|
|
- Header="{CompiledBinding Created,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Created,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
@@ -191,7 +191,7 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesByLastAccessTimeCommand}"
|
|
Command="{CompiledBinding SortFilesByLastAccessTimeCommand}"
|
|
GroupName="SortType"
|
|
GroupName="SortType"
|
|
- Header="{CompiledBinding LastAccessTime,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.LastAccessTime,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
@@ -202,7 +202,7 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesRandomlyCommand}"
|
|
Command="{CompiledBinding SortFilesRandomlyCommand}"
|
|
GroupName="SortType"
|
|
GroupName="SortType"
|
|
- Header="{CompiledBinding Random,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Random,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
IsChecked="{CompiledBinding SortOrder,
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
Converter={StaticResource EnumToBoolConverter},
|
|
@@ -215,7 +215,7 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesAscendingCommand}"
|
|
Command="{CompiledBinding SortFilesAscendingCommand}"
|
|
GroupName="SortDirection"
|
|
GroupName="SortDirection"
|
|
- Header="{CompiledBinding Ascending,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Ascending,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding IsAscending}"
|
|
IsChecked="{CompiledBinding IsAscending}"
|
|
ToggleType="Radio" />
|
|
ToggleType="Radio" />
|
|
@@ -224,13 +224,13 @@
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SortFilesDescendingCommand}"
|
|
Command="{CompiledBinding SortFilesDescendingCommand}"
|
|
GroupName="SortDirection"
|
|
GroupName="SortDirection"
|
|
- Header="{CompiledBinding Descending,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Descending,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
ToggleType="Radio" />
|
|
ToggleType="Radio" />
|
|
</MenuItem>
|
|
</MenuItem>
|
|
|
|
|
|
<!-- Recent files -->
|
|
<!-- Recent files -->
|
|
- <MenuItem Header="{Binding RecentFiles, Mode=OneWay}" x:Name="RecentFilesCM">
|
|
|
|
|
|
+ <MenuItem Header="{Binding Translation.RecentFiles, Mode=OneWay}" x:Name="RecentFilesCM">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
Data="M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"
|
|
Data="M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"
|
|
@@ -242,7 +242,7 @@
|
|
</MenuItem>
|
|
</MenuItem>
|
|
|
|
|
|
<!-- Settings -->
|
|
<!-- Settings -->
|
|
- <MenuItem Header="{CompiledBinding Settings, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Header="{CompiledBinding Translation.Settings, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
Data="{StaticResource WrenchGeometry}"
|
|
Data="{StaticResource WrenchGeometry}"
|
|
@@ -255,7 +255,7 @@
|
|
<!-- Toggle Subdirectories -->
|
|
<!-- Toggle Subdirectories -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ToggleSubdirectoriesCommand}"
|
|
Command="{CompiledBinding ToggleSubdirectoriesCommand}"
|
|
- Header="{CompiledBinding SearchSubdirectory,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.SearchSubdirectory,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{Binding IsIncludingSubdirectories}"
|
|
IsChecked="{Binding IsIncludingSubdirectories}"
|
|
ToggleType="CheckBox" />
|
|
ToggleType="CheckBox" />
|
|
@@ -264,7 +264,7 @@
|
|
|
|
|
|
<!-- Toggle looping -->
|
|
<!-- Toggle looping -->
|
|
<MenuItem
|
|
<MenuItem
|
|
- Header="{CompiledBinding GetIsLoopingTranslation,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.IsLooping,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{Binding IsLooping}"
|
|
IsChecked="{Binding IsLooping}"
|
|
ToggleType="CheckBox" />
|
|
ToggleType="CheckBox" />
|
|
@@ -273,7 +273,7 @@
|
|
|
|
|
|
<!-- Toggle scrolling -->
|
|
<!-- Toggle scrolling -->
|
|
<MenuItem
|
|
<MenuItem
|
|
- Header="{CompiledBinding GetIsScrollingTranslation,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.IsScrolling,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding IsScrollingEnabled}"
|
|
IsChecked="{CompiledBinding IsScrollingEnabled}"
|
|
ToggleType="CheckBox" />
|
|
ToggleType="CheckBox" />
|
|
@@ -281,7 +281,7 @@
|
|
<!-- Toggle stretching -->
|
|
<!-- Toggle stretching -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding StretchCommand}"
|
|
Command="{CompiledBinding StretchCommand}"
|
|
- Header="{CompiledBinding Stretch,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Stretch,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding IsStretched}"
|
|
IsChecked="{CompiledBinding IsStretched}"
|
|
ToggleType="CheckBox" />
|
|
ToggleType="CheckBox" />
|
|
@@ -289,9 +289,9 @@
|
|
<!-- Toggle side-by-side -->
|
|
<!-- Toggle side-by-side -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ShowSideBySideCommand}"
|
|
Command="{CompiledBinding ShowSideBySideCommand}"
|
|
- Header="{CompiledBinding SideBySide,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.SideBySide,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsChecked="{CompiledBinding IsShowingSideBySide}"
|
|
|
|
|
|
+ IsChecked="{CompiledBinding PicViewer.IsShowingSideBySide}"
|
|
ToggleType="CheckBox" />
|
|
ToggleType="CheckBox" />
|
|
|
|
|
|
<Separator />
|
|
<Separator />
|
|
@@ -299,7 +299,7 @@
|
|
<!-- Toggle topmost -->
|
|
<!-- Toggle topmost -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ChangeTopMostCommand}"
|
|
Command="{CompiledBinding ChangeTopMostCommand}"
|
|
- Header="{CompiledBinding StayTopMost,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.StayTopMost,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding IsTopMost}"
|
|
IsChecked="{CompiledBinding IsTopMost}"
|
|
ToggleType="CheckBox" />
|
|
ToggleType="CheckBox" />
|
|
@@ -307,7 +307,7 @@
|
|
<!-- Toggle auto fit -->
|
|
<!-- Toggle auto fit -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ChangeAutoFitCommand}"
|
|
Command="{CompiledBinding ChangeAutoFitCommand}"
|
|
- Header="{CompiledBinding AutoFitWindow,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.AutoFitWindow,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding IsAutoFit}"
|
|
IsChecked="{CompiledBinding IsAutoFit}"
|
|
ToggleType="CheckBox" />
|
|
ToggleType="CheckBox" />
|
|
@@ -315,7 +315,7 @@
|
|
<Separator />
|
|
<Separator />
|
|
|
|
|
|
<!-- Toggle ctrl zoom -->
|
|
<!-- Toggle ctrl zoom -->
|
|
- <MenuItem Command="{CompiledBinding ChangeCtrlZoomCommand}" Header="{CompiledBinding GetIsCtrlZoomTranslation, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Command="{CompiledBinding ChangeCtrlZoomCommand}" Header="{CompiledBinding Translation.IsCtrlToZoom, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
Height="12"
|
|
Height="12"
|
|
@@ -329,7 +329,7 @@
|
|
<!-- Toggle UI -->
|
|
<!-- Toggle UI -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ToggleUICommand}"
|
|
Command="{CompiledBinding ToggleUICommand}"
|
|
- Header="{CompiledBinding GetIsShowingUITranslation,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.IsShowingUI,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsVisible="{CompiledBinding IsUIShown,
|
|
IsVisible="{CompiledBinding IsUIShown,
|
|
Mode=OneWay}">
|
|
Mode=OneWay}">
|
|
@@ -343,7 +343,7 @@
|
|
|
|
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ToggleUICommand}"
|
|
Command="{CompiledBinding ToggleUICommand}"
|
|
- Header="{CompiledBinding GetIsShowingUITranslation,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.IsShowingUI,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsVisible="{CompiledBinding !IsUIShown,
|
|
IsVisible="{CompiledBinding !IsUIShown,
|
|
Mode=OneWay}">
|
|
Mode=OneWay}">
|
|
@@ -358,7 +358,7 @@
|
|
<!-- Change background -->
|
|
<!-- Change background -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ChangeBackgroundCommand}"
|
|
Command="{CompiledBinding ChangeBackgroundCommand}"
|
|
- Header="{CompiledBinding ChangeBackground,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.ChangeBackground,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -372,7 +372,7 @@
|
|
<!-- Toggle bottom gallery -->
|
|
<!-- Toggle bottom gallery -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ToggleBottomGalleryCommand}"
|
|
Command="{CompiledBinding ToggleBottomGalleryCommand}"
|
|
- Header="{CompiledBinding GetIsShowingBottomGalleryTranslation,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.IsShowingBottomGallery,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding IsBottomGalleryShown}">
|
|
IsChecked="{CompiledBinding IsBottomGalleryShown}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -392,7 +392,7 @@
|
|
<!-- Toggle bottom bar -->
|
|
<!-- Toggle bottom bar -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ToggleBottomNavBarCommand}"
|
|
Command="{CompiledBinding ToggleBottomNavBarCommand}"
|
|
- Header="{CompiledBinding ShowBottomToolbar,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.ShowBottomToolbar,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsChecked="{CompiledBinding IsBottomToolbarShown}"
|
|
IsChecked="{CompiledBinding IsBottomToolbarShown}"
|
|
IsVisible="{CompiledBinding !IsBottomToolbarShown}"
|
|
IsVisible="{CompiledBinding !IsBottomToolbarShown}"
|
|
@@ -408,7 +408,7 @@
|
|
<Separator />
|
|
<Separator />
|
|
|
|
|
|
<!-- Show Settings window -->
|
|
<!-- Show Settings window -->
|
|
- <MenuItem Command="{CompiledBinding ShowSettingsWindowCommand}" Header="{CompiledBinding ShowAllSettingsWindow, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Command="{CompiledBinding ShowSettingsWindowCommand}" Header="{CompiledBinding Translation.ShowAllSettingsWindow, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
Data="M262.29 192.31a64 64 0 1057.4 57.4 64.13 64.13 0 00-57.4-57.4zM416.39 256a154.34 154.34 0 01-1.53 20.79l45.21 35.46a10.81 10.81 0 012.45 13.75l-42.77 74a10.81 10.81 0 01-13.14 4.59l-44.9-18.08a16.11 16.11 0 00-15.17 1.75A164.48 164.48 0 01325 400.8a15.94 15.94 0 00-8.82 12.14l-6.73 47.89a11.08 11.08 0 01-10.68 9.17h-85.54a11.11 11.11 0 01-10.69-8.87l-6.72-47.82a16.07 16.07 0 00-9-12.22 155.3 155.3 0 01-21.46-12.57 16 16 0 00-15.11-1.71l-44.89 18.07a10.81 10.81 0 01-13.14-4.58l-42.77-74a10.8 10.8 0 012.45-13.75l38.21-30a16.05 16.05 0 006-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 00-6.07-13.94l-38.19-30A10.81 10.81 0 0149.48 186l42.77-74a10.81 10.81 0 0113.14-4.59l44.9 18.08a16.11 16.11 0 0015.17-1.75A164.48 164.48 0 01187 111.2a15.94 15.94 0 008.82-12.14l6.73-47.89A11.08 11.08 0 01213.23 42h85.54a11.11 11.11 0 0110.69 8.87l6.72 47.82a16.07 16.07 0 009 12.22 155.3 155.3 0 0121.46 12.57 16 16 0 0015.11 1.71l44.89-18.07a10.81 10.81 0 0113.14 4.58l42.77 74a10.8 10.8 0 01-2.45 13.75l-38.21 30a16.05 16.05 0 00-6.05 14.08c.33 4.14.55 8.3.55 12.47z"
|
|
Data="M262.29 192.31a64 64 0 1057.4 57.4 64.13 64.13 0 00-57.4-57.4zM416.39 256a154.34 154.34 0 01-1.53 20.79l45.21 35.46a10.81 10.81 0 012.45 13.75l-42.77 74a10.81 10.81 0 01-13.14 4.59l-44.9-18.08a16.11 16.11 0 00-15.17 1.75A164.48 164.48 0 01325 400.8a15.94 15.94 0 00-8.82 12.14l-6.73 47.89a11.08 11.08 0 01-10.68 9.17h-85.54a11.11 11.11 0 01-10.69-8.87l-6.72-47.82a16.07 16.07 0 00-9-12.22 155.3 155.3 0 01-21.46-12.57 16 16 0 00-15.11-1.71l-44.89 18.07a10.81 10.81 0 01-13.14-4.58l-42.77-74a10.8 10.8 0 012.45-13.75l38.21-30a16.05 16.05 0 006-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 00-6.07-13.94l-38.19-30A10.81 10.81 0 0149.48 186l42.77-74a10.81 10.81 0 0113.14-4.59l44.9 18.08a16.11 16.11 0 0015.17-1.75A164.48 164.48 0 01187 111.2a15.94 15.94 0 008.82-12.14l6.73-47.89A11.08 11.08 0 01213.23 42h85.54a11.11 11.11 0 0110.69 8.87l6.72 47.82a16.07 16.07 0 009 12.22 155.3 155.3 0 0121.46 12.57 16 16 0 0015.11 1.71l44.89-18.07a10.81 10.81 0 0113.14 4.58l42.77 74a10.8 10.8 0 01-2.45 13.75l-38.21 30a16.05 16.05 0 00-6.05 14.08c.33 4.14.55 8.3.55 12.47z"
|
|
@@ -423,7 +423,7 @@
|
|
<Separator />
|
|
<Separator />
|
|
|
|
|
|
<!-- Navigation -->
|
|
<!-- Navigation -->
|
|
- <MenuItem Header="{CompiledBinding Navigation, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Header="{CompiledBinding Translation.Navigation, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
Height="14"
|
|
Height="14"
|
|
@@ -434,9 +434,9 @@
|
|
<!-- Next -->
|
|
<!-- Next -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding NextCommand}"
|
|
Command="{CompiledBinding NextCommand}"
|
|
- Header="{CompiledBinding NextImage,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.NextImage,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -450,9 +450,9 @@
|
|
<!-- Prev -->
|
|
<!-- Prev -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding PreviousCommand}"
|
|
Command="{CompiledBinding PreviousCommand}"
|
|
- Header="{CompiledBinding PrevImage,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.PrevImage,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -468,9 +468,9 @@
|
|
<!-- Next 10 -->
|
|
<!-- Next 10 -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding Skip10Command}"
|
|
Command="{CompiledBinding Skip10Command}"
|
|
- Header="{CompiledBinding AdvanceBy10Images,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.AdvanceBy10Images,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -484,9 +484,9 @@
|
|
<!-- Next 100 -->
|
|
<!-- Next 100 -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding Skip100Command}"
|
|
Command="{CompiledBinding Skip100Command}"
|
|
- Header="{CompiledBinding AdvanceBy100Images,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.AdvanceBy100Images,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -500,9 +500,9 @@
|
|
<!-- Prev 10 -->
|
|
<!-- Prev 10 -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding Prev10Command}"
|
|
Command="{CompiledBinding Prev10Command}"
|
|
- Header="{CompiledBinding GoBackBy10Images,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.GoBackBy10Images,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -516,9 +516,9 @@
|
|
<!-- Prev 100 -->
|
|
<!-- Prev 100 -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding Prev100Command}"
|
|
Command="{CompiledBinding Prev100Command}"
|
|
- Header="{CompiledBinding GoBackBy100Images,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.GoBackBy100Images,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -534,8 +534,8 @@
|
|
<!-- First Image -->
|
|
<!-- First Image -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding FirstCommand}"
|
|
Command="{CompiledBinding FirstCommand}"
|
|
- Header="{CompiledBinding FirstImage}"
|
|
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.FirstImage}"
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
@@ -548,9 +548,9 @@
|
|
<!-- Last Image -->
|
|
<!-- Last Image -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding LastCommand}"
|
|
Command="{CompiledBinding LastCommand}"
|
|
- Header="{CompiledBinding LastImage,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.LastImage,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
@@ -565,9 +565,9 @@
|
|
<!-- Next folder -->
|
|
<!-- Next folder -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding NextFolderCommand}"
|
|
Command="{CompiledBinding NextFolderCommand}"
|
|
- Header="{CompiledBinding NextFolder,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.NextFolder,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
@@ -580,9 +580,9 @@
|
|
<!-- Prev folder -->
|
|
<!-- Prev folder -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding PreviousFolderCommand}"
|
|
Command="{CompiledBinding PreviousFolderCommand}"
|
|
- Header="{CompiledBinding PrevFolder,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.PrevFolder,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
@@ -597,9 +597,9 @@
|
|
|
|
|
|
<!-- Set as wallpaper -->
|
|
<!-- Set as wallpaper -->
|
|
<MenuItem
|
|
<MenuItem
|
|
- Header="{CompiledBinding SetAsWallpaper,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.SetAsWallpaper,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
x:Name="WallpaperMenuItem">
|
|
x:Name="WallpaperMenuItem">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -614,11 +614,11 @@
|
|
<!-- Set as wallpaper filled -->
|
|
<!-- Set as wallpaper filled -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SetAsWallpaperFilledCommand}"
|
|
Command="{CompiledBinding SetAsWallpaperFilledCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding Fill,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Fill,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -633,11 +633,11 @@
|
|
<!-- Set as wallpaper fit -->
|
|
<!-- Set as wallpaper fit -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SetAsWallpaperCommand}"
|
|
Command="{CompiledBinding SetAsWallpaperCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding Fit,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Fit,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -652,11 +652,11 @@
|
|
<!-- Set as wallpaper stretched -->
|
|
<!-- Set as wallpaper stretched -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SetAsWallpaperStretchedCommand}"
|
|
Command="{CompiledBinding SetAsWallpaperStretchedCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding Stretch,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Stretch,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -673,11 +673,11 @@
|
|
<!-- Set as wallpaper centered -->
|
|
<!-- Set as wallpaper centered -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SetAsWallpaperCenteredCommand}"
|
|
Command="{CompiledBinding SetAsWallpaperCenteredCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding Center,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Center,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -692,11 +692,11 @@
|
|
<!-- Set as wallpaper tiled -->
|
|
<!-- Set as wallpaper tiled -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding SetAsWallpaperTiledCommand}"
|
|
Command="{CompiledBinding SetAsWallpaperTiledCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding Tile,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Tile,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -733,7 +733,7 @@
|
|
<Separator />
|
|
<Separator />
|
|
|
|
|
|
<!-- Image -->
|
|
<!-- Image -->
|
|
- <MenuItem Header="{CompiledBinding ImageTxt, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Header="{CompiledBinding Translation.Image, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
Height="12"
|
|
Height="12"
|
|
@@ -742,7 +742,7 @@
|
|
</MenuItem.Icon>
|
|
</MenuItem.Icon>
|
|
|
|
|
|
<!-- Exif window -->
|
|
<!-- Exif window -->
|
|
- <MenuItem Command="{CompiledBinding ShowExifWindowCommand}" Header="{CompiledBinding ImageInfo, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Command="{CompiledBinding ShowExifWindowCommand}" Header="{CompiledBinding Translation.ImageInfo, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
Data="{StaticResource ImageInfoGeometry}"
|
|
Data="{StaticResource ImageInfoGeometry}"
|
|
@@ -756,11 +756,11 @@
|
|
<!-- File properties -->
|
|
<!-- File properties -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding FilePropertiesCommand}"
|
|
Command="{CompiledBinding FilePropertiesCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding FileProperties,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.FileProperties,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -773,7 +773,7 @@
|
|
</MenuItem>
|
|
</MenuItem>
|
|
|
|
|
|
<!-- Single image resize -->
|
|
<!-- Single image resize -->
|
|
- <MenuItem Command="{CompiledBinding ShowSingleImageResizeWindowCommand}" Header="{CompiledBinding ResizeImage, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Command="{CompiledBinding ShowSingleImageResizeWindowCommand}" Header="{CompiledBinding Translation.ResizeImage, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
Height="12"
|
|
Height="12"
|
|
@@ -783,7 +783,7 @@
|
|
</MenuItem>
|
|
</MenuItem>
|
|
|
|
|
|
<!-- Batch resize -->
|
|
<!-- Batch resize -->
|
|
- <MenuItem Command="{CompiledBinding ShowBatchResizeWindowCommand}" Header="{CompiledBinding BatchResize, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Command="{CompiledBinding ShowBatchResizeWindowCommand}" Header="{CompiledBinding Translation.BatchResize, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Image
|
|
<Image
|
|
Height="12"
|
|
Height="12"
|
|
@@ -797,7 +797,7 @@
|
|
<!-- Optimize image -->
|
|
<!-- Optimize image -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding OptimizeImageCommand}"
|
|
Command="{CompiledBinding OptimizeImageCommand}"
|
|
- Header="{CompiledBinding OptimizeImage,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.OptimizeImage,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsEnabled="{CompiledBinding ShouldOptimizeImageBeEnabled,
|
|
IsEnabled="{CompiledBinding ShouldOptimizeImageBeEnabled,
|
|
Mode=OneWay}">
|
|
Mode=OneWay}">
|
|
@@ -814,7 +814,7 @@
|
|
<!-- Crop -->
|
|
<!-- Crop -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding CropCommand}"
|
|
Command="{CompiledBinding CropCommand}"
|
|
- Header="{CompiledBinding Crop,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Crop,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsEnabled="{CompiledBinding ShouldCropBeEnabled,
|
|
IsEnabled="{CompiledBinding ShouldCropBeEnabled,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
@@ -834,8 +834,8 @@
|
|
<!-- Flip -->
|
|
<!-- Flip -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding FlipCommand}"
|
|
Command="{CompiledBinding FlipCommand}"
|
|
- Header="{CompiledBinding GetIsFlippedTranslation}"
|
|
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.IsFlipped}"
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -846,7 +846,7 @@
|
|
Stretch="Fill"
|
|
Stretch="Fill"
|
|
Width="12">
|
|
Width="12">
|
|
<Path.RenderTransform>
|
|
<Path.RenderTransform>
|
|
- <ScaleTransform ScaleX="{CompiledBinding ScaleX}" />
|
|
|
|
|
|
+ <ScaleTransform ScaleX="{CompiledBinding PicViewer.ScaleX}" />
|
|
</Path.RenderTransform>
|
|
</Path.RenderTransform>
|
|
</Path>
|
|
</Path>
|
|
</MenuItem.Icon>
|
|
</MenuItem.Icon>
|
|
@@ -855,9 +855,9 @@
|
|
<!-- Rotate left -->
|
|
<!-- Rotate left -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding RotateLeftCommand}"
|
|
Command="{CompiledBinding RotateLeftCommand}"
|
|
- Header="{CompiledBinding RotateLeft,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.RotateLeft,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -873,9 +873,9 @@
|
|
<!-- Rotate right -->
|
|
<!-- Rotate right -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding RotateRightCommand}"
|
|
Command="{CompiledBinding RotateRightCommand}"
|
|
- Header="{CompiledBinding RotateRight,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.RotateRight,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
StaysOpenOnClick="True">
|
|
StaysOpenOnClick="True">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -894,11 +894,11 @@
|
|
<!-- Delete file -->
|
|
<!-- Delete file -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding RecycleFileCommand}"
|
|
Command="{CompiledBinding RecycleFileCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding DeleteFile,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.DeleteFile,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -913,7 +913,7 @@
|
|
<Separator />
|
|
<Separator />
|
|
|
|
|
|
<!-- Paste -->
|
|
<!-- Paste -->
|
|
- <MenuItem Command="{CompiledBinding PasteCommand}" Header="{CompiledBinding FilePaste, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Command="{CompiledBinding PasteCommand}" Header="{CompiledBinding Translation.File, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
Data="{StaticResource PasteGeometry}"
|
|
Data="{StaticResource PasteGeometry}"
|
|
@@ -927,9 +927,9 @@
|
|
<!-- Copy -->
|
|
<!-- Copy -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding CopyFileCommand}"
|
|
Command="{CompiledBinding CopyFileCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding Copy,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Copy,
|
|
Mode=OneWay}">
|
|
Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -943,9 +943,9 @@
|
|
<!-- Copy image -->
|
|
<!-- Copy image -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding CopyImageCommand}"
|
|
Command="{CompiledBinding CopyImageCommand}"
|
|
- Header="{CompiledBinding CopyImage,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.CopyImage,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding ImageSource,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -960,10 +960,10 @@
|
|
<!-- Copy file path -->
|
|
<!-- Copy file path -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding CopyFilePathCommand}"
|
|
Command="{CompiledBinding CopyFilePathCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{Binding FileCopyPath, Mode=OneWay}"
|
|
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ Header="{Binding Translation.FileCopyPath, Mode=OneWay}"
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -978,13 +978,13 @@
|
|
<!-- Copy base64 -->
|
|
<!-- Copy base64 -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding CopyBase64Command}"
|
|
Command="{CompiledBinding CopyBase64Command}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Header>
|
|
<MenuItem.Header>
|
|
<TextBlock>
|
|
<TextBlock>
|
|
- <Run Text="{CompiledBinding Copy, Mode=OneWay}" />
|
|
|
|
|
|
+ <Run Text="{CompiledBinding Translation.Copy, Mode=OneWay}" />
|
|
<Run Text=" base64" />
|
|
<Run Text=" base64" />
|
|
</TextBlock>
|
|
</TextBlock>
|
|
</MenuItem.Header>
|
|
</MenuItem.Header>
|
|
@@ -1003,11 +1003,11 @@
|
|
<!-- Duplicate file -->
|
|
<!-- Duplicate file -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding DuplicateFileCommand}"
|
|
Command="{CompiledBinding DuplicateFileCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding DuplicateFile,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.DuplicateFile,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -1022,9 +1022,9 @@
|
|
<!-- Cut -->
|
|
<!-- Cut -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding CutCommand}"
|
|
Command="{CompiledBinding CutCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding FileCut,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.FileCut,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsEnabled="False">
|
|
IsEnabled="False">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
@@ -1041,11 +1041,11 @@
|
|
<!-- Copy file -->
|
|
<!-- Copy file -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding CopyFileCommand}"
|
|
Command="{CompiledBinding CopyFileCommand}"
|
|
- CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
|
|
|
+ CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
FallbackValue=''}"
|
|
FallbackValue=''}"
|
|
- Header="{CompiledBinding CopyFile,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.CopyFile,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
- IsEnabled="{CompiledBinding FileInfo,
|
|
|
|
|
|
+ IsEnabled="{CompiledBinding PicViewer.FileInfo,
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
@@ -1062,7 +1062,7 @@
|
|
<!-- Fullscreen -->
|
|
<!-- Fullscreen -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding ToggleFullscreenCommand}"
|
|
Command="{CompiledBinding ToggleFullscreenCommand}"
|
|
- Header="{CompiledBinding FullscreenTxt,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Fullscreen,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsVisible="{CompiledBinding !IsFullscreen,
|
|
IsVisible="{CompiledBinding !IsFullscreen,
|
|
Mode=OneWay}">
|
|
Mode=OneWay}">
|
|
@@ -1079,7 +1079,7 @@
|
|
<!-- Maximize -->
|
|
<!-- Maximize -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding MaximizeCommand}"
|
|
Command="{CompiledBinding MaximizeCommand}"
|
|
- Header="{CompiledBinding Maximize,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.Maximize,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsVisible="{CompiledBinding ShouldMaximizeBeShown,
|
|
IsVisible="{CompiledBinding ShouldMaximizeBeShown,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
@@ -1096,7 +1096,7 @@
|
|
<!-- Restore -->
|
|
<!-- Restore -->
|
|
<MenuItem
|
|
<MenuItem
|
|
Command="{CompiledBinding RestoreCommand}"
|
|
Command="{CompiledBinding RestoreCommand}"
|
|
- Header="{CompiledBinding RestoreDown,
|
|
|
|
|
|
+ Header="{CompiledBinding Translation.RestoreDown,
|
|
Mode=OneWay}"
|
|
Mode=OneWay}"
|
|
IsVisible="{CompiledBinding ShouldRestore,
|
|
IsVisible="{CompiledBinding ShouldRestore,
|
|
Mode=OneWay}">
|
|
Mode=OneWay}">
|
|
@@ -1111,7 +1111,7 @@
|
|
</MenuItem>
|
|
</MenuItem>
|
|
|
|
|
|
<!-- Close -->
|
|
<!-- Close -->
|
|
- <MenuItem Command="{CompiledBinding ExitCommand}" Header="{CompiledBinding Close, Mode=OneWay}">
|
|
|
|
|
|
+ <MenuItem Command="{CompiledBinding ExitCommand}" Header="{CompiledBinding Translation.Close, Mode=OneWay}">
|
|
<MenuItem.Icon>
|
|
<MenuItem.Icon>
|
|
<Path
|
|
<Path
|
|
Data="{StaticResource CloseGeometry}"
|
|
Data="{StaticResource CloseGeometry}"
|