fix wrong translation (#20727)

This commit is contained in:
Benny Joo
2025-04-16 15:37:21 +00:00
committed by GitHub
parent 7ef1050946
commit 398ad22868
3 changed files with 9 additions and 4 deletions
@@ -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>
)}
@@ -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",
@@ -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" />