Merge remote-tracking branch 'sim1222_misskey/ncat-sim-dev-renote-home' into ncat-sim-dev-renote-home

This commit is contained in:
sim1222 2022-02-09 23:24:32 +09:00
commit 3a83aabf42
3 changed files with 11 additions and 0 deletions

View File

@ -94,6 +94,7 @@ unfollow: "Unfollow"
followRequestPending: "Pending follow request"
enterEmoji: "Enter an emoji"
renote: "Renote"
renoteHomeOnly: "Renote to home only"
renoteFollowersOnly: "Renote to followers only"
unrenote: "Take back renote"
renoted: "Renoted."

View File

@ -94,6 +94,7 @@ unfollow: "フォロー解除"
followRequestPending: "フォロー許可待ち"
enterEmoji: "絵文字を入力"
renote: "Renote"
renoteHomeOnly: "ホームのみにRenote"
renoteFollowersOnly: "鍵Renote"
unrenote: "Renote解除"
renoted: "Renoteしたよ。"

View File

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