mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-22 17:34:14 +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:
@@ -61,16 +61,19 @@ import * as sound from '@/utility/sound.js';
|
||||
import { deepClone } from '@/utility/clone.js';
|
||||
import { prefer } from '@/preferences.js';
|
||||
import { genId } from '@/utility/id.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
|
||||
const name = 'jobQueue';
|
||||
|
||||
const widgetPropsDef = {
|
||||
transparent: {
|
||||
type: 'boolean',
|
||||
label: i18n.ts._widgetOptions.transparent,
|
||||
default: false,
|
||||
},
|
||||
sound: {
|
||||
type: 'boolean',
|
||||
label: i18n.ts._widgetOptions._jobQueue.sound,
|
||||
default: false,
|
||||
},
|
||||
} satisfies FormWithDefault;
|
||||
|
||||
Reference in New Issue
Block a user