diff --git a/src/components/StatusBar.vue b/src/components/StatusBar.vue index 42c3fed..2320f52 100644 --- a/src/components/StatusBar.vue +++ b/src/components/StatusBar.vue @@ -38,6 +38,18 @@ const lang = LANGUAGE_MAP[this.language] return !!lang ? lang.supportsFormat : false }, + + cmdKey() { + return window.heynote.platform.isMac ? "⌘" : "Ctrl" + }, + + formatBlockTitle() { + return `Format Block Content (Alt + Shift + F)` + }, + + changeLanguageTitle() { + return `Change language for current block (${this.cmdKey} + L)` + }, }, } @@ -55,7 +67,7 @@
{{ languageName }} (auto) @@ -64,7 +76,7 @@ v-if="supportsFormat" @click="$emit('formatCurrentBlock')" class="status-block format clickable" - title="Format Block Content" + :title="formatBlockTitle" >