mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
17 lines
406 B
C#
17 lines
406 B
C#
using NebulaAuth.Core;
|
|
|
|
namespace NebulaAuth.ViewModel;
|
|
|
|
public partial class MainVM
|
|
{
|
|
private const string LOC_PATH = "MainVM";
|
|
private static string? GetLocalization(string key)
|
|
{
|
|
return LocManager.GetCodeBehind(LOC_PATH, key);
|
|
}
|
|
|
|
private static string GetLocalizationOrDefault(string key)
|
|
{
|
|
return LocManager.GetCodeBehindOrDefault(key, LOC_PATH, key);
|
|
}
|
|
} |