diff options
author | Roy Jacobs <roy.jacobs@12roar.com> | 2017-03-24 20:35:25 +0100 |
---|---|---|
committer | Roy Jacobs <roy.jacobs@12roar.com> | 2017-03-25 00:58:35 +0100 |
commit | 5a4827ae2164ef4d9db16497cb67c1d2c9399616 (patch) | |
tree | 41e1681852a9b85b0c4b6ebe3e0bb07c47840086 /src/mnemonics/electrum-words.cpp | |
parent | Merge pull request #1916 (diff) | |
download | monero-5a4827ae2164ef4d9db16497cb67c1d2c9399616.tar.xz |
Add Dutch mnemonics wordlist
Diffstat (limited to '')
-rw-r--r-- | src/mnemonics/electrum-words.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp index 318e2dc2f..fd2c6a836 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -52,6 +52,7 @@ #include <boost/algorithm/string/join.hpp> #include "english.h" +#include "dutch.h" #include "french.h" #include "italian.h" #include "german.h" @@ -84,6 +85,7 @@ namespace // If there's a new language added, add an instance of it here. std::vector<Language::Base*> language_instances({ 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(), @@ -314,6 +316,10 @@ namespace crypto { language = Language::Singleton<Language::English>::instance(); } + else if (language_name == "Dutch") + { + language = Language::Singleton<Language::Dutch>::instance(); + } else if (language_name == "French") { language = Language::Singleton<Language::French>::instance(); @@ -388,6 +394,7 @@ namespace crypto { std::vector<Language::Base*> language_instances({ 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(), |