mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-25 22:57:46 +00:00
add Germany and Italian wordlists
This commit is contained in:
parent
514047dc7b
commit
6d6a985c92
4 changed files with 3402 additions and 0 deletions
|
@ -34,6 +34,8 @@ set(mnemonics_headers)
|
|||
set(mnemonics_private_headers
|
||||
electrum-words.h
|
||||
english.h
|
||||
german.h
|
||||
italian.h
|
||||
japanese.h
|
||||
language_base.h
|
||||
old_english.h
|
||||
|
|
|
@ -52,6 +52,8 @@
|
|||
#include <boost/algorithm/string/join.hpp>
|
||||
|
||||
#include "english.h"
|
||||
#include "italian.h"
|
||||
#include "german.h"
|
||||
#include "spanish.h"
|
||||
#include "portuguese.h"
|
||||
#include "japanese.h"
|
||||
|
@ -78,6 +80,8 @@ namespace
|
|||
std::vector<Language::Base*> language_instances({
|
||||
Language::Singleton<Language::English>::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::OldEnglish>::instance()
|
||||
|
@ -293,6 +297,14 @@ namespace crypto
|
|||
{
|
||||
language = Language::Singleton<Language::Japanese>::instance();
|
||||
}
|
||||
else if (language_name == "Italian")
|
||||
{
|
||||
language = Language::Singleton<Language::Italian>::instance();
|
||||
}
|
||||
else if (language_name == "German")
|
||||
{
|
||||
language = Language::Singleton<Language::German>::instance();
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
@ -340,6 +352,8 @@ namespace crypto
|
|||
std::vector<Language::Base*> language_instances({
|
||||
Language::Singleton<Language::English>::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()
|
||||
});
|
||||
|
|
1693
src/mnemonics/german.h
Normal file
1693
src/mnemonics/german.h
Normal file
File diff suppressed because it is too large
Load diff
1693
src/mnemonics/italian.h
Normal file
1693
src/mnemonics/italian.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue