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

@@ -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>();

View File

@@ -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))]

View File

@@ -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&apos;Py game engine archive.
/// </summary>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>