From 7b1fbe362ee5d7df67a6841bd1bc6e35d343d588 Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Wed, 31 Oct 2018 15:13:44 +1100 Subject: [PATCH] Allow choosing language for mnemonic seed --- background.html | 2 ++ js/views/standalone_registration_view.js | 10 +++++++++- libloki/mnemonic.js | 13 +++++++++---- libtextsecure/account_manager.js | 4 ++-- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/background.html b/background.html index 248b1c973..d325a6b62 100644 --- a/background.html +++ b/background.html @@ -574,6 +574,8 @@ + +
Register using mnenomic
diff --git a/js/views/standalone_registration_view.js b/js/views/standalone_registration_view.js index 4df4c8b21..e97da6a5b 100644 --- a/js/views/standalone_registration_view.js +++ b/js/views/standalone_registration_view.js @@ -24,6 +24,14 @@ el: this.$('#phone-number-input'), }); this.$('#error').hide(); + + window.mnemonic.get_languages().forEach(language => { + this.$('#mnemonic-language').append($('