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
type="button"
class="button-unstyled"
:title="$t(isPinned ? 'general.unpin' : 'general.pin' )"
:aria-pressed="!!isPinned"
@click.stop.prevent="togglePin(item.name)"
>
<FAIcon

View file

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

View file

@ -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.",