Merge pull request #6 from NullCatSlave/ncat-sim-dev-renote-home

homeRNのオプションも追加する
This commit is contained in:
NullCat 2022-02-10 00:35:17 +09:00 committed by GitHub
commit 595f01ed28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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',