enhance: ノートの翻訳機能の利用可否をロールで設定可能に

Resolve #11923
This commit is contained in:
syuilo 2023-09-30 07:54:11 +09:00
parent cc6a96e1c9
commit 392de4df36
9 changed files with 57 additions and 4 deletions

1
locales/index.d.ts vendored
View file

@ -1562,6 +1562,7 @@ export interface Locale {
"descriptionOfRateLimitFactor": string;
"canHideAds": string;
"canSearchNotes": string;
"canUseTranslator": string;
};
"_condition": {
"isLocal": string;

View file

@ -1482,7 +1482,8 @@ _role:
rateLimitFactor: "レートリミット"
descriptionOfRateLimitFactor: "小さいほど制限が緩和され、大きいほど制限が強化されます。"
canHideAds: "広告の非表示"
canSearchNotes: "ノート検索の利用可否"
canSearchNotes: "ノート検索の利用"
canUseTranslator: "翻訳機能の利用"
_condition:
isLocal: "ローカルユーザー"
isRemote: "リモートユーザー"