This commit is contained in:
Henry Jameson 2022-08-24 20:24:08 +03:00
parent 8dceffa8d7
commit cf714c2756
3 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,8 @@
<button <button
type="button" type="button"
class="button-unstyled" class="button-unstyled"
:title="$t(isPinned ? 'general.unpin' : 'general.pin' )"
:aria-pressed="!!isPinned"
@click.stop.prevent="togglePin(item.name)" @click.stop.prevent="togglePin(item.name)"
> >
<FAIcon <FAIcon

View File

@ -5,6 +5,7 @@
:key="item.name" :key="item.name"
class="pinned-item" class="pinned-item"
:to="getRouteTo(item)" :to="getRouteTo(item)"
:title="item.labelRaw || $t(item.label)"
> >
<FAIcon <FAIcon
v-if="item.icon" v-if="item.icon"

View File

@ -88,6 +88,8 @@
"admin": "Admin", "admin": "Admin",
"moderator": "Moderator" "moderator": "Moderator"
}, },
"unpin": "Unpin item",
"pin": "Pin item",
"flash_content": "Click to show Flash content using Ruffle (Experimental, may not work).", "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_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.", "flash_fail": "Failed to load flash content, see console for details.",