feat: Add renote home only button
This commit is contained in:
parent
c57f03b092
commit
75482bb4b3
@ -94,6 +94,7 @@ unfollow: "Unfollow"
|
|||||||
followRequestPending: "Pending follow request"
|
followRequestPending: "Pending follow request"
|
||||||
enterEmoji: "Enter an emoji"
|
enterEmoji: "Enter an emoji"
|
||||||
renote: "Renote"
|
renote: "Renote"
|
||||||
|
renoteHomeOnly: "Renote to home only"
|
||||||
renoteFollowersOnly: "Renote to followers only"
|
renoteFollowersOnly: "Renote to followers only"
|
||||||
unrenote: "Take back renote"
|
unrenote: "Take back renote"
|
||||||
renoted: "Renoted."
|
renoted: "Renoted."
|
||||||
|
@ -94,6 +94,7 @@ unfollow: "フォロー解除"
|
|||||||
followRequestPending: "フォロー許可待ち"
|
followRequestPending: "フォロー許可待ち"
|
||||||
enterEmoji: "絵文字を入力"
|
enterEmoji: "絵文字を入力"
|
||||||
renote: "Renote"
|
renote: "Renote"
|
||||||
|
renoteHomeOnly: "ホームのみにRenote"
|
||||||
renoteFollowersOnly: "鍵Renote"
|
renoteFollowersOnly: "鍵Renote"
|
||||||
unrenote: "Renote解除"
|
unrenote: "Renote解除"
|
||||||
renoted: "Renoteしたよ。"
|
renoted: "Renoteしたよ。"
|
||||||
|
@ -66,6 +66,15 @@ export default defineComponent({
|
|||||||
renoteId: props.note.id
|
renoteId: props.note.id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
},{
|
||||||
|
text: i18n.ts.renoteHomeOnly,
|
||||||
|
icon: 'fas fa-unlock',
|
||||||
|
action: () => {
|
||||||
|
os.api('notes/create', {
|
||||||
|
renoteId: props.note.id,
|
||||||
|
visibility: 'home'
|
||||||
|
});
|
||||||
|
}
|
||||||
},{
|
},{
|
||||||
text: i18n.ts.renoteFollowersOnly,
|
text: i18n.ts.renoteFollowersOnly,
|
||||||
icon: 'fas fa-unlock',
|
icon: 'fas fa-unlock',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user