diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index ae4f76f3d1..1751bc9f8f 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 3a92b7adf6..e0db5a3746 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,