This commit is contained in:
syuilo 2025-02-16 19:33:00 +09:00
parent 534a95761b
commit 83fc29f138
3 changed files with 7 additions and 28 deletions

View File

@ -40,7 +40,8 @@ import { instance } from '@/instance.js';
import { definePageMetadata, provideMetadataReceiver, provideReactiveMetadata } from '@/scripts/page-metadata.js'; import { definePageMetadata, provideMetadataReceiver, provideReactiveMetadata } from '@/scripts/page-metadata.js';
import * as os from '@/os.js'; import * as os from '@/os.js';
import { useRouter } from '@/router/supplier.js'; import { useRouter } from '@/router/supplier.js';
import { SETTING_INDEX } from '@/scripts/settings-index.js';
const SETTING_INDEX = 'TODO';
const indexInfo = { const indexInfo = {
title: i18n.ts.settings, title: i18n.ts.settings,

View File

@ -5,7 +5,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<template> <template>
<div class="_gaps_m"> <div class="_gaps_m">
<MkSearchMarker markerId="acbfe8cb-c3c9-4d90-8c62-713025814b2e"> <MkSearchMarker
:locationLabel="[i18n.ts.privacy, i18n.ts.makeFollowManuallyApprove]"
icon="ti ti-lock-open"
:keywords="['follow', 'lock', i18n.ts.lockedAccountInfo]"
>
<MkSwitch v-model="isLocked" @update:modelValue="save()">{{ i18n.ts.makeFollowManuallyApprove }}<template #caption>{{ i18n.ts.lockedAccountInfo }}</template></MkSwitch> <MkSwitch v-model="isLocked" @update:modelValue="save()">{{ i18n.ts.makeFollowManuallyApprove }}<template #caption>{{ i18n.ts.lockedAccountInfo }}</template></MkSwitch>
</MkSearchMarker> </MkSearchMarker>

View File

@ -1,26 +0,0 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { i18n } from '@/i18n.js';
export const SETTING_INDEX = [{
id: '727cc9e8-ad67-474a-9241-b5a9a6475e47',
locationLabel: [i18n.ts.profile, i18n.ts._profile.name],
icon: 'ti ti-user',
keywords: ['name'],
path: '/settings/profile',
}, {
id: '1a06c7f9-e85e-46cb-bf5f-b3efa8e71b93',
locationLabel: [i18n.ts.profile, i18n.ts._profile.description],
icon: 'ti ti-user',
keywords: ['bio'],
path: '/settings/profile',
}, {
id: 'acbfe8cb-c3c9-4d90-8c62-713025814b2e',
locationLabel: [i18n.ts.privacy, i18n.ts.makeFollowManuallyApprove],
icon: 'ti ti-lock-open',
keywords: ['follow', 'lock', i18n.ts.lockedAccountInfo],
path: '/settings/privacy',
}];