fix wrong translation (#20727)

This commit is contained in:
Benny Joo authored and GitHub committed 2025-04-16 15:37:21 +00:00
1 parent 7ef1050946
commit 398ad22868
3 files changed
+9 -4

No files matched your search

@@ -28,7 +28,10 @@ const TimezoneChangeDialogContent = () => {
const formattedCurrentTz = CURRENT_TIMEZONE.replace("_", " ");
const onMutationSuccess = async () => {
showToast(t("updated_timezone_to", { formattedCurrentTz }), "success");
showToast(
t("updated_timezone_to", { formattedCurrentTz, interpolation: { escapeValue: false } }),
"success"
);
await utils.viewer.me.invalidate();
};
@@ -52,7 +55,10 @@ const TimezoneChangeDialogContent = () => {
<>
<DialogHeader
title={t("update_timezone_question")}
subtitle={t("update_timezone_description", { formattedCurrentTz })}
subtitle={t("update_timezone_description", {
formattedCurrentTz,
interpolation: { escapeValue: false },
})}
/>
{/* todo: save this in db and auto-update when timezone changes (be able to disable??? if yes, /settings)
<Checkbox description="Always update timezone" />