fix(i18n): localize helper defaults
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user