diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index ae4f76f3d..1751bc9f8 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -396,6 +396,7 @@ disableAnimatedMfm: "動きのあるMFMを無効にする" doing: "やっています" category: "カテゴリ" tags: "タグ" +docSource: "このドキュメントのソース" _ago: unknown: "謎" diff --git a/src/client/pages/doc.vue b/src/client/pages/doc.vue index 3a92b7adf..e0db5a374 100644 --- a/src/client/pages/doc.vue +++ b/src/client/pages/doc.vue @@ -3,9 +3,13 @@ {{ title }}
+
{{ title }}
+
@@ -14,19 +18,27 @@ import Vue from 'vue'; import { faFileAlt } from '@fortawesome/free-solid-svg-icons' import MarkdownIt from 'markdown-it'; +import i18n from '../i18n'; import { url, lang } from '../config'; +import MkLink from '../components/link.vue'; const markdown = MarkdownIt({ html: true }); export default Vue.extend({ + i18n, + metaInfo() { return { title: this.title, }; }, + components: { + MkLink + }, + props: { doc: { type: String,