chore: 調整

This commit is contained in:
Sayamame-beans 2024-12-03 20:07:19 +09:00
parent 88877c011e
commit 9b25b0a77a
2 changed files with 11 additions and 3 deletions

View file

@ -48,6 +48,7 @@ pin: "ピン留め"
unpin: "ピン留め解除"
copyContent: "内容をコピー"
copyLink: "リンクをコピー"
copyRemoteLink: "リモートのリンクをコピー"
copyLinkRenote: "リノートのリンクをコピー"
delete: "削除"
deleteAndEdit: "削除して編集"

View file

@ -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: () => {