mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
Improved compatibility
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { createPlugin } from '@/utils';
|
||||
import backend from './backend';
|
||||
import { t } from '@/i18n';
|
||||
import { APPLICATION_NAME, t } from '@/i18n';
|
||||
|
||||
export interface MusicWidgetConfig {
|
||||
enabled: boolean;
|
||||
@ -12,7 +12,10 @@ export const defaultConfig: MusicWidgetConfig = {
|
||||
|
||||
export default createPlugin({
|
||||
name: () => t('plugins.amuse.name'),
|
||||
description: () => t('plugins.amuse.description'),
|
||||
description: () =>
|
||||
t('plugins.amuse.description', {
|
||||
applicationName: APPLICATION_NAME,
|
||||
}),
|
||||
addedVersion: '3.7.X',
|
||||
restartNeeded: true,
|
||||
config: defaultConfig,
|
||||
|
||||
Reference in New Issue
Block a user