mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-25 21:07:20 -08:00
19 lines
463 B
C#
19 lines
463 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace SourceGit.Models {
|
|||
|
public class Locale {
|
|||
|
public string Name { get; set; }
|
|||
|
public string Key { get; set; }
|
|||
|
|
|||
|
public static List<Locale> Supported = new List<Locale>() {
|
|||
|
new Locale("English", "en_US"),
|
|||
|
new Locale("简体中文", "zh_CN"),
|
|||
|
};
|
|||
|
|
|||
|
public Locale(string name, string key) {
|
|||
|
Name = name;
|
|||
|
Key = key;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|