This commit is contained in:
syuilo 2020-02-22 06:57:54 +09:00
parent 7165f21a62
commit 50359dbaf4
2 changed files with 7 additions and 1 deletions

View File

@ -431,6 +431,7 @@ sounds: "サウンド"
listen: "聴く" listen: "聴く"
none: "なし" none: "なし"
volume: "音量" volume: "音量"
details: "詳細"
_sfx: _sfx:
note: "ノート" note: "ノート"

View File

@ -85,7 +85,7 @@
<script lang="ts"> <script lang="ts">
import Vue from 'vue'; 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 { faCopy, faTrashAlt, faEye, faEyeSlash } from '@fortawesome/free-regular-svg-icons';
import { parse } from '../../mfm/parse'; import { parse } from '../../mfm/parse';
import { sum, unique } from '../../prelude/array'; import { sum, unique } from '../../prelude/array';
@ -489,6 +489,11 @@ export default Vue.extend({
noteId: this.appearNote.id noteId: this.appearNote.id
}); });
menu = [{ menu = [{
type: 'link',
icon: faInfoCircle,
text: this.$t('details'),
to: '/notes/' + this.appearNote.id
}, null, {
icon: faCopy, icon: faCopy,
text: this.$t('copyContent'), text: this.$t('copyContent'),
action: this.copyContent action: this.copyContent