mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-28 22:57:45 +08:00
added localization strings for settings.
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user