aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/electrum-words.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mnemonics/electrum-words.cpp')
-rw-r--r--src/mnemonics/electrum-words.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp
index 501495f0b..ef1100a10 100644
--- a/src/mnemonics/electrum-words.cpp
+++ b/src/mnemonics/electrum-words.cpp
@@ -61,7 +61,7 @@
#include "portuguese.h"
#include "japanese.h"
#include "russian.h"
-#include "old_english.h"
+#include "english_old.h"
#include "language_base.h"
#include "singleton.h"
@@ -95,7 +95,7 @@ namespace
Language::Singleton<Language::Portuguese>::instance(),
Language::Singleton<Language::Japanese>::instance(),
Language::Singleton<Language::Russian>::instance(),
- Language::Singleton<Language::OldEnglish>::instance()
+ Language::Singleton<Language::EnglishOld>::instance()
});
Language::Base *fallback = NULL;
@@ -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++)