wip
This commit is contained in:
parent
6471863ba5
commit
4ac1dc8740
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
### General
|
### General
|
||||||
- Feat: 予約投稿ができるようになりました
|
- Feat: 予約投稿ができるようになりました
|
||||||
|
- デフォルトで作成可能数は0になっています。適宜ロールのポリシーで設定を行ってください。
|
||||||
- Enhance: 広告ごとにセンシティブフラグを設定できるようになりました
|
- Enhance: 広告ごとにセンシティブフラグを設定できるようになりました
|
||||||
|
|
||||||
### Client
|
### Client
|
||||||
|
|
|
@ -7957,6 +7957,10 @@ export interface Locale extends ILocale {
|
||||||
* サーバーサイドのノートの下書きの作成可能数
|
* サーバーサイドのノートの下書きの作成可能数
|
||||||
*/
|
*/
|
||||||
"noteDraftLimit": string;
|
"noteDraftLimit": string;
|
||||||
|
/**
|
||||||
|
* 予約投稿の同時作成可能数
|
||||||
|
*/
|
||||||
|
"scheduledNoteLimit": string;
|
||||||
/**
|
/**
|
||||||
* ウォーターマーク機能の使用可否
|
* ウォーターマーク機能の使用可否
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -76,7 +76,7 @@ export const apiWithDialog = (<E extends keyof Misskey.Endpoints>(
|
||||||
} else if (err.code === 'ROLE_PERMISSION_DENIED') {
|
} else if (err.code === 'ROLE_PERMISSION_DENIED') {
|
||||||
title = i18n.ts.permissionDeniedError;
|
title = i18n.ts.permissionDeniedError;
|
||||||
text = i18n.ts.permissionDeniedErrorDescription;
|
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;
|
title = i18n.ts.youCannotCreateAnymore;
|
||||||
text = `${i18n.ts.error}: ${err.id}`;
|
text = `${i18n.ts.error}: ${err.id}`;
|
||||||
} else if (err.message.startsWith('Unexpected token')) {
|
} else if (err.message.startsWith('Unexpected token')) {
|
||||||
|
|
Loading…
Reference in New Issue