Update general.vue

This commit is contained in:
syuilo 2025-02-22 17:04:27 +09:00
parent fc32946530
commit 7a504b0f6e
1 changed files with 113 additions and 46 deletions

View File

@ -66,30 +66,96 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</FormSection>
<MkSearchSection :label="i18n.ts.displayOfNote" :keywords="['note']">
<FormSection>
<template #label>{{ i18n.ts.displayOfNote }}</template>
<div class="_gaps_m">
<div class="_gaps_s">
<MkSearchMarker
:label="i18n.ts.collapseRenotes"
:keywords="['renote', i18n.ts.collapseRenotesDescription]"
>
<MkSwitch v-model="collapseRenotes">
<template #label>{{ i18n.ts.collapseRenotes }}</template>
<template #caption>{{ i18n.ts.collapseRenotesDescription }}</template>
</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.showNoteActionsOnlyHover"
:keywords="['hover', 'show', 'footer', 'action']"
>
<MkSwitch v-model="showNoteActionsOnlyHover">{{ i18n.ts.showNoteActionsOnlyHover }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.showClipButtonInNoteFooter"
:keywords="['footer', 'action', 'clip', 'show']"
>
<MkSwitch v-model="showClipButtonInNoteFooter">{{ i18n.ts.showClipButtonInNoteFooter }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.enableAdvancedMfm"
:keywords="['mfm', 'enable', 'show', 'advanced']"
>
<MkSwitch v-model="advancedMfm">{{ i18n.ts.enableAdvancedMfm }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.enableAnimatedMfm"
:keywords="['mfm', 'enable', 'show', 'animated']"
>
<MkSwitch v-if="advancedMfm" v-model="animatedMfm">{{ i18n.ts.enableAnimatedMfm }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.enableQuickAddMfmFunction"
:keywords="['mfm', 'enable', 'show', 'advanced', 'picker', 'form', 'function', 'fn']"
>
<MkSwitch v-if="advancedMfm" v-model="enableQuickAddMfmFunction">{{ i18n.ts.enableQuickAddMfmFunction }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.showReactionsCount"
:keywords="['reaction', 'count', 'show']"
>
<MkSwitch v-model="showReactionsCount">{{ i18n.ts.showReactionsCount }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.showGapBetweenNotesInTimeline"
:keywords="['note', 'timeline', 'gap']"
>
<MkSwitch v-model="showGapBetweenNotesInTimeline">{{ i18n.ts.showGapBetweenNotesInTimeline }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.loadRawImages"
:keywords="['image', 'photo', 'picture', 'thumbnail', 'quality', 'raw', 'attachment']"
>
<MkSwitch v-model="loadRawImages">{{ i18n.ts.loadRawImages }}</MkSwitch>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.reactionsDisplaySize"
:keywords="['reaction', 'size', 'scale', 'display']"
>
<MkRadios v-model="reactionsDisplaySize">
<template #label>{{ i18n.ts.reactionsDisplaySize }}</template>
<option value="small">{{ i18n.ts.small }}</option>
<option value="medium">{{ i18n.ts.medium }}</option>
<option value="large">{{ i18n.ts.large }}</option>
</MkRadios>
</MkSearchMarker>
<MkSearchMarker
:label="i18n.ts.limitWidthOfReaction"
:keywords="['reaction', 'size', 'scale', 'display', 'width', 'limit']"
>
<MkSwitch v-model="limitWidthOfReaction">{{ i18n.ts.limitWidthOfReaction }}</MkSwitch>
</MkSearchMarker>
</div>
<MkSelect v-if="instance.federation !== 'none'" v-model="instanceTicker">
@ -115,6 +181,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkRadios>
</div>
</FormSection>
</MkSearchSection>
<FormSection>
<template #label>{{ i18n.ts.notificationDisplay }}</template>