SHA256
Implement O5Kit
This commit is contained in:
8 files changed
+99
-175
No files matched your search
@@ -165,7 +165,7 @@ internal static class LocalizationManager
|
||||
public static string Get(string key, params object[] args)
|
||||
{
|
||||
var template = Get(key);
|
||||
if (args == null || args.Length == 0) return template;
|
||||
if (args.Length == 0) return template;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -185,7 +185,6 @@ internal static class LocalizationManager
|
||||
return language switch
|
||||
{
|
||||
SystemLanguage.Korean => "ko",
|
||||
SystemLanguage.English => "en",
|
||||
_ => "en"
|
||||
};
|
||||
}
|
||||
@@ -218,6 +217,7 @@ internal static class LocalizationManager
|
||||
/// <summary>
|
||||
/// Convenient shorthand alias for <see cref="LocalizationManager"/>.
|
||||
/// </summary>
|
||||
// ReSharper disable once InconsistentNaming
|
||||
internal static class I18n
|
||||
{
|
||||
/// <inheritdoc cref="LocalizationManager.Get(string)"/>
|
||||
|
||||
Reference in new issue
Block a user