This commit is contained in:
syuilo 2025-09-25 17:53:06 +09:00
parent 6471863ba5
commit 4ac1dc8740
3 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,7 @@
### General
- Feat: 予約投稿ができるようになりました
- デフォルトで作成可能数は0になっています。適宜ロールのポリシーで設定を行ってください。
- Enhance: 広告ごとにセンシティブフラグを設定できるようになりました
### Client

4
locales/index.d.ts vendored
View File

@ -7957,6 +7957,10 @@ export interface Locale extends ILocale {
*
*/
"noteDraftLimit": string;
/**
* 稿
*/
"scheduledNoteLimit": string;
/**
* 使
*/

View File

@ -76,7 +76,7 @@ export const apiWithDialog = (<E extends keyof Misskey.Endpoints>(
} else if (err.code === 'ROLE_PERMISSION_DENIED') {
title = i18n.ts.permissionDeniedError;
text = i18n.ts.permissionDeniedErrorDescription;
} else if (err.code.startsWith('TOO_MANY')) {
} else if (err.code.startsWith('TOO_MANY')) { // TODO: バックエンドに kind: client/contentsLimitExceeded みたいな感じで送るように統一してもらってそれで判定する
title = i18n.ts.youCannotCreateAnymore;
text = `${i18n.ts.error}: ${err.id}`;
} else if (err.message.startsWith('Unexpected token')) {