aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/electrum-words.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-13 15:52:33 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-14 17:46:46 +0100
commitcb2d5ac788907ff39a32011c4f24078288db43b9 (patch)
tree3ae303960923102cc57093c007defc084828ad49 /src/mnemonics/electrum-words.cpp
parentMerge pull request #2284 (diff)
downloadmonero-cb2d5ac788907ff39a32011c4f24078288db43b9.tar.xz
mnemonics: new Esperanto word list
Word list authored by: Engelberg, ProkhorZ Sources: Baza Radikaro Oficiala Reta Vortaro (http://www.reta-vortaro.de/revo/) Esperanto Panorama - Esperanto-English Dictionary (http://www.esperanto-panorama.net/vortaro/eoen.htm) ESPDIC - Paul Denisowski (http://www.denisowski.org/Esperanto/ESPDIC/espdic.txt)
Diffstat (limited to 'src/mnemonics/electrum-words.cpp')
-rw-r--r--src/mnemonics/electrum-words.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp
index 3b1dc53d7..2fe5d9985 100644
--- a/src/mnemonics/electrum-words.cpp
+++ b/src/mnemonics/electrum-words.cpp
@@ -61,6 +61,7 @@
#include "portuguese.h"
#include "japanese.h"
#include "russian.h"
+#include "esperanto.h"
#include "english_old.h"
#include "language_base.h"
#include "singleton.h"
@@ -95,6 +96,7 @@ namespace
Language::Singleton<Language::Portuguese>::instance(),
Language::Singleton<Language::Japanese>::instance(),
Language::Singleton<Language::Russian>::instance(),
+ Language::Singleton<Language::Esperanto>::instance(),
Language::Singleton<Language::EnglishOld>::instance()
});
Language::Base *fallback = NULL;
@@ -354,6 +356,10 @@ namespace crypto
{
language = Language::Singleton<Language::Chinese_Simplified>::instance();
}
+ else if (language_name == "Esperanto")
+ {
+ language = Language::Singleton<Language::Esperanto>::instance();
+ }
else
{
return false;
@@ -408,7 +414,8 @@ namespace crypto
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::Esperanto>::instance()
});
for (std::vector<Language::Base*>::iterator it = language_instances.begin();
it != language_instances.end(); it++)