mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 18:18:52 +00:00
Change Old_English to English_Old - 'Old English' is actually a language
This commit is contained in:
parent
533187f0c3
commit
12fff108ea
@ -41,7 +41,7 @@ set(mnemonics_private_headers
|
||||
italian.h
|
||||
japanese.h
|
||||
language_base.h
|
||||
old_english.h
|
||||
english_old.h
|
||||
portuguese.h
|
||||
russian.h
|
||||
singleton.h
|
||||
|
@ -61,7 +61,7 @@
|
||||
#include "portuguese.h"
|
||||
#include "japanese.h"
|
||||
#include "russian.h"
|
||||
#include "old_english.h"
|
||||
#include "english_old.h"
|
||||
#include "language_base.h"
|
||||
#include "singleton.h"
|
||||
|
||||
@ -95,7 +95,7 @@ namespace
|
||||
Language::Singleton<Language::Portuguese>::instance(),
|
||||
Language::Singleton<Language::Japanese>::instance(),
|
||||
Language::Singleton<Language::Russian>::instance(),
|
||||
Language::Singleton<Language::OldEnglish>::instance()
|
||||
Language::Singleton<Language::EnglishOld>::instance()
|
||||
});
|
||||
Language::Base *fallback = NULL;
|
||||
|
||||
|
@ -60,7 +60,7 @@ namespace crypto
|
||||
{
|
||||
|
||||
const int seed_length = 24;
|
||||
const std::string old_language_name = "OldEnglish";
|
||||
const std::string old_language_name = "EnglishOld";
|
||||
/*!
|
||||
* \brief Converts seed words to bytes (secret key).
|
||||
* \param words String containing the words separated by spaces.
|
||||
|
@ -29,13 +29,13 @@
|
||||
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
/*!
|
||||
* \file old_english.h
|
||||
* \file english_old.h
|
||||
*
|
||||
* \brief Old English word list and map.
|
||||
* \brief Older version of English word list and map.
|
||||
*/
|
||||
|
||||
#ifndef OLD_ENGLISH_H
|
||||
#define OLD_ENGLISH_H
|
||||
#ifndef ENGLISH_OLD_H
|
||||
#define ENGLISH_OLD_H
|
||||
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
@ -48,10 +48,10 @@
|
||||
*/
|
||||
namespace Language
|
||||
{
|
||||
class OldEnglish: public Base
|
||||
class EnglishOld: public Base
|
||||
{
|
||||
public:
|
||||
OldEnglish(): Base("OldEnglish", std::vector<std::string>({
|
||||
EnglishOld(): Base("EnglishOld", std::vector<std::string>({
|
||||
"like",
|
||||
"just",
|
||||
"love",
|
@ -44,7 +44,7 @@
|
||||
#include "mnemonics/russian.h"
|
||||
#include "mnemonics/french.h"
|
||||
#include "mnemonics/dutch.h"
|
||||
#include "mnemonics/old_english.h"
|
||||
#include "mnemonics/english_old.h"
|
||||
#include "mnemonics/language_base.h"
|
||||
#include "mnemonics/singleton.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user