diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/navigation/navigation_entry.vue | 2 | ||||
| -rw-r--r-- | src/components/navigation/navigation_pins.vue | 1 | ||||
| -rw-r--r-- | src/i18n/en.json | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/components/navigation/navigation_entry.vue b/src/components/navigation/navigation_entry.vue index c0b405f5..ecd4dc73 100644 --- a/src/components/navigation/navigation_entry.vue +++ b/src/components/navigation/navigation_entry.vue @@ -18,6 +18,8 @@ <button type="button" class="button-unstyled" + :title="$t(isPinned ? 'general.unpin' : 'general.pin' )" + :aria-pressed="!!isPinned" @click.stop.prevent="togglePin(item.name)" > <FAIcon diff --git a/src/components/navigation/navigation_pins.vue b/src/components/navigation/navigation_pins.vue index a46fba7a..5b3fa6f4 100644 --- a/src/components/navigation/navigation_pins.vue +++ b/src/components/navigation/navigation_pins.vue @@ -5,6 +5,7 @@ :key="item.name" class="pinned-item" :to="getRouteTo(item)" + :title="item.labelRaw || $t(item.label)" > <FAIcon v-if="item.icon" diff --git a/src/i18n/en.json b/src/i18n/en.json index b7839a12..68bf883a 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -88,6 +88,8 @@ "admin": "Admin", "moderator": "Moderator" }, + "unpin": "Unpin item", + "pin": "Pin item", "flash_content": "Click to show Flash content using Ruffle (Experimental, may not work).", "flash_security": "Note that this can be potentially dangerous since Flash content is still arbitrary code.", "flash_fail": "Failed to load flash content, see console for details.", |
