aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mnemonics/CMakeLists.txt2
-rw-r--r--src/mnemonics/electrum-words.cpp4
-rw-r--r--src/mnemonics/electrum-words.h2
-rw-r--r--src/mnemonics/english_old.h (renamed from src/mnemonics/old_english.h)12
4 files changed, 10 insertions, 10 deletions
diff --git a/src/mnemonics/CMakeLists.txt b/src/mnemonics/CMakeLists.txt
index 4db19d195..c521a0932 100644
--- a/src/mnemonics/CMakeLists.txt
+++ b/src/mnemonics/CMakeLists.txt
@@ -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
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp
index c7c86f08d..ef1100a10 100644
--- a/src/mnemonics/electrum-words.cpp
+++ b/src/mnemonics/electrum-words.cpp
@@ -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;
diff --git a/src/mnemonics/electrum-words.h b/src/mnemonics/electrum-words.h
index d1aa65939..3655dd201 100644
--- a/src/mnemonics/electrum-words.h
+++ b/src/mnemonics/electrum-words.h
@@ -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.
diff --git a/src/mnemonics/old_english.h b/src/mnemonics/english_old.h
index 21ac95de3..9fa5e81e1 100644
--- a/src/mnemonics/old_english.h
+++ b/src/mnemonics/english_old.h
@@ -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",