From 50359dbaf4728b60c56e9bf229dd3acb3a9c7dee Mon Sep 17 00:00:00 2001 From: syuilo <Syuilotan@yahoo.co.jp> Date: Sat, 22 Feb 2020 06:57:54 +0900 Subject: [PATCH] Resolve #6053 --- locales/ja-JP.yml | 1 + src/client/components/note.vue | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index e65deb61c5..550ac51592 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -431,6 +431,7 @@ sounds: "サウンド" listen: "聴く" none: "なし" volume: "音量" +details: "詳細" _sfx: note: "ノート" diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 4d325f2806..410cb1d49e 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -85,7 +85,7 @@ <script lang="ts"> import Vue from 'vue'; -import { faBolt, faTimes, faBullhorn, faStar, faLink, faExternalLinkSquareAlt, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faQuoteRight } from '@fortawesome/free-solid-svg-icons'; +import { faBolt, faTimes, faBullhorn, faStar, faLink, faExternalLinkSquareAlt, faPlus, faMinus, faRetweet, faReply, faReplyAll, faEllipsisH, faHome, faUnlock, faEnvelope, faThumbtack, faBan, faQuoteRight, faInfoCircle } from '@fortawesome/free-solid-svg-icons'; import { faCopy, faTrashAlt, faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons'; import { parse } from '../../mfm/parse'; import { sum, unique } from '../../prelude/array'; @@ -489,6 +489,11 @@ export default Vue.extend({ noteId: this.appearNote.id }); menu = [{ + type: 'link', + icon: faInfoCircle, + text: this.$t('details'), + to: '/notes/' + this.appearNote.id + }, null, { icon: faCopy, text: this.$t('copyContent'), action: this.copyContent