Initial implementation of voice works scanning.
This commit is contained in:
7
JSMR.Infrastructure/Common/Locales/EnglishLocale.cs
Normal file
7
JSMR.Infrastructure/Common/Locales/EnglishLocale.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace JSMR.Infrastructure.Common.Locales;
|
||||
|
||||
public class EnglishLocale : ILocale
|
||||
{
|
||||
public string Abbreviation => "en";
|
||||
public string Code => "en_US";
|
||||
}
|
||||
7
JSMR.Infrastructure/Common/Locales/ILocale.cs
Normal file
7
JSMR.Infrastructure/Common/Locales/ILocale.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace JSMR.Infrastructure.Common.Locales;
|
||||
|
||||
public interface ILocale
|
||||
{
|
||||
string Abbreviation { get; }
|
||||
string Code { get; }
|
||||
}
|
||||
7
JSMR.Infrastructure/Common/Locales/JapaneseLocale.cs
Normal file
7
JSMR.Infrastructure/Common/Locales/JapaneseLocale.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace JSMR.Infrastructure.Common.Locales;
|
||||
|
||||
public class JapaneseLocale : ILocale
|
||||
{
|
||||
public string Abbreviation => "jp";
|
||||
public string Code => "ja_JP";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class AlingualLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "NM";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class ChineseLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "CHI";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class DLSiteOfficialTranslationLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "DOT";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class EnglishLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "ENG";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public interface ISupportedLanguage
|
||||
{
|
||||
string Code { get; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class JapaneseLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "JPN";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class KoreanLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "KO_KR";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class SimplifiedChineseLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "CHI_HANS";
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace JSMR.Infrastructure.Common.SupportedLanguages;
|
||||
|
||||
public class TraditionalChineseLanguage : ISupportedLanguage
|
||||
{
|
||||
public string Code => "CHI_HANT";
|
||||
}
|
||||
Reference in New Issue
Block a user