mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 12:41:20 -08:00
优化i18n
This commit is contained in:
1 parent
135b1b7536
commit
283baaa68f
4 files changed
+1658
-2067
No files matched your search
@@ -22,7 +22,7 @@ export default function playbackRateMix(art, player) {
|
||||
|
||||
$video.playbackRate = rate;
|
||||
$player.dataset.playbackRate = rate;
|
||||
notice.show(`${i18n.get('Rate')}: ${rate}x`);
|
||||
notice.show(`${i18n.get('Rate')}: ${rate === 1.0 ? i18n.get('Normal') : `${rate}x`}`);
|
||||
art.emit('playbackRateChange', rate);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user