2019-05-14 18:25:46 -04:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
// Wordlists
|
|
|
|
// See: https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md
|
|
|
|
|
2019-11-23 21:20:23 +09:00
|
|
|
import { logger, Wordlist } from "./wordlist";
|
2019-05-14 18:25:46 -04:00
|
|
|
|
2020-01-03 19:41:23 -05:00
|
|
|
import { langCz as cz } from "./lang-cz";
|
2019-06-12 09:35:44 -04:00
|
|
|
import { langEn as en } from "./lang-en";
|
|
|
|
import { langEs as es } from "./lang-es";
|
|
|
|
import { langFr as fr } from "./lang-fr";
|
|
|
|
import { langJa as ja } from "./lang-ja";
|
|
|
|
import { langKo as ko } from "./lang-ko";
|
|
|
|
import { langIt as it } from "./lang-it";
|
|
|
|
import { langZhCn as zh_cn, langZhTw as zh_tw } from "./lang-zh";
|
2019-05-14 18:25:46 -04:00
|
|
|
|
2019-06-12 09:35:44 -04:00
|
|
|
const wordlists: { [ locale: string ]: Wordlist } = {
|
2020-01-03 19:41:23 -05:00
|
|
|
cz: cz,
|
2019-06-12 09:35:44 -04:00
|
|
|
en: en,
|
|
|
|
es: es,
|
|
|
|
fr: fr,
|
|
|
|
it: it,
|
|
|
|
ja: ja,
|
|
|
|
ko: ko,
|
|
|
|
zh: zh_cn,
|
|
|
|
zh_cn: zh_cn,
|
|
|
|
zh_tw: zh_tw
|
|
|
|
};
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
export {
|
2019-11-23 21:20:23 +09:00
|
|
|
logger,
|
2019-06-12 09:35:44 -04:00
|
|
|
Wordlist,
|
|
|
|
wordlists
|
2019-05-14 18:25:46 -04:00
|
|
|
}
|