(LocalResourceSetting): fallback to setting name when no text found.

This commit is contained in:
morkt 2018-01-30 09:20:12 +04:00
parent a8a74b05c4
commit 0a702c5c5d

View File

@ -20,7 +20,7 @@ namespace GameRes.Formats
public LocalResourceSetting (string name) public LocalResourceSetting (string name)
{ {
Name = name; Name = name;
Text = arcStrings.ResourceManager.GetString (name, arcStrings.Culture); Text = arcStrings.ResourceManager.GetString (name, arcStrings.Culture) ?? name;
} }
} }