Moved some classes around to the domain layer.
This commit is contained in:
16
JSMR.Infrastructure/Scanning/LocaleMap.cs
Normal file
16
JSMR.Infrastructure/Scanning/LocaleMap.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using JSMR.Application.Enums;
|
||||
|
||||
namespace JSMR.Infrastructure.Scanning;
|
||||
|
||||
internal class LocaleMap
|
||||
{
|
||||
public static readonly IReadOnlyDictionary<Locale, (string Abbreviation, string Code)> Map =
|
||||
new Dictionary<Locale, (string, string)>
|
||||
{
|
||||
{ Locale.Japanese, ("jp", "ja_JP") },
|
||||
{ Locale.English, ("en", "en_US") },
|
||||
{ Locale.ChineseSimplified, ("zh-cn", "zh_CN") },
|
||||
{ Locale.ChineseTraditional, ("zh-tw", "zh_TW") },
|
||||
{ Locale.Korean, ("ko", "ko_KR") },
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user