fix(frontend): 通知の設定画面で予約投稿関連の翻訳が当たっていない問題の修正 (#16603)
* fix(frontend): 予約投稿通知の設定画面に不足している翻訳を追加 * fix(misskey-js): 廃止された通知が定義に残っているのを修正 * fix(frontend): 予約投稿の完了/失敗通知はオンオフのみ
This commit is contained in:
parent
a8fcdb79ab
commit
d03cf4d7f9
|
@ -10481,6 +10481,14 @@ export interface Locale extends ILocale {
|
|||
* アンケートが終了
|
||||
*/
|
||||
"pollEnded": string;
|
||||
/**
|
||||
* 予約投稿が成功した
|
||||
*/
|
||||
"scheduledNotePosted": string;
|
||||
/**
|
||||
* 予約投稿が失敗した
|
||||
*/
|
||||
"scheduledNotePostFailed": string;
|
||||
/**
|
||||
* フォロー申請を受け取った
|
||||
*/
|
||||
|
|
|
@ -2768,6 +2768,8 @@ _notification:
|
|||
quote: "引用"
|
||||
reaction: "リアクション"
|
||||
pollEnded: "アンケートが終了"
|
||||
scheduledNotePosted: "予約投稿が成功した"
|
||||
scheduledNotePostFailed: "予約投稿が失敗した"
|
||||
receiveFollowRequest: "フォロー申請を受け取った"
|
||||
followRequestAccepted: "フォローが受理された"
|
||||
roleAssigned: "ロールが付与された"
|
||||
|
|
|
@ -85,7 +85,7 @@ const $i = ensureSignin();
|
|||
|
||||
const nonConfigurableNotificationTypes = ['note', 'roleAssigned', 'followRequestAccepted', 'test', 'exportCompleted'] satisfies (typeof notificationTypes[number])[] as string[];
|
||||
|
||||
const onlyOnOrOffNotificationTypes = ['app', 'achievementEarned', 'login', 'createToken'] satisfies (typeof notificationTypes[number])[] as string[];
|
||||
const onlyOnOrOffNotificationTypes = ['app', 'achievementEarned', 'login', 'createToken', 'scheduledNotePosted', 'scheduledNotePostFailed'] satisfies (typeof notificationTypes[number])[] as string[];
|
||||
|
||||
const allowButton = useTemplateRef('allowButton');
|
||||
const pushRegistrationInServer = computed(() => allowButton.value?.pushRegistrationInServer);
|
||||
|
|
|
@ -3226,7 +3226,7 @@ type Notification_2 = components['schemas']['Notification'];
|
|||
type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
export const notificationTypes: readonly ["note", "follow", "mention", "reply", "renote", "quote", "reaction", "pollEnded", "scheduledNotePosted", "scheduledNotePostFailed", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app", "roleAssigned", "chatRoomInvitationReceived", "achievementEarned", "exportCompleted", "test", "login", "createToken"];
|
||||
export const notificationTypes: readonly ["note", "follow", "mention", "reply", "renote", "quote", "reaction", "pollEnded", "scheduledNotePosted", "scheduledNotePostFailed", "receiveFollowRequest", "followRequestAccepted", "app", "roleAssigned", "chatRoomInvitationReceived", "achievementEarned", "exportCompleted", "test", "login", "createToken"];
|
||||
|
||||
// @public (undocumented)
|
||||
export function nyaize(text: string): string;
|
||||
|
|
|
@ -30,7 +30,6 @@ export const notificationTypes = [
|
|||
'scheduledNotePostFailed',
|
||||
'receiveFollowRequest',
|
||||
'followRequestAccepted',
|
||||
'groupInvited',
|
||||
'app',
|
||||
'roleAssigned',
|
||||
'chatRoomInvitationReceived',
|
||||
|
|
Loading…
Reference in New Issue