Skip to content

Commit 027c5a6

Browse files
syuiloharumaki2000
authored andcommitted
chore(frontend): tweak lockdown setting
1 parent a86c419 commit 027c5a6

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

locales/index.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -5395,6 +5395,10 @@ export interface Locale extends ILocale {
53955395
* リモートサーバーに連合されたノートには効果が及ばない場合があります。
53965396
*/
53975397
"mayNotEffectForFederatedNotes": string;
5398+
/**
5399+
* これらの制限は簡易的なものです。リモートサーバーでの閲覧やモデレーション時など、一部のシチュエーションでは適用されない場合があります。
5400+
*/
5401+
"mayNotEffectSomeSituations": string;
53985402
/**
53995403
* 指定した時間を経過しているノート
54005404
*/

locales/ja-JP.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ _accountSettings:
13491349
makeNotesHiddenBefore: "過去のノートを非公開化する"
13501350
makeNotesHiddenBeforeDescription: "この機能が有効になっている間、設定された日時より過去、または設定された時間を経過しているノートが自分のみ表示可能(非公開化)になります。無効に戻すと、ノートの公開状態も元に戻ります。"
13511351
mayNotEffectForFederatedNotes: "リモートサーバーに連合されたノートには効果が及ばない場合があります。"
1352+
mayNotEffectSomeSituations: "これらの制限は簡易的なものです。リモートサーバーでの閲覧やモデレーション時など、一部のシチュエーションでは適用されない場合があります。"
13521353
notesHavePassedSpecifiedPeriod: "指定した時間を経過しているノート"
13531354
notesOlderThanSpecifiedDateAndTime: "指定した日時より前のノート"
13541355

packages/frontend/src/pages/settings/privacy.vue

+3-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ SPDX-License-Identifier: AGPL-3.0-only
123123

124124
<template #caption>
125125
<div><SearchKeyword>{{ i18n.ts._accountSettings.makeNotesFollowersOnlyBeforeDescription }}</SearchKeyword></div>
126-
<div v-if="instance.federation !== 'none'"><i class="ti ti-alert-triangle" style="color: var(--MI_THEME-warn);"></i> {{ i18n.ts._accountSettings.mayNotEffectForFederatedNotes }}</div>
127126
</template>
128127
</FormSlot>
129128
</SearchMarker>
@@ -161,10 +160,11 @@ SPDX-License-Identifier: AGPL-3.0-only
161160

162161
<template #caption>
163162
<div><SearchKeyword>{{ i18n.ts._accountSettings.makeNotesHiddenBeforeDescription }}</SearchKeyword></div>
164-
<div v-if="instance.federation !== 'none'"><i class="ti ti-alert-triangle" style="color: var(--MI_THEME-warn);"></i> {{ i18n.ts._accountSettings.mayNotEffectForFederatedNotes }}</div>
165163
</template>
166164
</FormSlot>
167165
</SearchMarker>
166+
167+
<MkInfo warn>{{ i18n.ts._accountSettings.mayNotEffectSomeSituations }}</MkInfo>
168168
</div>
169169
</FormSection>
170170
</SearchMarker>
@@ -188,6 +188,7 @@ import { formatDateTimeString } from '@/utility/format-time-string.js';
188188
import MkInput from '@/components/MkInput.vue';
189189
import * as os from '@/os.js';
190190
import MkDisableSection from '@/components/MkDisableSection.vue';
191+
import MkInfo from '@/components/MkInfo.vue';
191192

192193
const $i = signinRequired();
193194

packages/frontend/src/utility/autogen/settings-search-index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export const searchIndexes: SearchIndexItem[] = [
253253
keywords: ['follower', i18n.ts._accountSettings.makeNotesFollowersOnlyBeforeDescription],
254254
},
255255
{
256-
id: '2prkeWRSd',
256+
id: 'ebJ9IUbik',
257257
label: i18n.ts._accountSettings.makeNotesHiddenBefore,
258258
keywords: ['hidden', i18n.ts._accountSettings.makeNotesHiddenBeforeDescription],
259259
},

0 commit comments

Comments
 (0)