mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 07:52:25 +00:00
Change all wallet language names into native names (and scripts)
This commit is contained in:
parent
9a9fb0483f
commit
533187f0c3
10 changed files with 33 additions and 33 deletions
|
@ -72,7 +72,7 @@ namespace Language
|
|||
class Chinese_Simplified: public Base
|
||||
{
|
||||
public:
|
||||
Chinese_Simplified(): Base("Chinese (Simplified)", std::vector<std::string>({
|
||||
Chinese_Simplified(): Base("简体中文 (中国)", std::vector<std::string>({
|
||||
"的",
|
||||
"一",
|
||||
"是",
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace Language
|
|||
class Dutch: public Base
|
||||
{
|
||||
public:
|
||||
Dutch(): Base("Dutch", std::vector<std::string>({
|
||||
Dutch(): Base("Nederlands", std::vector<std::string>({
|
||||
"aalglad",
|
||||
"aalscholver",
|
||||
"aambeeld",
|
||||
|
|
|
@ -318,39 +318,39 @@ namespace crypto
|
|||
{
|
||||
language = Language::Singleton<Language::English>::instance();
|
||||
}
|
||||
else if (language_name == "Dutch")
|
||||
else if (language_name == "Nederlands")
|
||||
{
|
||||
language = Language::Singleton<Language::Dutch>::instance();
|
||||
}
|
||||
else if (language_name == "French")
|
||||
else if (language_name == "Français")
|
||||
{
|
||||
language = Language::Singleton<Language::French>::instance();
|
||||
}
|
||||
else if (language_name == "Spanish")
|
||||
else if (language_name == "Español")
|
||||
{
|
||||
language = Language::Singleton<Language::Spanish>::instance();
|
||||
}
|
||||
else if (language_name == "Portuguese")
|
||||
else if (language_name == "Português")
|
||||
{
|
||||
language = Language::Singleton<Language::Portuguese>::instance();
|
||||
}
|
||||
else if (language_name == "Japanese")
|
||||
else if (language_name == "日本語")
|
||||
{
|
||||
language = Language::Singleton<Language::Japanese>::instance();
|
||||
}
|
||||
else if (language_name == "Italian")
|
||||
else if (language_name == "Italiano")
|
||||
{
|
||||
language = Language::Singleton<Language::Italian>::instance();
|
||||
}
|
||||
else if (language_name == "German")
|
||||
else if (language_name == "Deutsch")
|
||||
{
|
||||
language = Language::Singleton<Language::German>::instance();
|
||||
}
|
||||
else if (language_name == "Russian")
|
||||
else if (language_name == "русский язык")
|
||||
{
|
||||
language = Language::Singleton<Language::Russian>::instance();
|
||||
}
|
||||
else if (language_name == "Chinese (Simplified)")
|
||||
else if (language_name == "简体中文 (中国)")
|
||||
{
|
||||
language = Language::Singleton<Language::Chinese_Simplified>::instance();
|
||||
}
|
||||
|
@ -399,16 +399,16 @@ namespace crypto
|
|||
void get_language_list(std::vector<std::string> &languages)
|
||||
{
|
||||
std::vector<Language::Base*> language_instances({
|
||||
Language::Singleton<Language::Chinese_Simplified>::instance(),
|
||||
Language::Singleton<Language::English>::instance(),
|
||||
Language::Singleton<Language::Dutch>::instance(),
|
||||
Language::Singleton<Language::French>::instance(),
|
||||
Language::Singleton<Language::Spanish>::instance(),
|
||||
Language::Singleton<Language::German>::instance(),
|
||||
Language::Singleton<Language::English>::instance(),
|
||||
Language::Singleton<Language::Spanish>::instance(),
|
||||
Language::Singleton<Language::French>::instance(),
|
||||
Language::Singleton<Language::Italian>::instance(),
|
||||
Language::Singleton<Language::Dutch>::instance(),
|
||||
Language::Singleton<Language::Portuguese>::instance(),
|
||||
Language::Singleton<Language::Russian>::instance(),
|
||||
Language::Singleton<Language::Japanese>::instance()
|
||||
Language::Singleton<Language::Japanese>::instance(),
|
||||
Language::Singleton<Language::Chinese_Simplified>::instance()
|
||||
});
|
||||
for (std::vector<Language::Base*>::iterator it = language_instances.begin();
|
||||
it != language_instances.end(); it++)
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace Language
|
|||
class French: public Base
|
||||
{
|
||||
public:
|
||||
French(): Base("French", std::vector<std::string>({
|
||||
French(): Base("Français", std::vector<std::string>({
|
||||
"abandon",
|
||||
"abattre",
|
||||
"aboi",
|
||||
|
|
|
@ -51,7 +51,7 @@ namespace Language
|
|||
class German: public Base
|
||||
{
|
||||
public:
|
||||
German(): Base("German", std::vector<std::string>({
|
||||
German(): Base("Deutsch", std::vector<std::string>({
|
||||
"Abakus",
|
||||
"Abart",
|
||||
"abbilden",
|
||||
|
|
|
@ -51,7 +51,7 @@ namespace Language
|
|||
class Italian: public Base
|
||||
{
|
||||
public:
|
||||
Italian(): Base("Italian", std::vector<std::string>({
|
||||
Italian(): Base("Italiano", std::vector<std::string>({
|
||||
"abbinare",
|
||||
"abbonato",
|
||||
"abisso",
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace Language
|
|||
class Japanese: public Base
|
||||
{
|
||||
public:
|
||||
Japanese(): Base("Japanese", std::vector<std::string>({
|
||||
Japanese(): Base("日本語", std::vector<std::string>({
|
||||
"あいこくしん",
|
||||
"あいさつ",
|
||||
"あいだ",
|
||||
|
|
|
@ -72,7 +72,7 @@ namespace Language
|
|||
class Portuguese: public Base
|
||||
{
|
||||
public:
|
||||
Portuguese(): Base("Portuguese", std::vector<std::string>({
|
||||
Portuguese(): Base("Português", std::vector<std::string>({
|
||||
"abaular",
|
||||
"abdominal",
|
||||
"abeto",
|
||||
|
|
|
@ -51,7 +51,7 @@ namespace Language
|
|||
class Russian: public Base
|
||||
{
|
||||
public:
|
||||
Russian(): Base("Russian", std::vector<std::string>({
|
||||
Russian(): Base("русский язык", std::vector<std::string>({
|
||||
"абажур",
|
||||
"абзац",
|
||||
"абонент",
|
||||
|
|
|
@ -72,7 +72,7 @@ namespace Language
|
|||
class Spanish: public Base
|
||||
{
|
||||
public:
|
||||
Spanish(): Base("Spanish", std::vector<std::string>({
|
||||
Spanish(): Base("Español", std::vector<std::string>({
|
||||
"ábaco",
|
||||
"abdomen",
|
||||
"abeja",
|
||||
|
|
Loading…
Reference in a new issue