mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 01:30:23 +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: "ピン留め解除"
|
unpin: "ピン留め解除"
|
||||||
copyContent: "内容をコピー"
|
copyContent: "内容をコピー"
|
||||||
copyLink: "リンクをコピー"
|
copyLink: "リンクをコピー"
|
||||||
|
copyRemoteLink: "リモートのリンクをコピー"
|
||||||
copyLinkRenote: "リノートのリンクをコピー"
|
copyLinkRenote: "リノートのリンクをコピー"
|
||||||
delete: "削除"
|
delete: "削除"
|
||||||
deleteAndEdit: "削除して編集"
|
deleteAndEdit: "削除して編集"
|
||||||
|
|
|
@ -316,9 +316,9 @@ export function getNoteMenu(props: {
|
||||||
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink));
|
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink));
|
||||||
|
|
||||||
if (appearNote.url || appearNote.uri) {
|
if (appearNote.url || appearNote.uri) {
|
||||||
menuItems.push({ // リモートのリンクをコピー
|
menuItems.push({
|
||||||
icon: 'ti ti-external-link',
|
icon: 'ti ti-link',
|
||||||
text: i18n.ts.showOnRemote,
|
text: i18n.ts.copyRemoteLink,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(appearNote.url ?? appearNote.uri);
|
copyToClipboard(appearNote.url ?? appearNote.uri);
|
||||||
os.success();
|
os.success();
|
||||||
|
@ -476,6 +476,13 @@ export function getNoteMenu(props: {
|
||||||
|
|
||||||
if (appearNote.url || appearNote.uri) {
|
if (appearNote.url || appearNote.uri) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
|
icon: 'ti ti-link',
|
||||||
|
text: i18n.ts.copyRemoteLink,
|
||||||
|
action: () => {
|
||||||
|
copyToClipboard(appearNote.url ?? appearNote.uri);
|
||||||
|
os.success();
|
||||||
|
},
|
||||||
|
}, {
|
||||||
icon: 'ti ti-external-link',
|
icon: 'ti ti-external-link',
|
||||||
text: i18n.ts.showOnRemote,
|
text: i18n.ts.showOnRemote,
|
||||||
action: () => {
|
action: () => {
|
||||||
|
|
Loading…
Reference in a new issue