mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Add tooltip to locale switch menu
This commit is contained in:
parent
28505a5b18
commit
26b90fce47
@ -2,7 +2,15 @@
|
|||||||
<client-only>
|
<client-only>
|
||||||
<dropdown ref="menu" :placement="placement" :offset="offset">
|
<dropdown ref="menu" :placement="placement" :offset="offset">
|
||||||
<template #default="{ toggleMenu }">
|
<template #default="{ toggleMenu }">
|
||||||
<a class="locale-menu" href="#" @click.prevent="toggleMenu()">
|
<a
|
||||||
|
class="locale-menu"
|
||||||
|
href="#"
|
||||||
|
v-tooltip="{
|
||||||
|
content: $t('localeSwitch.tooltip'),
|
||||||
|
placement: 'bottom-start',
|
||||||
|
}"
|
||||||
|
@click.prevent="toggleMenu()"
|
||||||
|
>
|
||||||
<!-- <base-icon name="globe" /> -->
|
<!-- <base-icon name="globe" /> -->
|
||||||
<span class="label">{{ current.code.toUpperCase() }}</span>
|
<span class="label">{{ current.code.toUpperCase() }}</span>
|
||||||
<base-icon class="dropdown-arrow" name="angle-down" />
|
<base-icon class="dropdown-arrow" name="angle-down" />
|
||||||
|
|||||||
@ -530,6 +530,9 @@
|
|||||||
"not-available": "Du hast keinen Einladungscode zur Verfügung!",
|
"not-available": "Du hast keinen Einladungscode zur Verfügung!",
|
||||||
"your-code": "Sende diesen Link per E-Mail oder in sozialen Medien, um deine Freunde einzuladen:"
|
"your-code": "Sende diesen Link per E-Mail oder in sozialen Medien, um deine Freunde einzuladen:"
|
||||||
},
|
},
|
||||||
|
"localeSwitch": {
|
||||||
|
"tooltip": "Sprache wählen"
|
||||||
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"email": "Deine E-Mail",
|
"email": "Deine E-Mail",
|
||||||
"failure": "Fehlerhafte E-Mail-Adresse oder Passwort.",
|
"failure": "Fehlerhafte E-Mail-Adresse oder Passwort.",
|
||||||
|
|||||||
@ -530,6 +530,9 @@
|
|||||||
"not-available": "You have no valid invite code available!",
|
"not-available": "You have no valid invite code available!",
|
||||||
"your-code": "Send this link per e-mail or in social media to invite your friends:"
|
"your-code": "Send this link per e-mail or in social media to invite your friends:"
|
||||||
},
|
},
|
||||||
|
"localeSwitch": {
|
||||||
|
"tooltip": "Choose language"
|
||||||
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"email": "Your E-mail",
|
"email": "Your E-mail",
|
||||||
"failure": "Incorrect email address or password.",
|
"failure": "Incorrect email address or password.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user