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

@ -4,6 +4,7 @@ import is from 'electron-is';
import { createPlugin } from '@/utils';
import registerCallback from '@/providers/song-info';
import { t } from '@/i18n';
interface Data {
album: string | null | undefined;
@ -18,8 +19,8 @@ interface Data {
}
export default createPlugin({
name: 'Tuna OBS',
description: "Integration with OBS's plugin Tuna",
name: t('plugins.tuna-obs.name'),
description: t('plugins.tuna-obs.description'),
restartNeeded: true,
config: {
enabled: false,