sidebar tooltop translation

This commit is contained in:
Jannik Streidl 2024-03-04 14:53:34 +01:00
parent ec8f229f5a
commit 4d67dd977d
4 changed files with 15 additions and 2 deletions

View file

@ -707,7 +707,11 @@
<div
class="fixed left-0 top-[50dvh] z-40 -translate-y-1/2 transition-transform translate-x-[255px] md:translate-x-[260px] rotate-0"
>
<Tooltip placement="right" content={`${show ? 'Close' : 'Open'} sidebar`} touch={false}>
<Tooltip
placement="right"
content={`${show ? $i18n.t('Close') : $i18n.t('Open')} ${$i18n.t('sidebar')}`}
touch={false}
>
<button
id="sidebar-toggle-button"
class=" group"