mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
chore: 調整
This commit is contained in:
parent
88877c011e
commit
9b25b0a77a
2 changed files with 11 additions and 3 deletions
|
@ -48,6 +48,7 @@ pin: "ピン留め"
|
|||
unpin: "ピン留め解除"
|
||||
copyContent: "内容をコピー"
|
||||
copyLink: "リンクをコピー"
|
||||
copyRemoteLink: "リモートのリンクをコピー"
|
||||
copyLinkRenote: "リノートのリンクをコピー"
|
||||
delete: "削除"
|
||||
deleteAndEdit: "削除して編集"
|
||||
|
|
|
@ -316,9 +316,9 @@ export function getNoteMenu(props: {
|
|||
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink));
|
||||
|
||||
if (appearNote.url || appearNote.uri) {
|
||||
menuItems.push({ // リモートのリンクをコピー
|
||||
icon: 'ti ti-external-link',
|
||||
text: i18n.ts.showOnRemote,
|
||||
menuItems.push({
|
||||
icon: 'ti ti-link',
|
||||
text: i18n.ts.copyRemoteLink,
|
||||
action: () => {
|
||||
copyToClipboard(appearNote.url ?? appearNote.uri);
|
||||
os.success();
|
||||
|
@ -476,6 +476,13 @@ export function getNoteMenu(props: {
|
|||
|
||||
if (appearNote.url || appearNote.uri) {
|
||||
menuItems.push({
|
||||
icon: 'ti ti-link',
|
||||
text: i18n.ts.copyRemoteLink,
|
||||
action: () => {
|
||||
copyToClipboard(appearNote.url ?? appearNote.uri);
|
||||
os.success();
|
||||
},
|
||||
}, {
|
||||
icon: 'ti ti-external-link',
|
||||
text: i18n.ts.showOnRemote,
|
||||
action: () => {
|
||||
|
|
Loading…
Reference in a new issue