mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 10:54:02 +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:
@@ -15,6 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
import { useWidgetPropsManager } from './widget.js';
|
||||
import type { WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget.js';
|
||||
import type { FormWithDefault, GetFormResultType } from '@/utility/form.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import MkContainer from '@/components/MkContainer.vue';
|
||||
import MkClickerGame from '@/components/MkClickerGame.vue';
|
||||
|
||||
@@ -23,6 +24,7 @@ const name = 'clicker';
|
||||
const widgetPropsDef = {
|
||||
showHeader: {
|
||||
type: 'boolean',
|
||||
label: i18n.ts._widgetOptions.showHeader,
|
||||
default: false,
|
||||
},
|
||||
} satisfies FormWithDefault;
|
||||
|
||||
Reference in New Issue
Block a user