Your account has been created, but your premium has not been reserved.
- )}
+ {hasPaymentFailed &&
{t("account_created_premium_not_reserved")}
}
- We have sent an email to {customer?.email} with a link to activate your account.{" "}
- {hasPaymentFailed &&
- "Once you activate your account you will be able to try purchase your premium username again or select a different one."}
+ {t("email_sent_with_activation_link", { email: customer?.email })}{" "}
+ {hasPaymentFailed && t("activate_account_to_purchase_username")}
-
Don’t seen an email?
+
{t("dont_see_email")}
diff --git a/apps/web/modules/maintenance/maintenance-view.tsx b/apps/web/modules/maintenance/maintenance-view.tsx
index e1a7116123..c993ffc5fa 100644
--- a/apps/web/modules/maintenance/maintenance-view.tsx
+++ b/apps/web/modules/maintenance/maintenance-view.tsx
@@ -1,18 +1,17 @@
"use client";
import { WEBSITE_URL } from "@calcom/lib/constants";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
import { Button } from "@calcom/ui/components/button";
export default function MaintenancePage() {
+ const { t } = useLocale();
return (
-
Down for maintenance
-
- The Cal.com team are performing scheduled maintenance. If you have any questions, please contact
- support.
-
-
+
{t("down_for_maintenance")}
+
{t("maintenance_message")}
+
);
diff --git a/apps/web/modules/settings/admin/components/UsersTable.tsx b/apps/web/modules/settings/admin/components/UsersTable.tsx
index aa3cf71a3c..d4dd2d32d9 100644
--- a/apps/web/modules/settings/admin/components/UsersTable.tsx
+++ b/apps/web/modules/settings/admin/components/UsersTable.tsx
@@ -1,5 +1,6 @@
import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage";
import { getUserAvatarUrl } from "@calcom/lib/getAvatarUrl";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
import { SMSLockState } from "@calcom/prisma/client";
import { trpc } from "@calcom/trpc/react";
import { Avatar } from "@calcom/ui/components/avatar";
@@ -51,6 +52,7 @@ const LockStatusTable = ({
teams?: Team[];
setSMSLockState: (param: { userId?: number; teamId?: number; lock: boolean }) => void;
}) => {
+ const { t } = useLocale();
function getActions({ user, team }: { user?: User; team?: Team }) {
const smsLockState = user?.smsLockState ?? team?.smsLockState;
if (!smsLockState) return [];
@@ -89,10 +91,10 @@ const LockStatusTable = ({
<>
- User/Team
- Status
+ {t("user_team")}
+ {t("status")}
- Edit
+ {t("edit")}
diff --git a/apps/web/modules/settings/admin/oauth-view.tsx b/apps/web/modules/settings/admin/oauth-view.tsx
index 1ebae2efe3..5e0575936a 100644
--- a/apps/web/modules/settings/admin/oauth-view.tsx
+++ b/apps/web/modules/settings/admin/oauth-view.tsx
@@ -5,12 +5,12 @@ import { useForm } from "react-hook-form";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { trpc } from "@calcom/trpc";
-import { ImageUploader } from "@calcom/ui/components/image-uploader";
import { Avatar } from "@calcom/ui/components/avatar";
import { Button } from "@calcom/ui/components/button";
import { Form } from "@calcom/ui/components/form";
import { TextField } from "@calcom/ui/components/form";
import { Icon } from "@calcom/ui/components/icon";
+import { ImageUploader } from "@calcom/ui/components/image-uploader";
import { showToast } from "@calcom/ui/components/toast";
import { Tooltip } from "@calcom/ui/components/tooltip";
@@ -95,7 +95,7 @@ export default function OAuthView() {
) : (
;
if (isPlatformUser && isPaidUser) {
return (
diff --git a/apps/web/modules/settings/platform/plans/platform-plans-view.tsx b/apps/web/modules/settings/platform/plans/platform-plans-view.tsx
index 4f08fcf037..77605eea08 100644
--- a/apps/web/modules/settings/platform/plans/platform-plans-view.tsx
+++ b/apps/web/modules/settings/platform/plans/platform-plans-view.tsx
@@ -1,17 +1,19 @@
"use client";
import Shell from "@calcom/features/shell/Shell";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
import NoPlatformPlan from "@components/settings/platform/dashboard/NoPlatformPlan";
import { useGetUserAttributes } from "@components/settings/platform/hooks/useGetUserAttributes";
import { PlatformPricing } from "@components/settings/platform/pricing/platform-pricing";
export default function PlatformPlans() {
+ const { t } = useLocale();
const { isUserLoading, isUserBillingDataLoading, isPlatformUser, isPaidUser, userBillingData, userOrgId } =
useGetUserAttributes();
if (isUserLoading || (isUserBillingDataLoading && !userBillingData)) {
- return
Loading...
;
+ return
{t("loading")}
;
}
if (!isPlatformUser) return ;
@@ -23,8 +25,10 @@ export default function PlatformPlans() {
isPlatformUser={true}
heading={
- You are currently subscribed to {userBillingData?.plan[0]}
- {userBillingData?.plan.slice(1).toLocaleLowerCase()} plan
+ {t("currently_subscribed_to_plan", {
+ planFirstLetter: userBillingData?.plan[0],
+ planRest: userBillingData?.plan.slice(1).toLocaleLowerCase(),
+ })}
;
+ if (isUserLoading || isOAuthClientLoading) return
{t("loading")}
;
if (isUserBillingDataLoading && !userBillingData) {
- return
Loading...
;
+ return
{t("loading")}
;
}
if (isPlatformUser && !isPaidUser)
@@ -56,7 +56,7 @@ export default function Platform() {
teamId={userOrgId}
heading={
-
Subscribe to Platform
+
{t("subscribe_to_platform")}
}
/>
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index 681492edf4..b998bf38c8 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -3080,5 +3080,34 @@
"disable_delegation_credential_description": "Once delegation credential is disabled, organization members who haven’t connected their calendars will need to do so manually.",
"salesforce_on_cancel_write_to_event": "On cancelled booking, write to event record instead of deleting event",
"salesforce_on_every_cancellation": "On every cancellation",
+ "this_is_your_current_plan": "This is your current plan",
+ "per_month": "per month",
+ "schedule_a_time": "Schedule a time",
+ "this_includes": "This includes:",
+ "oauth_client_updated_successfully": "OAuth client updated successfully",
+ "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": " / ",
+ "webhook_update_failed": "Failed to update webhook.",
+ "webhook_create_failed": "Failed to create webhook.",
+ "invalid_link": "Invalid Link",
+ "currently_subscribed_to_plan": "You are currently subscribed to {{planFirstLetter}}{{planRest}} plan",
+ "user_team": "User/Team",
+ "client_id_copied": "Client ID copied!",
+ "client_secret_copied": "Client secret copied!",
+ "down_for_maintenance": "Down for maintenance",
+ "maintenance_message": "The Cal.com team are performing scheduled maintenance. If you have any questions, please contact support.",
+ "your_payment_failed": "Your payment failed",
+ "payment_successful": "Payment successful!",
+ "check_your_inbox": "Check your Inbox",
+ "account_created_premium_not_reserved": "Your account has been created, but your premium has not been reserved.",
+ "email_sent_with_activation_link": "We have sent an email to {{email}} with a link to activate your account.",
+ "activate_account_to_purchase_username": "Once you activate your account you will be able to try purchase your premium username again or select a different one.",
+ "open_in_gmail": "Open in Gmail",
+ "dont_see_email": "Don't seen an email?",
+ "resend_in_seconds": "Resend in {{seconds}} seconds",
+ "resend": "Resend",
+ "verification_email_sent": "Verification email sent",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
}