mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
update i18n
This commit is contained in:
1 parent
042745f001
commit
707df15b2d
12 files changed
+35
-74
No files matched your search
@@ -48,17 +48,6 @@ export default function subtitleOffset(art) {
|
||||
const { clamp } = art.constructor.utils;
|
||||
const { setting, notice, template, i18n, player } = art;
|
||||
|
||||
i18n.update({
|
||||
'zh-cn': {
|
||||
'Subtitle offset time': '字幕偏移时间',
|
||||
'No subtitles found': '未发现字幕',
|
||||
},
|
||||
'zh-tw': {
|
||||
'Subtitle offset time': '字幕偏移時間',
|
||||
'No subtitles found': '未發現字幕',
|
||||
},
|
||||
});
|
||||
|
||||
setting.add(settingMix);
|
||||
let cuesCache = [];
|
||||
art.on('subtitle:switch', () => {
|
||||
|
||||
Reference in new issue
Block a user