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

+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'));
});
},
});