1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-01 10:54:22 +02:00

enhance(frontend): ウィジェットの設定項目の多言語対応 (#17032)

* enhance(frontend): ウィジェットの設定項目の多言語対応

* Update Changelog

* refactor: move options locale key to root for optimizing artifacts for locale inlining

* fix

* fix

* ✌️

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
かっこかり
2025-12-30 15:59:18 +09:00
committed by GitHub
parent 4285303c81
commit 97d485bdd2
29 changed files with 262 additions and 18 deletions

View File

@@ -12,6 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup>
import { onMounted, onUnmounted, useTemplateRef } from 'vue';
import { useWidgetPropsManager } from './widget.js';
import { i18n } from '@/i18n.js';
import type { WidgetComponentProps, WidgetComponentEmits, WidgetComponentExpose } from './widget.js';
import type { FormWithDefault, GetFormResultType } from '@/utility/form.js';
@@ -20,6 +21,7 @@ const name = 'ai';
const widgetPropsDef = {
transparent: {
type: 'boolean',
label: i18n.ts._widgetOptions.transparent,
default: false,
},
} satisfies FormWithDefault;