-
Notifications
You must be signed in to change notification settings - Fork 0
/
Idioma.cs
32 lines (28 loc) · 967 Bytes
/
Idioma.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System.Collections.Generic;
namespace SpeechTranslation
{
public class Idioma
{
private Idioma(string nome, string codigo)
{
Nome = nome;
Codigo = codigo;
}
public string Nome { get; private set; }
public string Codigo { get; private set; }
public static IEnumerable<Idioma> IdiomasDisponiveis() =>
new List<Idioma>(10)
{
new Idioma("Português (Brasil)", "pt-BR"),
new Idioma("Inglês (EUA)", "en-US"),
new Idioma("Espanhol", "es-ES"),
new Idioma("Finlandês", "fi-FI"),
new Idioma("Francês", "fr-FR"),
new Idioma("Italiano", "IT-IT"),
new Idioma("Japonês", "ja-JP"),
new Idioma("Holandês", "nl-NL"),
new Idioma("Russo", "ru-RU"),
new Idioma("Chinês", "zh-CN"),
};
}
}