From 54bcd260fff32816a0908a9255faf97d4a20ae2c Mon Sep 17 00:00:00 2001 From: Nano Akron Date: Sun, 16 Apr 2017 11:24:40 +0100 Subject: Added Simplified Chinese electrum word list --- src/mnemonics/electrum-words.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mnemonics/electrum-words.cpp') diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp index fd2c6a836..5bd06c3e8 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -51,6 +51,7 @@ #include #include +#include "chinese_simplified.h" #include "english.h" #include "dutch.h" #include "french.h" @@ -84,6 +85,7 @@ namespace { // If there's a new language added, add an instance of it here. std::vector language_instances({ + Language::Singleton::instance(), Language::Singleton::instance(), Language::Singleton::instance(), Language::Singleton::instance(), @@ -348,6 +350,10 @@ namespace crypto { language = Language::Singleton::instance(); } + else if (language_name == "Chinese (Simplified)") + { + language = Language::Singleton::instance(); + } else { return false; @@ -393,6 +399,7 @@ namespace crypto void get_language_list(std::vector &languages) { std::vector language_instances({ + Language::Singleton::instance(), Language::Singleton::instance(), Language::Singleton::instance(), Language::Singleton::instance(), -- cgit v1.2.3