mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
update
This commit is contained in:
1 parent
2d57f6d6d1
commit
fd8e763ae6
28 files changed
+135
-165
No files matched your search
@@ -18,7 +18,7 @@ export default function fullscreen(option) {
|
||||
});
|
||||
|
||||
art.on('fullscreen', (value) => {
|
||||
tooltip($control, i18n.get(value ? 'Exit fullscreen' : 'Fullscreen'));
|
||||
tooltip($control, i18n.get(value ? 'Exit Fullscreen' : 'Fullscreen'));
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,7 +3,7 @@ import { append, tooltip } from '../utils';
|
||||
export default function fullscreenWeb(option) {
|
||||
return (art) => ({
|
||||
...option,
|
||||
tooltip: art.i18n.get('Web fullscreen'),
|
||||
tooltip: art.i18n.get('Web Fullscreen'),
|
||||
mounted: ($control) => {
|
||||
const {
|
||||
events: { proxy },
|
||||
@@ -18,7 +18,7 @@ export default function fullscreenWeb(option) {
|
||||
});
|
||||
|
||||
art.on('fullscreenWeb', (value) => {
|
||||
tooltip($control, i18n.get(value ? 'Exit web fullscreen' : 'Web fullscreen'));
|
||||
tooltip($control, i18n.get(value ? 'Exit Web Fullscreen' : 'Web Fullscreen'));
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,7 +3,7 @@ import { append, tooltip } from '../utils';
|
||||
export default function pip(option) {
|
||||
return (art) => ({
|
||||
...option,
|
||||
tooltip: art.i18n.get('PIP mode'),
|
||||
tooltip: art.i18n.get('PIP Mode'),
|
||||
mounted: ($control) => {
|
||||
const {
|
||||
events: { proxy },
|
||||
@@ -18,7 +18,7 @@ export default function pip(option) {
|
||||
});
|
||||
|
||||
art.on('pip', (value) => {
|
||||
tooltip($control, i18n.get(value ? 'Exit PIP mode' : 'PIP mode'));
|
||||
tooltip($control, i18n.get(value ? 'Exit PIP Mode' : 'PIP Mode'));
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,7 +3,7 @@ import { append, tooltip } from '../utils';
|
||||
export default function setting(option) {
|
||||
return art => ({
|
||||
...option,
|
||||
tooltip: art.i18n.get('Show setting'),
|
||||
tooltip: art.i18n.get('Show Setting'),
|
||||
mounted: $control => {
|
||||
const {
|
||||
events: { proxy },
|
||||
@@ -19,7 +19,7 @@ export default function setting(option) {
|
||||
});
|
||||
|
||||
art.on('setting', value => {
|
||||
tooltip($control, i18n.get(value ? 'Hide setting' : 'Show setting'));
|
||||
tooltip($control, i18n.get(value ? 'Hide Setting' : 'Show Setting'));
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,7 +3,7 @@ import { append, tooltip } from '../utils';
|
||||
export default function subtitle(option) {
|
||||
return art => ({
|
||||
...option,
|
||||
tooltip: art.i18n.get('Hide subtitle'),
|
||||
tooltip: art.i18n.get('Hide Subtitle'),
|
||||
mounted: $control => {
|
||||
const {
|
||||
events: { proxy },
|
||||
@@ -19,7 +19,7 @@ export default function subtitle(option) {
|
||||
});
|
||||
|
||||
art.on('subtitle', value => {
|
||||
tooltip($control, i18n.get(value ? 'Hide subtitle' : 'Show subtitle'));
|
||||
tooltip($control, i18n.get(value ? 'Hide Subtitle' : 'Show Subtitle'));
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user