mirror of
				https://github.com/bolucat/Archive.git
				synced 2025-10-31 11:57:05 +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);
 | |
|         }
 | |
|     }
 | |
| }
 | 
![github-action[bot]](/assets/img/avatar_default.png)