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
|
@ -45,7 +45,8 @@ set(mnemonics_private_headers
|
||||||
portuguese.h
|
portuguese.h
|
||||||
russian.h
|
russian.h
|
||||||
singleton.h
|
singleton.h
|
||||||
spanish.h)
|
spanish.h
|
||||||
|
esperanto.h)
|
||||||
|
|
||||||
monero_private_headers(mnemonics
|
monero_private_headers(mnemonics
|
||||||
${mnemonics_private_headers})
|
${mnemonics_private_headers})
|
||||||
|
|
|
@ -61,6 +61,7 @@
|
||||||
#include "portuguese.h"
|
#include "portuguese.h"
|
||||||
#include "japanese.h"
|
#include "japanese.h"
|
||||||
#include "russian.h"
|
#include "russian.h"
|
||||||
|
#include "esperanto.h"
|
||||||
#include "english_old.h"
|
#include "english_old.h"
|
||||||
#include "language_base.h"
|
#include "language_base.h"
|
||||||
#include "singleton.h"
|
#include "singleton.h"
|
||||||
|
@ -95,6 +96,7 @@ namespace
|
||||||
Language::Singleton<Language::Portuguese>::instance(),
|
Language::Singleton<Language::Portuguese>::instance(),
|
||||||
Language::Singleton<Language::Japanese>::instance(),
|
Language::Singleton<Language::Japanese>::instance(),
|
||||||
Language::Singleton<Language::Russian>::instance(),
|
Language::Singleton<Language::Russian>::instance(),
|
||||||
|
Language::Singleton<Language::Esperanto>::instance(),
|
||||||
Language::Singleton<Language::EnglishOld>::instance()
|
Language::Singleton<Language::EnglishOld>::instance()
|
||||||
});
|
});
|
||||||
Language::Base *fallback = NULL;
|
Language::Base *fallback = NULL;
|
||||||
|
@ -354,6 +356,10 @@ namespace crypto
|
||||||
{
|
{
|
||||||
language = Language::Singleton<Language::Chinese_Simplified>::instance();
|
language = Language::Singleton<Language::Chinese_Simplified>::instance();
|
||||||
}
|
}
|
||||||
|
else if (language_name == "Esperanto")
|
||||||
|
{
|
||||||
|
language = Language::Singleton<Language::Esperanto>::instance();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
@ -408,7 +414,8 @@ namespace crypto
|
||||||
Language::Singleton<Language::Portuguese>::instance(),
|
Language::Singleton<Language::Portuguese>::instance(),
|
||||||
Language::Singleton<Language::Russian>::instance(),
|
Language::Singleton<Language::Russian>::instance(),
|
||||||
Language::Singleton<Language::Japanese>::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();
|
for (std::vector<Language::Base*>::iterator it = language_instances.begin();
|
||||||
it != language_instances.end(); it++)
|
it != language_instances.end(); it++)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -44,6 +44,7 @@
|
||||||
#include "mnemonics/russian.h"
|
#include "mnemonics/russian.h"
|
||||||
#include "mnemonics/french.h"
|
#include "mnemonics/french.h"
|
||||||
#include "mnemonics/dutch.h"
|
#include "mnemonics/dutch.h"
|
||||||
|
#include "mnemonics/esperanto.h"
|
||||||
#include "mnemonics/english_old.h"
|
#include "mnemonics/english_old.h"
|
||||||
#include "mnemonics/language_base.h"
|
#include "mnemonics/language_base.h"
|
||||||
#include "mnemonics/singleton.h"
|
#include "mnemonics/singleton.h"
|
||||||
|
@ -165,7 +166,8 @@ TEST(mnemonics, all_languages)
|
||||||
Language::Singleton<Language::Italian>::instance(),
|
Language::Singleton<Language::Italian>::instance(),
|
||||||
Language::Singleton<Language::Russian>::instance(),
|
Language::Singleton<Language::Russian>::instance(),
|
||||||
Language::Singleton<Language::French>::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++)
|
for (std::vector<Language::Base*>::iterator it = languages.begin(); it != languages.end(); it++)
|
||||||
|
|
Loading…
Reference in New Issue