This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent 2d57f6d6d1
commit fd8e763ae6
28 files changed
+135 -165

No files matched your search

+1 -1
View File
@@ -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'));
});
},
});
+2 -2
View File
@@ -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'));
});
},
});
+2 -2
View File
@@ -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'));
});
},
});
+2 -2
View File
@@ -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'));
});
},
});