mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 03:41:46 +00:00
fix(synced-lyrics): fix i18n
This commit is contained in:
@ -1,12 +1,11 @@
|
||||
import style from './style.css?inline';
|
||||
import { createPlugin } from '@/utils';
|
||||
|
||||
import { SyncedLyricsPluginConfig } from './types';
|
||||
import { t } from '@/i18n';
|
||||
|
||||
import { menu } from './menu';
|
||||
import { renderer } from './renderer';
|
||||
|
||||
import { t } from '@/i18n';
|
||||
import type { SyncedLyricsPluginConfig } from './types';
|
||||
|
||||
export default createPlugin({
|
||||
name: () => t('plugins.synced-lyrics.name'),
|
||||
@ -15,12 +14,13 @@ export default createPlugin({
|
||||
restartNeeded: true,
|
||||
addedVersion: '3.5.X',
|
||||
config: {
|
||||
enabled: false,
|
||||
preciseTiming: true,
|
||||
showLyricsEvenIfInexact: true,
|
||||
showTimeCodes: false,
|
||||
defaultTextString: '♪',
|
||||
lineEffect: 'scale',
|
||||
} as SyncedLyricsPluginConfig,
|
||||
} satisfies SyncedLyricsPluginConfig,
|
||||
|
||||
menu,
|
||||
renderer,
|
||||
|
||||
Reference in New Issue
Block a user