This commit is contained in:
luk.lu
2023-01-31 16:41:23 +08:00
parent 7cd7c2a599
commit 04f2361dc2
9 changed files with 1059 additions and 879 deletions

12
i18n.js
View File

@@ -1,14 +1,8 @@
module.exports = {
langSet: {
enUS: 'English',
zhCN: '中文',
jpJP: '日本語',
krKR: '한국어',
ruRU: 'русский',
esES: 'Español',
},
landSet: require('./i18n-land.js'),
langSet: require('./i18n-languages.js'),
landSet: require('./i18n-lands.js'),
currencySet: require('./i18n-currencies.js'),
cryptocoinSet: require('./i18n-cryptocoins.js'),
validatePhone ({ phone } = {}) {
try {
let [fullphone, areacode, callnumber] = /^\+(\d{1,3})-(\d{7,11})$/.exec(phone)