mirror of
https://github.com/monero-project/monero.git
synced 2024-12-27 22:29:27 -05:00
added Russian wordlist
This commit is contained in:
parent
ee94ecb721
commit
ef7671a807
@ -40,6 +40,7 @@ set(mnemonics_private_headers
|
|||||||
language_base.h
|
language_base.h
|
||||||
old_english.h
|
old_english.h
|
||||||
portuguese.h
|
portuguese.h
|
||||||
|
russian.h
|
||||||
singleton.h
|
singleton.h
|
||||||
spanish.h)
|
spanish.h)
|
||||||
|
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
#include "spanish.h"
|
#include "spanish.h"
|
||||||
#include "portuguese.h"
|
#include "portuguese.h"
|
||||||
#include "japanese.h"
|
#include "japanese.h"
|
||||||
|
#include "russian.h"
|
||||||
#include "old_english.h"
|
#include "old_english.h"
|
||||||
#include "language_base.h"
|
#include "language_base.h"
|
||||||
#include "singleton.h"
|
#include "singleton.h"
|
||||||
@ -84,6 +85,7 @@ namespace
|
|||||||
Language::Singleton<Language::Italian>::instance(),
|
Language::Singleton<Language::Italian>::instance(),
|
||||||
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::OldEnglish>::instance()
|
Language::Singleton<Language::OldEnglish>::instance()
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -305,6 +307,10 @@ namespace crypto
|
|||||||
{
|
{
|
||||||
language = Language::Singleton<Language::German>::instance();
|
language = Language::Singleton<Language::German>::instance();
|
||||||
}
|
}
|
||||||
|
else if (language_name == "Russian")
|
||||||
|
{
|
||||||
|
language = Language::Singleton<Language::Russian>::instance();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
@ -355,6 +361,7 @@ namespace crypto
|
|||||||
Language::Singleton<Language::German>::instance(),
|
Language::Singleton<Language::German>::instance(),
|
||||||
Language::Singleton<Language::Italian>::instance(),
|
Language::Singleton<Language::Italian>::instance(),
|
||||||
Language::Singleton<Language::Portuguese>::instance(),
|
Language::Singleton<Language::Portuguese>::instance(),
|
||||||
|
Language::Singleton<Language::Russian>::instance(),
|
||||||
Language::Singleton<Language::Japanese>::instance()
|
Language::Singleton<Language::Japanese>::instance()
|
||||||
});
|
});
|
||||||
for (std::vector<Language::Base*>::iterator it = language_instances.begin();
|
for (std::vector<Language::Base*>::iterator it = language_instances.begin();
|
||||||
|
1693
src/mnemonics/russian.h
Normal file
1693
src/mnemonics/russian.h
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user