多国语优化

Former-commit-id: a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly d5496bc086c4f30bf93e78dc952a96e1290d7741 [formerly 109a1551c774eda4def5d60bcad6a7e6bf067427]]]]]
Former-commit-id: 5fb4b686b2a55e26e84b807e9ac89ce2507e60ae
Former-commit-id: 616a6efcf8a6ae1c3dac361188d6cdb20babbcee
Former-commit-id: b36b72c56e7bde000543b82710ebf5adb1e6af7e [formerly 73df28172659ebd186166f10a018df24dd9e82c3]
Former-commit-id: ea8cd53cb57d1ecfd6319e49a82e79e898a4d2d5
Former-commit-id: e374d75e19fd117a62d4e4039c6c4a0a5f9c12dc
Former-commit-id: 9baa5c79336a57dbc908b2d9829145f19b353277
Former-commit-id: bbd4b1a8abed87e1e07ce8b8c60935819113f182
Former-commit-id: 71e567542049cc37cc88c05185c220aeee3564ab
This commit is contained in:
liyang 2019-05-22 23:34:02 +08:00
parent 3fb609aed6
commit 9441c4f614
9 changed files with 132 additions and 1 deletions

View File

@ -1 +1 @@
1fa97eb3669d03dfd3beba1ab093345500f40c4c
df03a79f990d713d14c11639842ec15c84f45469

View File

@ -44,6 +44,23 @@
"sub-title": "Elegant mid-background integration solution",
"title": "D2 Admin"
},
"help": {
"button": "need any help",
"dialog": {
"link": {
"text": {
"doc": "Document",
"issues": "Historical question",
"new-issue": "Ask a question on Github"
}
},
"sub-title": {
"doc": "Here are some references",
"join-chat-group": "Ask other users or authors"
},
"title": "Help"
}
},
"page": {
"link": {
"href": {

View File

@ -44,6 +44,23 @@
"sub-title": "エレガントなミッドバックグラウンド統合ソリューション",
"title": "D2 Admin"
},
"help": {
"button": "助けが必要ですか?",
"dialog": {
"link": {
"text": {
"doc": "文書",
"issues": "歴史的な質問",
"new-issue": "Githubで質問する"
}
},
"sub-title": {
"doc": "ここにいくつかの参照があります",
"join-chat-group": "他のユーザーや作者に尋ねる"
},
"title": "ヘルプ"
}
},
"page": {
"link": {
"href": {

View File

@ -44,6 +44,23 @@
"sub-title": "优雅的中后台集成方案",
"title": "D2 Admin"
},
"help": {
"button": "需要帮助吗",
"dialog": {
"link": {
"text": {
"doc": "文档",
"issues": "历史提问",
"new-issue": "在 Github 提问"
}
},
"sub-title": {
"doc": "这里有一些参考资料",
"join-chat-group": "询问其它使用者或作者"
},
"title": "帮助"
}
},
"page": {
"link": {
"href": {

View File

@ -44,6 +44,23 @@
"sub-title": "優雅的中後台集成方案",
"title": "D2 Admin"
},
"help": {
"button": "需要幫助嗎",
"dialog": {
"link": {
"text": {
"doc": "文檔",
"issues": "歷史提問",
"new-issue": "在 Github 提問"
}
},
"sub-title": {
"doc": "這裡有一些參考資料",
"join-chat-group": "詢問其它使用者或作者"
},
"title": "幫助"
}
},
"page": {
"link": {
"href": {

View File

@ -0,0 +1 @@
b27de32f6832b50dc5b8b1dc613060a81f88a8e9

View File

@ -0,0 +1 @@
12bb778e8779f32a46ee756e6dbb890024b40f5d

View File

@ -0,0 +1,58 @@
<template>
<div>
<el-button
type="primary"
@click="dialogVisible = true"
plain
round>
<d2-icon name="question-circle-o" class="d2-mr-5"/>
{{ $t('views.system.index.help.button') }}
</el-button>
<el-dialog
:title="$t('views.system.index.help.dialog.title')"
width="600px"
:visible.sync="dialogVisible"
:append-to-body="true">
<div style="margin-top: -25px; margin-bottom: -25px;">
<h2 class="d2-mt-0">
{{ $t('views.system.index.help.dialog.sub-title.doc') }}
</h2>
<el-button-group>
<el-button @click="$open('https://doc.d2admin.fairyever.com/zh/')">
<d2-icon name="book" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.doc') }}
</el-button>
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues?q=is%3Aissue+is%3Aclosed')">
<d2-icon name="question" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.issues') }}
</el-button>
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues/new/choose')">
<d2-icon name="plus" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.new-issue') }}
</el-button>
</el-button-group>
<h2>{{ $t('views.system.index.help.dialog.sub-title.join-chat-group') }}</h2>
<el-row :gutter="20">
<el-col :span="12">
<img src="./image/qq.jpg" class="d2-mb" style="width: 100%;">
<p>QQ群 [ 1500+ / 2000 ]</p>
</el-col>
<el-col :span="12">
<img src="./image/we.jpg" class="d2-mb" style="width: 100%;">
<p>与作者成为好友后邀请进微信群"</p>
</el-col>
</el-row>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
data () {
return {
dialogVisible: false
}
}
}
</script>

View File

@ -35,6 +35,7 @@
</el-popover>
</div>
<d2-badge/>
<d2-help/>
</template>
</d2-page-cover>
</d2-container>
@ -42,10 +43,12 @@
<script>
import D2Badge from './components/d2-badge'
import D2Help from './components/d2-help'
import D2PageCover from './components/d2-page-cover'
export default {
components: {
D2Badge,
D2Help,
D2PageCover
},
data () {