|
@@ -110,53 +110,54 @@
|
|
</ComboBox.ItemContainerStyle>
|
|
</ComboBox.ItemContainerStyle>
|
|
</ComboBox>
|
|
</ComboBox>
|
|
|
|
|
|
- <Label Style="{StaticResource SettingsHeader}">Misc</Label>
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsHeader}" views:Translator.Key="MISC" d:Content="Misc"/>
|
|
|
|
|
|
<CheckBox Margin="27 0"
|
|
<CheckBox Margin="27 0"
|
|
- VerticalAlignment="Center"
|
|
|
|
- IsChecked="{Binding SettingsSubViewModel.File.ShowStartupWindow}">Show startup window</CheckBox>
|
|
|
|
|
|
+ VerticalAlignment="Center" views:Translator.Key="SHOW_STARTUP_WINDOW" d:Content="Show startup window"
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.File.ShowStartupWindow}"/>
|
|
|
|
|
|
<CheckBox Margin="27 10"
|
|
<CheckBox Margin="27 10"
|
|
- VerticalAlignment="Center"
|
|
|
|
- IsChecked="{Binding SettingsSubViewModel.General.ImagePreviewInTaskbar}">Show image preview in taskbar</CheckBox>
|
|
|
|
|
|
+ VerticalAlignment="Center" d:Content="Show image preview in taskbar" views:Translator.Key="SHOW_IMAGE_PREVIEW_TASKBAR"
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.General.ImagePreviewInTaskbar}"/>
|
|
|
|
|
|
<StackPanel Margin="27 0" Orientation="Horizontal">
|
|
<StackPanel Margin="27 0" Orientation="Horizontal">
|
|
<Label Style="{StaticResource SettingsText}"
|
|
<Label Style="{StaticResource SettingsText}"
|
|
- ToolTip="How many documents are shown under File > Recent. Default: 8">Recent file list length</Label>
|
|
|
|
- <usercontrols:NumberInput Margin="10 0 0 0"
|
|
|
|
- Min="0" FontSize="12" HorizontalAlignment="Left"
|
|
|
|
|
|
+ views:Translator.Key="RECENT_FILE_LENGTH"
|
|
|
|
+ views:Translator.TooltipKey="RECENT_FILE_LENGTH_TOOLTIP"/>
|
|
|
|
+ <usercontrols:NumberInput Margin="10 0 0 0"
|
|
|
|
+ Min="0" FontSize="12" HorizontalAlignment="Left"
|
|
Value="{Binding SettingsSubViewModel.File.MaxOpenedRecently, Mode=TwoWay}" Height="19" Width="40"/>
|
|
Value="{Binding SettingsSubViewModel.File.MaxOpenedRecently, Mode=TwoWay}" Height="19" Width="40"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
- <Label Style="{StaticResource SettingsHeader}">Default new file size</Label>
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsHeader}" d:Content="Default new file size" views:Translator.Key="DEFAULT_NEW_SIZE"/>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="27 5">
|
|
<StackPanel Orientation="Horizontal" Margin="27 5">
|
|
- <Label Style="{StaticResource SettingsText}">Width</Label>
|
|
|
|
- <usercontrols:SizeInput Margin="10 0 0 0"
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsText}" d:Content="Width" views:Translator.Key="WIDTH"/>
|
|
|
|
+ <usercontrols:SizeInput Margin="10 0 0 0"
|
|
Size="{Binding SettingsSubViewModel.File.DefaultNewFileWidth, Mode=TwoWay}"
|
|
Size="{Binding SettingsSubViewModel.File.DefaultNewFileWidth, Mode=TwoWay}"
|
|
Width="70" Height="21" MaxSize="9999" HorizontalAlignment="Left"/>
|
|
Width="70" Height="21" MaxSize="9999" HorizontalAlignment="Left"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="27 5">
|
|
<StackPanel Orientation="Horizontal" Margin="27 5">
|
|
- <Label Style="{StaticResource SettingsText}">Height</Label>
|
|
|
|
- <usercontrols:SizeInput Margin="7 0 0 0"
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsText}" d:Content="Height" views:Translator.Key="HEIGHT"/>
|
|
|
|
+ <usercontrols:SizeInput Margin="7 0 0 0"
|
|
Size="{Binding SettingsSubViewModel.File.DefaultNewFileHeight, Mode=TwoWay}"
|
|
Size="{Binding SettingsSubViewModel.File.DefaultNewFileHeight, Mode=TwoWay}"
|
|
Width="70" Height="21" MaxSize="9999" HorizontalAlignment="Left"/>
|
|
Width="70" Height="21" MaxSize="9999" HorizontalAlignment="Left"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
- <Label Style="{StaticResource SettingsHeader}">Tools</Label>
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsHeader}" d:Content="Tools" views:Translator.Key="TOOLS"/>
|
|
|
|
|
|
<CheckBox VerticalAlignment="Center" Margin="27 5"
|
|
<CheckBox VerticalAlignment="Center" Margin="27 5"
|
|
- IsChecked="{Binding SettingsSubViewModel.Tools.EnableSharedToolbar}">Enable shared toolbar</CheckBox>
|
|
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.Tools.EnableSharedToolbar}" d:Content="Enable shared toolbar" views:Translator.Key="ENABLE_SHARED_TOOLBAR"/>
|
|
|
|
|
|
- <Label Style="{StaticResource SettingsHeader}">Automatic updates</Label>
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsHeader}" d:Content="Automatic updates" views:Translator.Key="AUTOMATIC_UPDATES"/>
|
|
|
|
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center" IsEnabled="{Binding Path=ShowUpdateTab}"
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center" IsEnabled="{Binding Path=ShowUpdateTab}"
|
|
- IsChecked="{Binding SettingsSubViewModel.Update.CheckUpdatesOnStartup}">Check updates on startup</CheckBox>
|
|
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.Update.CheckUpdatesOnStartup}" views:Translator.Key="CHECK_FOR_UPDATES" d:Content="Check updates on startup"/>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="27 5">
|
|
<StackPanel Orientation="Horizontal" Margin="27 5">
|
|
- <Label Grid.Row="11" Grid.Column="1" Style="{StaticResource SettingsText}">Update stream</Label>
|
|
|
|
- <StackPanel Margin="5 0" Orientation="Horizontal" VerticalAlignment="Center"
|
|
|
|
|
|
+ <Label Grid.Row="11" Grid.Column="1" Style="{StaticResource SettingsText}" d:Content="Update stream" views:Translator.Key="UPDATE_STREAM"/>
|
|
|
|
+ <StackPanel Margin="5 0" Orientation="Horizontal" VerticalAlignment="Center"
|
|
Height="21.96" HorizontalAlignment="Left">
|
|
Height="21.96" HorizontalAlignment="Left">
|
|
<ComboBox Width="110" IsEnabled="{Binding Path=ShowUpdateTab}"
|
|
<ComboBox Width="110" IsEnabled="{Binding Path=ShowUpdateTab}"
|
|
ItemsSource="{Binding SettingsSubViewModel.Update.UpdateChannels}"
|
|
ItemsSource="{Binding SettingsSubViewModel.Update.UpdateChannels}"
|
|
@@ -164,16 +165,16 @@
|
|
<Image Cursor="Help" Margin="10 0 0 0" Source="/Images/Commands/PixiEditor/Links/OpenDocumentation.png"
|
|
<Image Cursor="Help" Margin="10 0 0 0" Source="/Images/Commands/PixiEditor/Links/OpenDocumentation.png"
|
|
ToolTipService.InitialShowDelay="0"
|
|
ToolTipService.InitialShowDelay="0"
|
|
Visibility="{Binding Path=ShowUpdateTab, Converter={converters:InverseBoolToVisibilityConverter}}"
|
|
Visibility="{Binding Path=ShowUpdateTab, Converter={converters:InverseBoolToVisibilityConverter}}"
|
|
- ToolTip="Update channels can only be changed in standalone version (downloaded from https://pixieditor.net).
Steam and Microsoft Store versions handle updates separately."/>
|
|
|
|
|
|
+ views:Translator.TooltipKey="UPDATE_CHANNEL_HELP_TOOLTIP"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
- <Label Style="{StaticResource SettingsHeader}">Debug</Label>
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsHeader}" d:Content="Debug" views:Translator.Key="DEBUG"/>
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
- IsChecked="{Binding SettingsSubViewModel.General.IsDebugModeEnabled}">Enable Debug Mode</CheckBox>
|
|
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.General.IsDebugModeEnabled}" views:Translator.Key="ENABLE_DEBUG_MODE" d:Content="Enable Debug Mode"/>
|
|
<Label Margin="0 5" Style="{StaticResource SettingsText}" VerticalAlignment="Center">
|
|
<Label Margin="0 5" Style="{StaticResource SettingsText}" VerticalAlignment="Center">
|
|
<Hyperlink Command="{cmds:Command PixiEditor.Debug.OpenCrashReportsDirectory}" Style="{StaticResource SettingsLink}">
|
|
<Hyperlink Command="{cmds:Command PixiEditor.Debug.OpenCrashReportsDirectory}" Style="{StaticResource SettingsLink}">
|
|
- <Run Text="Open Crash Reports Directory"/>
|
|
|
|
|
|
+ <Run views:Translator.Key="OPEN_CRASH_REPORTS_DIR" d:Text="Open crash reports directory"/>
|
|
<Run Text="" FontFamily="{StaticResource Feather}"/>
|
|
<Run Text="" FontFamily="{StaticResource Feather}"/>
|
|
</Hyperlink>
|
|
</Hyperlink>
|
|
</Label>
|
|
</Label>
|
|
@@ -188,19 +189,19 @@
|
|
</Binding>
|
|
</Binding>
|
|
</StackPanel.Visibility>
|
|
</StackPanel.Visibility>
|
|
<StackPanel Orientation="Vertical">
|
|
<StackPanel Orientation="Vertical">
|
|
- <Label Style="{StaticResource SettingsHeader}">Rich Presence</Label>
|
|
|
|
-
|
|
|
|
|
|
+ <Label Style="{StaticResource SettingsHeader}" d:Content="Rich Presence" views:Translator.Key="DISCORD_RICH_PRESENCE"/>
|
|
|
|
+
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
- IsChecked="{Binding SettingsSubViewModel.Discord.EnableRichPresence}">Enabled</CheckBox>
|
|
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.Discord.EnableRichPresence}" d:Content="Enabled" views:Translator.Key="ENABLED"/>
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
IsEnabled="{Binding SettingsSubViewModel.Discord.EnableRichPresence}"
|
|
IsEnabled="{Binding SettingsSubViewModel.Discord.EnableRichPresence}"
|
|
- IsChecked="{Binding SettingsSubViewModel.Discord.ShowDocumentName}">Show image name</CheckBox>
|
|
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.Discord.ShowDocumentName}" d:Content="Show image name" views:Translator.Key="SHOW_IMAGE_NAME"/>
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
- IsEnabled="{Binding SettingsSubViewModel.Discord.EnableRichPresence}"
|
|
|
|
- IsChecked="{Binding SettingsSubViewModel.Discord.ShowDocumentSize}">Show image size</CheckBox>
|
|
|
|
|
|
+ IsEnabled="{Binding SettingsSubViewModel.Discord.EnableRichPresence}" d:Content="Show image size" views:Translator.Key="SHOW_IMAGE_SIZE"
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.Discord.ShowDocumentSize}"/>
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
<CheckBox Margin="27 5" VerticalAlignment="Center"
|
|
- IsEnabled="{Binding SettingsSubViewModel.Discord.EnableRichPresence}"
|
|
|
|
- IsChecked="{Binding SettingsSubViewModel.Discord.ShowLayerCount}">Show layer count</CheckBox>
|
|
|
|
|
|
+ IsEnabled="{Binding SettingsSubViewModel.Discord.EnableRichPresence}" views:Translator.Key="SHOW_LAYER_COUNT" d:Content="Show layer count"
|
|
|
|
+ IsChecked="{Binding SettingsSubViewModel.Discord.ShowLayerCount}"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<usercontrols:DiscordRPPreview
|
|
<usercontrols:DiscordRPPreview
|
|
Margin="15"
|
|
Margin="15"
|