fix match at view
This commit is contained in:
parent
92de23e63b
commit
930c07b338
3 changed files with 9 additions and 1 deletions
|
|
@ -30,4 +30,5 @@ angular.module('copayApp.controllers').controller('wordsController',
|
|||
this.mnemonicWords = words.split(/[\u3000\s]+/);
|
||||
|
||||
this.mnemonicHasPassphrase = fc.mnemonicHasPassphrase();
|
||||
this.useIdeograms = words.indexOf("\u3000") >= 0;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ angular.module('copayApp.services')
|
|||
}, {
|
||||
name: '日本語',
|
||||
isoCode: 'ja',
|
||||
useIdeograms: true,
|
||||
}, {
|
||||
name: 'Pусский',
|
||||
isoCode: 'ru',
|
||||
|
|
@ -64,6 +65,12 @@ angular.module('copayApp.services')
|
|||
return root.getName(root.currentLanguage);
|
||||
};
|
||||
|
||||
root.getCurrentLanguageInfo = function() {
|
||||
return lodash.find(root.availableLanguages, {
|
||||
'isoCode': root.currentLanguage
|
||||
});
|
||||
};
|
||||
|
||||
root.getLanguages = function() {
|
||||
return root.availableLanguages;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue