diff options
author | Nano Akron <nanoakron@users.noreply.github.com> | 2017-04-16 12:34:49 +0100 |
---|---|---|
committer | Nano Akron <nanoakron@users.noreply.github.com> | 2017-04-24 11:17:33 +0100 |
commit | 533187f0c3c6730b1a48c200872d7c9793cdede2 (patch) | |
tree | 172d32eadb4937e36ee84da11d0631bd3d17b7a2 /src/mnemonics/electrum-words.cpp | |
parent | Merge pull request #1996 (diff) | |
download | monero-533187f0c3c6730b1a48c200872d7c9793cdede2.tar.xz |
Change all wallet language names into native names (and scripts)
Diffstat (limited to '')
-rw-r--r-- | src/mnemonics/electrum-words.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp index 501495f0b..c7c86f08d 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -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::German>::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::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++) |