added localization strings for settings.

This commit is contained in:
morkt
2018-01-12 19:56:25 +04:00
parent 3e6645a336
commit c3f4343558
21 changed files with 243 additions and 21 deletions

View File

@@ -25,10 +25,10 @@ IN THE SOFTWARE.
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:GARbro.GUI.Strings"
xmlns:local="clr-namespace:GARbro.GUI"
Title="Settings" ShowInTaskbar="False" ResizeMode="NoResize"
Title="{x:Static s:guiStrings.TextPreferences}" ShowInTaskbar="False" ResizeMode="NoResize"
FocusManager.FocusedElement="{Binding ElementName=SectionsPane}"
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"
Height="400" Width="400" WindowStartupLocation="CenterOwner">
Height="400" Width="500" WindowStartupLocation="CenterOwner">
<Window.Resources>
<LinearGradientBrush x:Key="SectionTitleBackground" StartPoint="0,0" EndPoint="1,0">
<GradientStop Color="#FFA0A0FF" Offset="0"/>
@@ -155,7 +155,7 @@ IN THE SOFTWARE.
<StackPanel DockPanel.Dock="Bottom" Margin="0,10,0,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom">
<Button Width="75" Height="25" Margin="0,0,10,0" Content="{x:Static s:guiStrings.ButtonOK}" IsDefault="True" Click="Button_ClickOk"/>
<Button Width="75" Height="25" Margin="0,0,10,0" Content="{x:Static s:guiStrings.ButtonCancel}" IsCancel="True"/>
<Button Width="75" Height="25" Margin="0" Content="Apply" Click="Button_ClickApply" IsEnabled="{Binding HasChanges}"/>
<Button Width="75" Height="25" Margin="0" Content="{x:Static s:guiStrings.ButtonApply}" Click="Button_ClickApply" IsEnabled="{Binding HasChanges}"/>
</StackPanel>
<TreeView x:Name="SectionsPane" DockPanel.Dock="Left" Padding="4" ItemsSource="{Binding Root}"
TreeViewItem.Selected="OnSectionChanged">