diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-07-24 07:52:57 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-07-24 07:54:03 +0200 |
commit | ef7671a80714085b5772ec95cc836bea88566a7e (patch) | |
tree | 4db4d7fd07b0f61ade9cf9d8d2da69f01de6f549 /src/mnemonics/electrum-words.cpp | |
parent | Merge pull request #348 (diff) | |
download | monero-ef7671a80714085b5772ec95cc836bea88566a7e.tar.xz |
added Russian wordlist
Diffstat (limited to 'src/mnemonics/electrum-words.cpp')
-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 c32f3f4fa..47c0165b8 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -57,6 +57,7 @@ #include "spanish.h" #include "portuguese.h" #include "japanese.h" +#include "russian.h" #include "old_english.h" #include "language_base.h" #include "singleton.h" @@ -84,6 +85,7 @@ namespace Language::Singleton<Language::Italian>::instance(), Language::Singleton<Language::Portuguese>::instance(), Language::Singleton<Language::Japanese>::instance(), + Language::Singleton<Language::Russian>::instance(), Language::Singleton<Language::OldEnglish>::instance() }); @@ -305,6 +307,10 @@ namespace crypto { language = Language::Singleton<Language::German>::instance(); } + else if (language_name == "Russian") + { + language = Language::Singleton<Language::Russian>::instance(); + } else { return false; @@ -355,6 +361,7 @@ namespace crypto Language::Singleton<Language::German>::instance(), Language::Singleton<Language::Italian>::instance(), Language::Singleton<Language::Portuguese>::instance(), + Language::Singleton<Language::Russian>::instance(), Language::Singleton<Language::Japanese>::instance() }); for (std::vector<Language::Base*>::iterator it = language_instances.begin(); |