Merge remote-tracking branch 'origin/Ncat' into Ncat

This commit is contained in:
nullnyat 2022-02-07 09:07:28 +09:00
commit 432210e1b5
No known key found for this signature in database
GPG Key ID: 5EDC2816C3AE007A
3 changed files with 12 additions and 1 deletions

View File

@ -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"
renote: "Renote to followers only"
unrenote: "Take back renote" unrenote: "Take back renote"
renoted: "Renoted." renoted: "Renoted."
cantRenote: "This post can't be renoted." cantRenote: "This post can't be renoted."

View File

@ -94,6 +94,7 @@ unfollow: "フォロー解除"
followRequestPending: "フォロー許可待ち" followRequestPending: "フォロー許可待ち"
enterEmoji: "絵文字を入力" enterEmoji: "絵文字を入力"
renote: "Renote" renote: "Renote"
renoteFollowersOnly: "フォロワーのみにRenote"
unrenote: "Renote解除" unrenote: "Renote解除"
renoted: "Renoteしたよ。" renoted: "Renoteしたよ。"
cantRenote: "この投稿はRenoteできにゃいよ。" cantRenote: "この投稿はRenoteできにゃいよ。"

View File

@ -66,7 +66,16 @@ export default defineComponent({
renoteId: props.note.id renoteId: props.note.id
}); });
} }
}, { },{
text: i18n.ts.renoteFollowersOnly,
icon: 'fas fa-unlock',
action: () => {
os.api('notes/create', {
renoteId: props.note.id,
visibility: 'followers'
});
}
},{
text: i18n.ts.quote, text: i18n.ts.quote,
icon: 'fas fa-quote-right', icon: 'fas fa-quote-right',
action: () => { action: () => {