mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
i18n改用json格式
This commit is contained in:
1 parent
ffd7a38b35
commit
0bc9c88af2
18 files changed
+211
-184
No files matched your search
@@ -2,6 +2,7 @@ import screenfull from 'screenfull';
|
||||
|
||||
export default function fullscreenMix(art, player) {
|
||||
const {
|
||||
i18n,
|
||||
notice,
|
||||
events: { destroyEvents },
|
||||
template: { $player },
|
||||
@@ -12,7 +13,7 @@ export default function fullscreenMix(art, player) {
|
||||
};
|
||||
|
||||
const screenfullError = () => {
|
||||
notice.show('Your browser does not seem to support full screen functionality.');
|
||||
notice.show(i18n.get('This does not seem to support full screen functionality'));
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user