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

@ -1,5 +1,6 @@
import { createPlugin } from '@/utils';
import { onRendererLoad, onRendererUnload } from './renderer';
import { t } from '@/i18n';
export type SkipSilencesPluginConfig = {
enabled: boolean;
@ -7,8 +8,8 @@ export type SkipSilencesPluginConfig = {
};
export default createPlugin({
name: 'Skip Silences',
description: 'Automatically skip silenced sections',
name: t('plugins.skip-silences.name'),
description: t('plugins.skip-silences.description'),
restartNeeded: true,
config: {
enabled: false,