electrum-words.cpp: reorder languages to order used in find_seed_language

This commit is contained in:
eversinc33 2022-04-20 17:04:59 +02:00
parent 3eb96c9499
commit 60c60dfe9e
1 changed files with 10 additions and 10 deletions

View File

@ -426,18 +426,18 @@ namespace crypto
{ {
// If there's a new language added, add an instance of it here. // If there's a new language added, add an instance of it here.
static const std::vector<const Language::Base*> language_instances({ static const std::vector<const Language::Base*> language_instances({
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::Chinese_Simplified>::instance(), 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::Italian>::instance(),
Language::Singleton<Language::Portuguese>::instance(),
Language::Singleton<Language::Japanese>::instance(),
Language::Singleton<Language::Russian>::instance(),
Language::Singleton<Language::Esperanto>::instance(), Language::Singleton<Language::Esperanto>::instance(),
Language::Singleton<Language::Lojban>::instance() Language::Singleton<Language::Lojban>::instance(),
}); });
return language_instances; return language_instances;
} }