hd: add spanish wordlist. fixes #138.
This commit is contained in:
parent
63011a50fc
commit
5511526d98
@ -59,7 +59,8 @@ Mnemonic.languages = [
|
||||
'english',
|
||||
'french',
|
||||
'italian',
|
||||
'japanese'
|
||||
'japanese',
|
||||
'spanish'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@ -22,6 +22,8 @@ exports.get = function get(name) {
|
||||
return words.italian;
|
||||
case 'japanese':
|
||||
return words.japanese;
|
||||
case 'spanish':
|
||||
return words.spanish;
|
||||
default:
|
||||
throw new Error('Unknown language: ' + name);
|
||||
}
|
||||
|
||||
@ -20,6 +20,8 @@ exports.get = function get(name) {
|
||||
return require('./words/italian.js');
|
||||
case 'japanese':
|
||||
return require('./words/japanese.js');
|
||||
case 'spanish':
|
||||
return require('./words/spanish.js');
|
||||
default:
|
||||
throw new Error('Unknown language: ' + name);
|
||||
}
|
||||
|
||||
@ -15,3 +15,4 @@ exports.english = require('./english.js');
|
||||
exports.french = require('./french.js');
|
||||
exports.italian = require('./italian.js');
|
||||
exports.japanese = require('./japanese.js');
|
||||
exports.spanish = require('./spanish.js');
|
||||
|
||||
2050
lib/hd/words/spanish.js
Normal file
2050
lib/hd/words/spanish.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user