i18n implemented

This commit is contained in:
2026-10-03 23:45:04 +02:00
parent 2ccea34bb9
commit d95ed40053
55 changed files with 2952 additions and 301 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ function fileIcon(a: CommentAttachment) {
</div>
<template v-if="hasFileAttachments">
<div class="mb-1.5 flex items-center gap-2">
<span class="text-[11px] font-medium uppercase tracking-wider text-muted-foreground">Anhänge</span>
<span class="text-[11px] font-medium uppercase tracking-wider text-muted-foreground">{{ $t('comments.attachments') }}</span>
<Separator class="flex-1" />
</div>
<div class="flex flex-wrap items-center gap-1.5">
@@ -80,7 +80,7 @@ function fileIcon(a: CommentAttachment) {
:key="a.id"
type="button"
class="flex max-w-48 cursor-pointer items-center gap-1.5 rounded-md border bg-muted/50 px-2 py-1 text-xs transition-colors hover:border-primary hover:bg-accent"
:title="`${a.name} abspielen`"
:title="$t('comments.playAttachment', { name: a.name })"
@click.stop="audioAtt = a"
>
<img v-if="a.cover" :src="a.cover" :alt="a.name" class="size-5 shrink-0 rounded-sm object-cover">