Skip to content

Scheduling infrastructure for absolutely everyone.

fix wrong translation (#20727)

Benny Joo398ad2286817
diff --git a/apps/web/modules/apps/categories/[category]/category-view.tsx b/apps/web/modules/apps/categories/[category]/category-view.tsx
index 1ccd2e88053..7631b0ee2a5 100644
--- a/apps/web/modules/apps/categories/[category]/category-view.tsx
+++ b/apps/web/modules/apps/categories/[category]/category-view.tsx
@@ -29,7 +29,7 @@ export default function Apps({ apps, category }: CategoryDataProps) {
</Link>
{category && (
<span className="text-default gap-1">
- <span>{t("slash_separator")}</span>
+ <span>&nbsp;/&nbsp;</span>
{t("category_apps", { category: category[0].toUpperCase() + category?.slice(1) })}
</span>
)}
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index 4134e920121..3a76843e70d 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -3104,7 +3104,6 @@
"oauth_client_not_found": "OAuth Client not found.",
"subscribe_to_platform": "Subscribe to Platform",
"error_accessing_webhooks": "Error while trying to access webhooks.",
- "slash_separator": "&nbsp;/&nbsp;",
"webhook_update_failed": "Failed to update webhook.",
"webhook_create_failed": "Failed to create webhook.",
"invalid_link": "Invalid Link",
diff --git a/packages/features/settings/TimezoneChangeDialog.tsx b/packages/features/settings/TimezoneChangeDialog.tsx
index b42e8c09ae8..090c7659831 100644
--- a/packages/features/settings/TimezoneChangeDialog.tsx
+++ b/packages/features/settings/TimezoneChangeDialog.tsx
@@ -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" />