mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
added localization strings for settings.
This commit is contained in:
@@ -72,14 +72,9 @@ namespace GameRes.Formats.Majiro
|
||||
Settings = new[] { OverlayFrames, ApplyMask };
|
||||
}
|
||||
|
||||
LocalResourceSetting OverlayFrames = new LocalResourceSetting {
|
||||
Name = "RCTOverlayFrames",
|
||||
Text = "Automatically combine incremental frames",
|
||||
};
|
||||
LocalResourceSetting ApplyMask = new LocalResourceSetting {
|
||||
Name = "RCTApplyMask",
|
||||
Text = "Load transparency data from RC8 bitmap",
|
||||
};
|
||||
LocalResourceSetting OverlayFrames = new LocalResourceSetting ("RCTOverlayFrames");
|
||||
LocalResourceSetting ApplyMask = new LocalResourceSetting ("RCTApplyMask");
|
||||
|
||||
public const int BaseRecursionLimit = 8;
|
||||
|
||||
public static Dictionary<string, string> KnownKeys = new Dictionary<string, string>();
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
//
|
||||
|
||||
using System.ComponentModel.Composition;
|
||||
using GameRes.Formats.Strings;
|
||||
|
||||
namespace GameRes.Formats
|
||||
{
|
||||
@@ -13,6 +14,14 @@ namespace GameRes.Formats
|
||||
get { return Properties.Settings.Default[Name]; }
|
||||
set { Properties.Settings.Default[Name] = value; }
|
||||
}
|
||||
|
||||
public LocalResourceSetting () { }
|
||||
|
||||
public LocalResourceSetting (string name)
|
||||
{
|
||||
Name = name;
|
||||
Text = arcStrings.ResourceManager.GetString (name, arcStrings.Culture);
|
||||
}
|
||||
}
|
||||
|
||||
[Export(typeof(ISettingsManager))]
|
||||
|
||||
18
ArcFormats/Strings/arcStrings.Designer.cs
generated
18
ArcFormats/Strings/arcStrings.Designer.cs
generated
@@ -660,6 +660,15 @@ namespace GameRes.Formats.Strings {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Load transparency data from RC8 bitmap.
|
||||
/// </summary>
|
||||
public static string RCTApplyMask {
|
||||
get {
|
||||
return ResourceManager.GetString("RCTApplyMask", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Choose title or enter a password.
|
||||
/// </summary>
|
||||
@@ -669,6 +678,15 @@ namespace GameRes.Formats.Strings {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Automatically combine incremental frames.
|
||||
/// </summary>
|
||||
public static string RCTOverlayFrames {
|
||||
get {
|
||||
return ResourceManager.GetString("RCTOverlayFrames", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Ren'Py game engine archive.
|
||||
/// </summary>
|
||||
|
||||
@@ -383,4 +383,12 @@
|
||||
<value>아카이브가 암호화된 스크립트를 포함함.
|
||||
암호체계를 고르거나 암호를 입력하세요.</value>
|
||||
</data>
|
||||
<data name="RCTApplyMask" xml:space="preserve">
|
||||
<value>Load transparency data from RC8 bitmap</value>
|
||||
<comment>translation pending</comment>
|
||||
</data>
|
||||
<data name="RCTOverlayFrames" xml:space="preserve">
|
||||
<value>Automatically combine incremental frames</value>
|
||||
<comment>translation pending</comment>
|
||||
</data>
|
||||
</root>
|
||||
@@ -386,4 +386,10 @@ Choose appropriate encryption scheme.</value>
|
||||
<value>Archive contains encrypted scripts.
|
||||
Choose encryption scheme or enter a passphrase.</value>
|
||||
</data>
|
||||
<data name="RCTApplyMask" xml:space="preserve">
|
||||
<value>Load transparency data from RC8 bitmap</value>
|
||||
</data>
|
||||
<data name="RCTOverlayFrames" xml:space="preserve">
|
||||
<value>Automatically combine incremental frames</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -291,9 +291,15 @@
|
||||
<data name="QLIEDefaultScheme" xml:space="preserve">
|
||||
<value>"Старый" метод шифрования</value>
|
||||
</data>
|
||||
<data name="RCTApplyMask" xml:space="preserve">
|
||||
<value>Подгружать прозрачность из одноимённого RC8 файла</value>
|
||||
</data>
|
||||
<data name="RCTChoose" xml:space="preserve">
|
||||
<value>Выберите наименование или введите пароль</value>
|
||||
</data>
|
||||
<data name="RCTOverlayFrames" xml:space="preserve">
|
||||
<value>Автоматически объединять мозаичные изображения</value>
|
||||
</data>
|
||||
<data name="RPALabelKey" xml:space="preserve">
|
||||
<value>32-битный ключ</value>
|
||||
</data>
|
||||
|
||||
@@ -384,4 +384,12 @@
|
||||
<value>压缩文件包含已加密的脚本。
|
||||
请选择加密方式或输入密码。</value>
|
||||
</data>
|
||||
<data name="RCTApplyMask" xml:space="preserve">
|
||||
<value>Load transparency data from RC8 bitmap</value>
|
||||
<comment>translation pending</comment>
|
||||
</data>
|
||||
<data name="RCTOverlayFrames" xml:space="preserve">
|
||||
<value>Automatically combine incremental frames</value>
|
||||
<comment>translation pending</comment>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user