feat(i18n): add Ukrainian localization (#882)
This commit is contained in:
parent
efe406df5b
commit
1dcaf41c0f
5 changed files with 448 additions and 4 deletions
|
@ -85,7 +85,7 @@ const buttonStyle = $computed(() => {
|
|||
gap-1 items-center group
|
||||
:disabled="relationship?.requested"
|
||||
border-1
|
||||
rounded-full flex="~ gap2 center" font-500 w-30 h-fit py1
|
||||
rounded-full flex="~ gap2 center" font-500 min-w-30 h-fit px3 py1
|
||||
:class="buttonStyle"
|
||||
:hover="!relationship?.blocking && !relationship?.muting && relationship?.following ? 'border-red text-red' : 'bg-base border-primary text-primary'"
|
||||
@click="relationship?.blocking ? unblock() : relationship?.muting ? unmute() : toggleFollow()"
|
||||
|
|
|
@ -88,7 +88,7 @@ const isSelf = $computed(() => currentUser.value?.account.id === account.id)
|
|||
<NuxtLink
|
||||
v-if="isSelf"
|
||||
to="/settings/profile/appearance"
|
||||
gap-1 items-center border="1" rounded-full flex="~ gap2 center" font-500 w-30 h-fit py1
|
||||
gap-1 items-center border="1" rounded-full flex="~ gap2 center" font-500 min-w-30 h-fit px3 py1
|
||||
hover="border-primary text-primary bg-active"
|
||||
>
|
||||
{{ $t('settings.profile.appearance.title') }}
|
||||
|
|
|
@ -20,11 +20,11 @@ const isMac = useIsMac()
|
|||
// listen to ctrl+/ on windows/linux or cmd+/ on mac
|
||||
// or shift+ctrl+k on windows/linux or shift+cmd+k on mac
|
||||
useEventListener('keydown', (e: KeyboardEvent) => {
|
||||
if (e.key === 'k' && (isMac.value ? e.metaKey : e.ctrlKey)) {
|
||||
if ((e.key === 'k' || e.key === 'л') && (isMac.value ? e.metaKey : e.ctrlKey)) {
|
||||
e.preventDefault()
|
||||
openCommandPanel(e.shiftKey)
|
||||
}
|
||||
if (e.key === '/' && (isMac.value ? e.metaKey : e.ctrlKey)) {
|
||||
if ((e.key === '/' || e.key === ',') && (isMac.value ? e.metaKey : e.ctrlKey)) {
|
||||
e.preventDefault()
|
||||
openCommandPanel(true)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue