mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
Sub-Store 1.0版本
1. 移除了所有基于关键词的节点操作,统一使用基于正则表达式的节点操作。 2. UI的大量改进。
This commit is contained in:
24
web/src/i18n.js
Normal file
24
web/src/i18n.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import Vue from 'vue'
|
||||
import VueI18n from 'vue-i18n'
|
||||
|
||||
import ar from 'vuetify/lib/locale/ar'
|
||||
import en from 'vuetify/lib/locale/en'
|
||||
|
||||
Vue.use(VueI18n)
|
||||
|
||||
const messages = {
|
||||
en: {
|
||||
...require('@/locales/en.json'),
|
||||
$vuetify: en
|
||||
},
|
||||
ar: {
|
||||
...require('@/locales/ar.json'),
|
||||
$vuetify: ar
|
||||
}
|
||||
}
|
||||
|
||||
export default new VueI18n({
|
||||
locale: process.env.VUE_APP_I18N_LOCALE || 'en',
|
||||
fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || 'en',
|
||||
messages
|
||||
})
|
||||
Reference in New Issue
Block a user