diff options
Diffstat (limited to '')
-rw-r--r-- | src/mnemonics/electrum-words.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp index 9c42c5792..c32f3f4fa 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -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() }); |