diff --git a/locales.babel.REMOVED.git-id b/locales.babel.REMOVED.git-id index a3ecac05..8a21c886 100644 --- a/locales.babel.REMOVED.git-id +++ b/locales.babel.REMOVED.git-id @@ -1 +1 @@ -3376b9ca40eaa0fc62436964fc54b565c79521c5 \ No newline at end of file +ae7f3c4ffa4b6ebe316947483e293276b9eb95fb \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index a0c9bb4d..88483ea3 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -9,6 +9,59 @@ }, "views": { "system": { + "error": { + "404": { + "back": "Back to home" + } + }, + "index": { + "cover": { + "build-time": "Build time", + "github-fork-alt": "Fork me on GitHub", + "sub-title": "Elegant mid-background integration solution", + "title": "D2 Admin" + }, + "help": { + "chat": { + "title": { + "qq": "QQ group [ 1500 / 2000 people ]", + "we": "Invite into the WeChat group after becoming friends with the author" + } + }, + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/" + }, + "text": { + "doc": "Document", + "github": "Homepage", + "issues": "Issues", + "new-issue": "New issue" + } + }, + "title": "Help" + }, + "page": { + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/" + }, + "text": { + "d2-projects": "Open source organization", + "daily": "Daily", + "doc": "Document", + "ice": "Flying ice", + "juejin": "Nuggets", + "start-kit": "Starter version" + } + }, + "we": { + "button": "WeChat Public", + "introduce": "Official public number, mainly push front-end technical articles, framework resources, learning tutorials, and D2 series project update information", + "title": "JS Daily" + } + } + }, "login": { "footer": { "button": { diff --git a/src/locales/ja.json b/src/locales/ja.json index 8c8eef77..5f524b92 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -9,6 +9,59 @@ }, "views": { "system": { + "error": { + "404": { + "back": "家に戻る" + } + }, + "index": { + "cover": { + "build-time": "構築時間", + "github-fork-alt": "Fork me on GitHub", + "sub-title": "エレガントなミッドバックグラウンド統合ソリューション", + "title": "D2 Admin" + }, + "help": { + "chat": { + "title": { + "qq": "QQグループ[1500/2000人]", + "we": "著者と友達になった後にWeChatグループに招待する" + } + }, + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/" + }, + "text": { + "doc": "文書", + "github": "ホームページ", + "issues": "問題", + "new-issue": "新しい号" + } + }, + "title": "ヘルプ" + }, + "page": { + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/" + }, + "text": { + "d2-projects": "オープンソース組織", + "daily": "日刊新聞", + "doc": "文書", + "ice": "飛んでいる氷", + "juejin": "ナゲット", + "start-kit": "スターターバージョン" + } + }, + "we": { + "button": "WeChatパブリック番号", + "introduce": "公式の公開番号。主にフロントエンドの技術記事、フレームワークリソース、学習チュートリアル、およびD2シリーズプロジェクトの更新情報をプッシュします。", + "title": "今日のフロントエンド" + } + } + }, "login": { "footer": { "button": { diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 1429fca6..656fca1b 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -9,6 +9,59 @@ }, "views": { "system": { + "error": { + "404": { + "back": "返回首页" + } + }, + "index": { + "cover": { + "build-time": "构建时间", + "github-fork-alt": "Fork me on GitHub", + "sub-title": "优雅的中后台集成方案", + "title": "D2 Admin" + }, + "help": { + "chat": { + "title": { + "qq": "QQ群 [ 1500+ / 2000 人 ]", + "we": "与作者成为好友后邀请进微信群" + } + }, + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/zh/" + }, + "text": { + "doc": "文档", + "github": "主页", + "issues": "issues", + "new-issue": "New issue" + } + }, + "title": "帮助" + }, + "page": { + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/zh/" + }, + "text": { + "d2-projects": "开源组织", + "daily": "日报", + "doc": "文档", + "ice": "飞冰", + "juejin": "掘金", + "start-kit": "简化版" + } + }, + "we": { + "button": "微信公众号", + "introduce": "官方公众号,主要推送前端技术类文章、框架资源、学习教程,以及 D2 系列项目更新信息", + "title": "今日前端" + } + } + }, "login": { "footer": { "button": { diff --git a/src/locales/zh-cht.json b/src/locales/zh-cht.json index 4951a521..fa767f56 100644 --- a/src/locales/zh-cht.json +++ b/src/locales/zh-cht.json @@ -9,6 +9,59 @@ }, "views": { "system": { + "error": { + "404": { + "back": "返回首頁" + } + }, + "index": { + "cover": { + "build-time": "構建時間", + "github-fork-alt": "Fork me on GitHub", + "sub-title": "優雅的中後台集成方案", + "title": "D2 Admin" + }, + "help": { + "chat": { + "title": { + "qq": "QQ群 [ 1500 / 2000 人 ]", + "we": "與作者成為好友後邀請進微信群" + } + }, + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/" + }, + "text": { + "doc": "文檔", + "github": "主頁", + "issues": "issues", + "new-issue": "New issue" + } + }, + "title": "幫助" + }, + "page": { + "link": { + "href": { + "doc": "https://doc.d2admin.fairyever.com/zh/" + }, + "text": { + "d2-projects": "開源組織", + "daily": "日報", + "doc": "文檔", + "ice": "飛冰", + "juejin": "掘金", + "start-kit": "簡化版" + } + }, + "we": { + "button": "微信公眾號", + "introduce": "官方公眾號,主要推送前端技術類文章、框架資源、學習教程,以及 D2 系列項目更新信息", + "title": "今日前端" + } + } + }, "login": { "footer": { "button": { diff --git a/src/views/system/error/404/index.vue b/src/views/system/error/404/index.vue index d265b7b9..12ac37c5 100644 --- a/src/views/system/error/404/index.vue +++ b/src/views/system/error/404/index.vue @@ -2,7 +2,7 @@

404 page not found

- 返回首页 + {{ $t('views.system.error.404.back') }}
diff --git a/src/views/system/index/components/d2-help-btn/index.vue b/src/views/system/index/components/d2-help-btn/index.vue index 29a17f4c..f4fdfc0c 100644 --- a/src/views/system/index/components/d2-help-btn/index.vue +++ b/src/views/system/index/components/d2-help-btn/index.vue @@ -5,7 +5,7 @@ style="width: 138px;" @click="dialogVisible = true"> @@ -13,28 +13,34 @@ - 主页 + {{ $t('views.system.index.help.link.text.github') }} - + - 中文文档 + {{ $t('views.system.index.help.link.text.doc') }} - issues + {{ $t('views.system.index.help.link.text.issues') }} - New issue + {{ $t('views.system.index.help.link.text.new-issue') }} - + - + diff --git a/src/views/system/index/components/d2-page-cover/index.vue b/src/views/system/index/components/d2-page-cover/index.vue index 1045ef35..81162b51 100644 --- a/src/views/system/index/components/d2-page-cover/index.vue +++ b/src/views/system/index/components/d2-page-cover/index.vue @@ -3,15 +3,15 @@ -

D2 Admin {{$version}}

-

优雅的中后台集成方案

-

FINAL BUILD TIME {{$buildTime}}

+

{{ $t('views.system.index.cover.title') }} {{$version}}

+

{{ $t('views.system.index.cover.sub-title') }}

+

{{ $t('views.system.index.cover.build-time') }} {{$buildTime}}

Fork me on GitHub + :alt="$t('views.system.index.cover.github-fork-alt')"> diff --git a/src/views/system/index/page.vue b/src/views/system/index/page.vue index 5068870d..deac0acd 100644 --- a/src/views/system/index/page.vue +++ b/src/views/system/index/page.vue @@ -4,21 +4,21 @@