mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
14 lines
361 B
C#
14 lines
361 B
C#
using System.Reflection;
|
|
using WPFLocalizeExtension.Extensions;
|
|
|
|
namespace Shadowsocks.Localization
|
|
{
|
|
public static class LocalizationProvider
|
|
{
|
|
public static T GetLocalizedValue<T>(string key)
|
|
{
|
|
return LocExtension.GetLocalizedValue<T>(Assembly.GetCallingAssembly().GetName().Name + ":Strings:" + key);
|
|
}
|
|
}
|
|
}
|