add text flavor

This commit is contained in:
Fairy-Phy 2023-11-11 02:53:51 +09:00
parent 8eb5f4957c
commit c9edfc6124
No known key found for this signature in database
GPG Key ID: 53E58673D5961DB5
3 changed files with 19 additions and 8 deletions

6
locales/index.d.ts vendored
View File

@ -1161,6 +1161,12 @@ export interface Locale {
"signupPendingError": string;
"cwNotationRequired": string;
"doReaction": string;
"pluginSyncSettings": string;
"pluginSyncSettingsInfo": string;
"duplicateSyncedPlugin": string;
"overrideSourceCodeOnly": string;
"syncSetting": string;
"syncing": string;
"_announcement": {
"forExistingUsers": string;
"forExistingUsersDescription": string;

View File

@ -1158,6 +1158,12 @@ useGroupedNotifications: "通知をグルーピングして表示する"
signupPendingError: "メールアドレスの確認中に問題が発生しました。リンクの有効期限が切れている可能性があります。"
cwNotationRequired: "「内容を隠す」がオンの場合は注釈の記述が必要です。"
doReaction: "リアクションする"
pluginSyncSettings: "プラグインの同期設定"
pluginSyncSettingsInfo: "このプラグインをローカルのみにインストールするか他端末と同期するかを選択できます。"
duplicateSyncedPlugin: "このプラグインは同期されているプラグインと重複しています。"
overrideSourceCodeOnly: "コードのみを上書きする"
syncSetting: "同期設定"
syncing: "他端末と同期"
_announcement:
forExistingUsers: "既存ユーザーのみ"

View File

@ -15,22 +15,22 @@ SPDX-License-Identifier: AGPL-3.0-only
@closed="$emit('closed')"
@ok="ok()"
>
<template #header>{{ 'プラグインの共有設定' }}</template>
<template #header>{{ i18n.ts.pluginSyncSettings }}</template>
<MkSpacer :marginMin="20" :marginMax="28">
<div class="_gaps_m">
<div>
<MkInfo>{{ 'このプラグインをローカルのみにインストールするか他端末と同期するかを選択できます。' }}</MkInfo>
<MkInfo>{{ i18n.ts.pluginSyncSettingsInfo }}</MkInfo>
</div>
<div v-if="isExistsFromAccount && localOrAccount === 'account'">
<MkInfo warn>{{ 'このプラグインは同期されているプラグインと重複しています。' }}</MkInfo>
<MkSwitch v-model="pluginOnlyOverride" :class="$style.switch">{{ 'コードのみを上書きする' }}</MkSwitch>
<MkInfo warn>{{ i18n.ts.duplicateSyncedPlugin }}</MkInfo>
<MkSwitch v-model="pluginOnlyOverride" :class="$style.switch">{{ i18n.ts.overrideSourceCodeOnly }}</MkSwitch>
</div>
<div>
<MkSelect v-model="localOrAccount">
<template #label>{{ '共有設定' }}</template>
<option value="local">{{ 'ローカルのみ' }}</option>
<option value="account">{{ '他端末で同期' }}</option>
<template #label>{{ i18n.ts.syncSetting }}</template>
<option value="local">{{ i18n.ts.localOnly }}</option>
<option value="account">{{ i18n.ts.syncing }}</option>
</MkSelect>
</div>
</div>
@ -40,7 +40,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup>
import { } from 'vue';
import * as Misskey from 'misskey-js';
import MkSwitch from './MkSwitch.vue';
import MkSelect from './MkSelect.vue';
import MkInfo from './MkInfo.vue';