added Russian wordlist

This commit is contained in:
Riccardo Spagni 2015-07-24 07:52:57 +02:00
parent ee94ecb721
commit ef7671a807
3 changed files with 1701 additions and 0 deletions

View file

@ -40,6 +40,7 @@ set(mnemonics_private_headers
language_base.h
old_english.h
portuguese.h
russian.h
singleton.h
spanish.h)

View file

@ -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();

1693
src/mnemonics/russian.h Normal file

File diff suppressed because it is too large Load diff