mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
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)
This commit is contained in:
parent
70495665f9
commit
cb2d5ac788
4 changed files with 1708 additions and 3 deletions
|
@ -45,7 +45,8 @@ set(mnemonics_private_headers
|
|||
portuguese.h
|
||||
russian.h
|
||||
singleton.h
|
||||
spanish.h)
|
||||
spanish.h
|
||||
esperanto.h)
|
||||
|
||||
monero_private_headers(mnemonics
|
||||
${mnemonics_private_headers})
|
||||
|
|
|
@ -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++)
|
||||
|
|
1695
src/mnemonics/esperanto.h
Normal file
1695
src/mnemonics/esperanto.h
Normal file
File diff suppressed because it is too large
Load diff
|
@ -44,6 +44,7 @@
|
|||
#include "mnemonics/russian.h"
|
||||
#include "mnemonics/french.h"
|
||||
#include "mnemonics/dutch.h"
|
||||
#include "mnemonics/esperanto.h"
|
||||
#include "mnemonics/english_old.h"
|
||||
#include "mnemonics/language_base.h"
|
||||
#include "mnemonics/singleton.h"
|
||||
|
@ -165,7 +166,8 @@ TEST(mnemonics, all_languages)
|
|||
Language::Singleton<Language::Italian>::instance(),
|
||||
Language::Singleton<Language::Russian>::instance(),
|
||||
Language::Singleton<Language::French>::instance(),
|
||||
Language::Singleton<Language::Dutch>::instance()
|
||||
Language::Singleton<Language::Dutch>::instance(),
|
||||
Language::Singleton<Language::Esperanto>::instance()
|
||||
});
|
||||
|
||||
for (std::vector<Language::Base*>::iterator it = languages.begin(); it != languages.end(); it++)
|
||||
|
|
Loading…
Reference in a new issue