Scheduling infrastructure for absolutely everyone.
i18n - Translate booking status when empty screen (#1219)
Adrien La1567feb75e3e
diff --git a/pages/bookings/[status].tsx b/pages/bookings/[status].tsxindex fd237910b56..ece1227d76b 100644--- a/pages/bookings/[status].tsx+++ b/pages/bookings/[status].tsx@@ -80,9 +80,9 @@ export default function Bookings() {{query.status === "success" && isEmpty && (<EmptyScreenIcon={CalendarIcon}- headline={t("no_status_bookings_yet", { status: status })}+ headline={t("no_status_bookings_yet", { status: t(status) })}description={t("no_status_bookings_yet_description", {- status: status,+ status: t(status),description: descriptionByStatus[status],})}/>diff --git a/public/static/locales/en/common.json b/public/static/locales/en/common.jsonindex 6c8e40ee626..edea86c3092 100644--- a/public/static/locales/en/common.json+++ b/public/static/locales/en/common.json@@ -564,6 +564,7 @@"not_installed": "Not installed","error_password_mismatch": "Passwords don't match.","error_required_field": "This field is required.",+ "status": "Status","team_view_user_availability": "View user availability","team_view_user_availability_disabled": "User needs to accept invite to view availability"}diff --git a/public/static/locales/fr/common.json b/public/static/locales/fr/common.jsonindex 4fe1e3b42f7..d4b32af29d5 100644--- a/public/static/locales/fr/common.json+++ b/public/static/locales/fr/common.json@@ -564,6 +564,7 @@"not_installed": "Non installé","error_password_mismatch": "Les mots de passe ne correspondent pas.","error_required_field": "Ce champ est requis.",+ "status": "Statut","team_view_user_availability": "View user availability","team_view_user_availability_disabled": "User needs to accept invite to view availability"}