|
@@ -16,11 +16,10 @@ namespace YSAI.Langs
|
|
|
/// <returns></returns>
|
|
/// <returns></returns>
|
|
|
public static string GetValue(string Key, string ResourceFileName = "Lang")
|
|
public static string GetValue(string Key, string ResourceFileName = "Lang")
|
|
|
{
|
|
{
|
|
|
- string localizedString = string.Empty;
|
|
|
|
|
string assemblyName = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
|
string assemblyName = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
|
|
string fullKey = assemblyName + ":" + ResourceFileName + ":" + Key;
|
|
string fullKey = assemblyName + ":" + ResourceFileName + ":" + Key;
|
|
|
LocExtension locExtension = new LocExtension(fullKey);
|
|
LocExtension locExtension = new LocExtension(fullKey);
|
|
|
- locExtension.ResolveLocalizedValue(out localizedString);
|
|
|
|
|
|
|
+ locExtension.ResolveLocalizedValue(out string localizedString);
|
|
|
return localizedString;
|
|
return localizedString;
|
|
|
}
|
|
}
|
|
|
|
|
|