feat: add support i18n (#1468)

This commit is contained in:
JellyBrick
2023-12-01 01:30:46 +09:00
committed by GitHub
parent 7f71c36dc0
commit 7401cf69ad
65 changed files with 1226 additions and 303 deletions

View File

@ -3,13 +3,13 @@ import { FastAverageColor } from 'fast-average-color';
import style from './style.css?inline';
import { createPlugin } from '@/utils';
import { t } from '@/i18n';
import type { VideoDataChanged } from '@/types/video-data-changed';
export default createPlugin({
name: 'Album Color Theme',
description:
'Applies a dynamic theme and visual effects based on the album color palette',
name: t('plugins.album-color-theme.name'),
description: t('plugins.album-color-theme.description'),
restartNeeded: true,
config: {
enabled: false,