Improved compatibility

This commit is contained in:
JellyBrick
2025-12-20 21:57:47 +09:00
parent 29736f480d
commit 696ff0fc7a
75 changed files with 415 additions and 375 deletions

View File

@ -1,5 +1,5 @@
import { createPlugin } from '@/utils';
import { t } from '@/i18n';
import { APPLICATION_NAME, t } from '@/i18n';
import backend from './back';
import renderer, {
@ -22,7 +22,10 @@ export default createPlugin<
CaptionsSelectorConfig
>({
name: () => t('plugins.captions-selector.name'),
description: () => t('plugins.captions-selector.description'),
description: () =>
t('plugins.captions-selector.description', {
applicationName: APPLICATION_NAME,
}),
config: {
enabled: false,
disableCaptions: false,