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

4
src/reset.d.ts vendored
View File

@ -5,6 +5,7 @@ import type is from 'electron-is';
import type config from './config';
import type { VideoDataChanged } from '@/types/video-data-changed';
import type { t } from '@/i18n';
declare global {
interface Compressor {
@ -30,6 +31,9 @@ declare global {
download: () => void;
togglePictureInPicture: () => void;
reload: () => void;
i18n: {
t: typeof t,
}
}
}