Refactoring

This commit is contained in:
hishamco
2020-09-30 00:07:00 +03:00
parent f83c1b1741
commit 2e2d46996a
10 changed files with 130 additions and 75 deletions

View File

@ -0,0 +1,9 @@
namespace Oqtane.Infrastructure
{
public class LocalizationOptions
{
public string DefaultCulture { get; set; }
public string[] SupportedCultures { get; set; }
}
}

View File

@ -1,18 +0,0 @@
using System.Collections.Generic;
using Oqtane.Shared;
namespace Oqtane.Infrastructure.Localization
{
public static class LocalizationSettings
{
static LocalizationSettings()
{
DefaultCulture = Constants.DefaultCulture;
SupportedCultures = new List<string> { DefaultCulture };
}
public static string DefaultCulture { get; set; }
public static List<string> SupportedCultures { get; }
}
}