From 315aa97e88ccfdfd0851884459344f38315b5bc8 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 2 Jun 2015 16:56:32 +0400 Subject: [PATCH] (WidgetDPK): update key fields in code-behind. --- ArcFormats/Strings/arcStrings.Designer.cs | 9 ++++++++ ArcFormats/Strings/arcStrings.resx | 3 +++ ArcFormats/Strings/arcStrings.ru-RU.resx | 3 +++ ArcFormats/WidgetDPK.xaml | 24 +++------------------ ArcFormats/WidgetDPK.xaml.cs | 26 +++++++++++++++++++++-- 5 files changed, 42 insertions(+), 23 deletions(-) diff --git a/ArcFormats/Strings/arcStrings.Designer.cs b/ArcFormats/Strings/arcStrings.Designer.cs index 8ebef624..4ba844ff 100644 --- a/ArcFormats/Strings/arcStrings.Designer.cs +++ b/ArcFormats/Strings/arcStrings.Designer.cs @@ -124,6 +124,15 @@ namespace GameRes.Formats.Strings { } } + /// + /// Looks up a localized string similar to 32-bit hex number. + /// + public static string ArcHex32Bit { + get { + return ResourceManager.GetString("ArcHex32Bit", resourceCulture); + } + } + /// /// Looks up a localized string similar to no encryption. /// diff --git a/ArcFormats/Strings/arcStrings.resx b/ArcFormats/Strings/arcStrings.resx index 2327ad49..1d26a4d3 100644 --- a/ArcFormats/Strings/arcStrings.resx +++ b/ArcFormats/Strings/arcStrings.resx @@ -312,6 +312,9 @@ Enter archive encryption key. Default + + 32-bit hex number + Default diff --git a/ArcFormats/Strings/arcStrings.ru-RU.resx b/ArcFormats/Strings/arcStrings.ru-RU.resx index 4c95c452..02a5194c 100644 --- a/ArcFormats/Strings/arcStrings.ru-RU.resx +++ b/ArcFormats/Strings/arcStrings.ru-RU.resx @@ -136,6 +136,9 @@ Содержимое архива зашифровано. Выберите алгоритм шифрования. + + 32-битное шестнадцатеричное число + без шифрования diff --git a/ArcFormats/WidgetDPK.xaml b/ArcFormats/WidgetDPK.xaml index 234e0fa7..12a0bdc9 100644 --- a/ArcFormats/WidgetDPK.xaml +++ b/ArcFormats/WidgetDPK.xaml @@ -5,17 +5,6 @@ xmlns:p="clr-namespace:GameRes.Formats.Properties" xmlns:dac="clr-namespace:GameRes.Formats.Dac" xmlns:local="clr-namespace:GameRes.Formats.GUI"> - - - - @@ -36,17 +25,10 @@ IsReadOnly="True" TextWrapping="NoWrap" Grid.Column="1" Grid.Row="1" Margin="0,3,0,3" DataContext="{Binding ElementName=EncScheme, Path=SelectedItem}"/>