mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 05:35:00 +00:00

Added resource file and updated the code to declare the new French resource. Include a 1st batch of translation.
25 lines
679 B
C#
25 lines
679 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SourceGit.Models
|
|
{
|
|
public class Locale
|
|
{
|
|
public string Name { get; set; }
|
|
public string Key { get; set; }
|
|
|
|
public static readonly List<Locale> Supported = new List<Locale>() {
|
|
new Locale("English", "en_US"),
|
|
new Locale("Deutsch", "de_DE"),
|
|
new Locale("Français", "fr_FR"),
|
|
new Locale("Português (Brasil)", "pt_BR"),
|
|
new Locale("简体中文", "zh_CN"),
|
|
new Locale("繁體中文", "zh_TW"),
|
|
};
|
|
|
|
public Locale(string name, string key)
|
|
{
|
|
Name = name;
|
|
Key = key;
|
|
}
|
|
}
|
|
}
|