get language list
This commit is contained in:
1 parent
9a218c516e
commit
2ca5adecaa
1 file changed
+1
-1
@@ -49,7 +49,7 @@
|
||||
this.Languages = []
|
||||
locales.keys().map(key=>{
|
||||
let value = key.match(/([A-Za-z0-9-_]+)\./i)[1];
|
||||
let text = require(`@/locales/${value}.json`).title
|
||||
let text = locales(key).title
|
||||
this.Languages.push({
|
||||
text: text,
|
||||
value: value
|
||||
|
||||
Reference in new issue
Block a user