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:
@@ -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))]
|
||||
|
||||
Reference in New Issue
Block a user