no message
Former-commit-id: 03faa046703ea77198544f514588a6c0bd74d00f Former-commit-id: fd9fcf53e4bcca1827e5c1ca5e99f6d04de76822 Former-commit-id: be9a59d81f6398f10433cdad90a1c924151adbe1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import pub from './_pub'
|
||||
|
||||
export const message = {
|
||||
export const lang = {
|
||||
pub,
|
||||
hello: '你好,世界'
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import pub from './_pub'
|
||||
|
||||
export const message = {
|
||||
export const lang = {
|
||||
pub,
|
||||
hello: 'Hello World'
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import pub from './_pub'
|
||||
|
||||
export const message = {
|
||||
export const lang = {
|
||||
pub,
|
||||
hello: 'こんにちは、世界'
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<template>
|
||||
<el-button>{{$t('message.hello')}}</el-button>
|
||||
<el-button>{{$t('lang.hello')}}</el-button>
|
||||
</template>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Container>
|
||||
<PageHeader
|
||||
slot="header"
|
||||
:title="`${$t('message.pub.pageHeader.demo')} 1`"
|
||||
:title="`${$t('lang.pub.pageHeader.demo')} 1`"
|
||||
url="http://kazupon.github.io/vue-i18n/en/">
|
||||
</PageHeader>
|
||||
<DemoI18nControl></DemoI18nControl>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Container>
|
||||
<PageHeader
|
||||
slot="header"
|
||||
:title="`${$t('message.pub.pageHeader.demo')} 2`"
|
||||
:title="`${$t('lang.pub.pageHeader.demo')} 2`"
|
||||
url="http://kazupon.github.io/vue-i18n/en/">
|
||||
</PageHeader>
|
||||
<DemoI18nControl></DemoI18nControl>
|
||||
|
||||
Reference in New Issue
Block a user