fix(i18n): localize helper defaults

This commit is contained in:
cesnimda
2026-08-29 23:51:01 +02:00
parent 65c6cfb332
commit 5c3ed28766
6 changed files with 13 additions and 3 deletions
@@ -603,7 +603,7 @@ export default function Correspondence({ jobId, jobContext }: { jobId: number; j
{importTab === 0 ? (
<>
<Typography sx={{ color: "text.secondary", mb: 1 }}>{t("correspondencePasteEmailHelp")}</Typography>
<TextField multiline minRows={10} fullWidth value={rawEmail} onChange={(e) => setRawEmail(e.target.value)} placeholder={"Subject: ...\nDate: ...\nFrom: ...\nTo: ...\n\nBody..."} />
<TextField multiline minRows={10} fullWidth value={rawEmail} onChange={(e) => setRawEmail(e.target.value)} placeholder={t("correspondencePasteEmailPlaceholder")} />
</>
) : (
<Box sx={{ display: "flex", flexDirection: "column", gap: 2 }}>
@@ -188,7 +188,7 @@ export default function CropImageDialog({
<img
ref={imgRef}
src={imageUrl}
alt="Crop preview"
alt={t("cropDialogPreviewAlt")}
onLoad={(e) => {
const target = e.currentTarget;
setImageSize({ width: target.naturalWidth, height: target.naturalHeight });