2024-02-05 23:08:37 -08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
|
namespace SourceGit.Models
|
|
|
|
|
{
|
|
|
|
|
public class Locale
|
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
2024-03-31 01:54:29 -07:00
|
|
|
|
public static readonly List<Locale> Supported = new List<Locale>() {
|
2024-02-05 23:08:37 -08:00
|
|
|
|
new Locale("English", "en_US"),
|
2024-07-31 18:57:03 -07:00
|
|
|
|
new Locale("Deutsch", "de_DE"),
|
2024-08-22 15:17:09 -07:00
|
|
|
|
new Locale("Français", "fr_FR"),
|
2024-07-31 06:08:59 -07:00
|
|
|
|
new Locale("Português (Brasil)", "pt_BR"),
|
2024-02-05 23:08:37 -08:00
|
|
|
|
new Locale("简体中文", "zh_CN"),
|
2024-06-05 20:15:22 -07:00
|
|
|
|
new Locale("繁體中文", "zh_TW"),
|
2024-02-05 23:08:37 -08:00
|
|
|
|
};
|
|
|
|
|
|
2024-03-17 18:37:06 -07:00
|
|
|
|
public Locale(string name, string key)
|
|
|
|
|
{
|
2024-02-05 23:08:37 -08:00
|
|
|
|
Name = name;
|
|
|
|
|
Key = key;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-03-31 01:54:29 -07:00
|
|
|
|
}
|