diff --git a/.changeset/34221-unpaid-org-limit-refusal.md b/.changeset/34221-unpaid-org-limit-refusal.md
new file mode 100644
index 00000000000..73f1339b34b
--- /dev/null
+++ b/.changeset/34221-unpaid-org-limit-refusal.md
@@ -0,0 +1,17 @@
+---
+'@object-ui/app-shell': patch
+'@object-ui/i18n': patch
+'@object-ui/console': patch
+---
+
+feat(console): the create-workspace dialog shows the unpaid-organization limit refusal and its next step
+
+Clause-②: yes (widening) — `@object-ui/i18n` gains `organization.errors.unpaidOrganizationLimitReached` and `organization.viewPlans` in every locale
+Metadata-protocol: none
+
+The hosted control plane refuses a create past its cap on free organizations with 403 `UNPAID_ORGANIZATION_LIMIT_REACHED`. The body carries a sentence in the request's language (`message` and `userMessage`) and `details.next_step`, either `upgrade_to_team` or `contact_support`. The create-workspace dialog now recognizes this code:
+
+- It shows the control plane's own `userMessage`, which names the next step. A refusal that arrives without one shows the console's sentence instead (new key `organization.errors.unpaidOrganizationLimitReached`, in all eleven console locales). That sentence names no number and no plan.
+- When the next step is `upgrade_to_team` and the host serves its upgrade entry (`upgradeUrl` on `/api/v1/runtime/config`), the dialog also shows a link to it (new key `organization.viewPlans`). The console never builds that address itself. If the host serves no entry, no link is shown and the sentence alone gives the step. A `contact_support` step shows no link, because the sentence already names the contact address.
+
+better-auth's own organization-limit refusal (`YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS`) and every other code behave as before. Nothing to migrate.
diff --git a/ui/packages/app-shell/src/console/organizations/CreateWorkspaceDialog.tsx b/ui/packages/app-shell/src/console/organizations/CreateWorkspaceDialog.tsx
index 36a20698b26..4118eb1ec9b 100644
--- a/ui/packages/app-shell/src/console/organizations/CreateWorkspaceDialog.tsx
+++ b/ui/packages/app-shell/src/console/organizations/CreateWorkspaceDialog.tsx
@@ -21,6 +21,14 @@
* words are the host's, never the console's (ADR-0060: the console draws a
* generic block and names no product).
*
+ * A create refused past the hosted control plane's cap on free organizations
+ * (`UNPAID_ORGANIZATION_LIMIT_REACHED`) shows the control plane's own sentence,
+ * which names the next step. When that step is upgrading one of the account's
+ * Free organizations and the host serves its upgrade entry
+ * (`getUpgradeUrl()`), the dialog also draws a link to it. The console never
+ * composes that address: no served entry, no link, and the sentence alone
+ * carries the step.
+ *
* @module
*/
@@ -43,7 +51,8 @@ import type { OrganizationEditionChoice } from '@objectstack/spec/api';
import { useObjectTranslation } from '@object-ui/i18n';
import { Loader2 } from 'lucide-react';
import { provisionProductionEnvironment } from './provisionEnvironment.js';
-import { resolveOrgErrorMessage } from './orgErrorMessage.js';
+import { readOrgCreateNextStep, resolveOrgErrorMessage } from './orgErrorMessage.js';
+import { getUpgradeUrl } from '../../runtime-config.js';
import { emailDomain, isPublicMailboxDomain, registrableLabel } from '../../utils/emailDomain.js';
/**
@@ -211,6 +220,9 @@ export function CreateWorkspaceDialog({
const slug = nameToSlug(name);
const [isSubmitting, setIsSubmitting] = useState(false);
const [error, setError] = useState(null);
+ // The host's upgrade entry, set only for a refusal whose next step is an
+ // upgrade and only when the host serves one.
+ const [upgradeUrl, setUpgradeUrl] = useState(undefined);
// Defense-in-depth: the toolbar button that opens this dialog is already
// hidden when `multiOrgEnabled === false`, but if a future caller opens the
// dialog by another path we still want to fail fast with a friendly message
@@ -247,6 +259,7 @@ export function CreateWorkspaceDialog({
setName(defaultNameRef.current);
setEdition(undefined);
setError(null);
+ setUpgradeUrl(undefined);
}
}, [open]);
@@ -265,6 +278,7 @@ export function CreateWorkspaceDialog({
setIsSubmitting(true);
setError(null);
+ setUpgradeUrl(undefined);
try {
const org = await createWithGeneratedSlug(
@@ -304,6 +318,7 @@ export function CreateWorkspaceDialog({
defaultValue: 'Failed to create organization',
}),
);
+ setUpgradeUrl(readOrgCreateNextStep(err) === 'upgrade_to_team' ? getUpgradeUrl() : undefined);
} finally {
setIsSubmitting(false);
}
@@ -376,6 +391,17 @@ export function CreateWorkspaceDialog({
{error}
)}
+ {error && upgradeUrl && (
+
+ {t('organization.viewPlans', { defaultValue: 'View plans and upgrade' })}
+
+ )}
diff --git a/ui/packages/app-shell/src/console/organizations/__tests__/CreateWorkspaceDialog.test.tsx b/ui/packages/app-shell/src/console/organizations/__tests__/CreateWorkspaceDialog.test.tsx
index 482cc06be6a..e2300f69242 100644
--- a/ui/packages/app-shell/src/console/organizations/__tests__/CreateWorkspaceDialog.test.tsx
+++ b/ui/packages/app-shell/src/console/organizations/__tests__/CreateWorkspaceDialog.test.tsx
@@ -50,6 +50,13 @@ vi.mock('../provisionEnvironment', () => ({
provisionProductionEnvironment: vi.fn(),
}));
+/** The host's served upgrade entry (`getUpgradeUrl()`); `undefined` is a host that serves none. */
+let servedUpgradeUrl: string | undefined;
+vi.mock('../../../runtime-config', async (importOriginal) => ({
+ ...(await importOriginal>()),
+ getUpgradeUrl: () => servedUpgradeUrl,
+}));
+
const createOrganization = vi.fn();
const getAuthConfig = vi.fn();
/** Extra `useAuth()` fields a case sets: `user`, `organizations`, `isOrganizationsLoading`. */
@@ -77,6 +84,7 @@ beforeEach(() => {
browserZone = BROWSER_ZONE;
packLang = null;
authState = {};
+ servedUpgradeUrl = undefined;
zoneReader = vi
.spyOn(Intl.DateTimeFormat.prototype, 'resolvedOptions')
.mockImplementation(function (this: Intl.DateTimeFormat) {
@@ -413,6 +421,74 @@ describe('the organization-limit refusal is shown in the session language (objec
}
});
+describe('the unpaid-organization limit refusal shows its sentence and next step (objectstack#34221)', () => {
+ // The hosted control plane's 403, as `toAuthError` carries it: `code`,
+ // the request-language sentence as `message` and `userMessage`, and
+ // `details.next_step` (cloud#4308).
+ const UPGRADE_URL = 'https://cloud.example.test/billing';
+ const ZH_SENTENCE =
+ '你已拥有 2 个免费组织,每个账号最多 2 个。要再创建组织,请先把其中一个 Free 组织升级到 Team:Team 组织不占这个名额。被邀请加入的组织不计入。';
+ const unpaidRefusal = (nextStep: string, withUserMessage = true) =>
+ Object.assign(new Error(ZH_SENTENCE), {
+ code: 'UNPAID_ORGANIZATION_LIMIT_REACHED',
+ status: 403,
+ ...(withUserMessage ? { userMessage: ZH_SENTENCE } : {}),
+ details: { unpaid_organization_limit: 2, unpaid_organizations: 2, next_step: nextStep },
+ });
+
+ async function submitRefused(err: Error) {
+ createOrganization.mockRejectedValue(err);
+ render( {}} />);
+ await settleAuthConfig();
+ fillAndSubmit();
+ return screen.findByTestId('workspace-create-error');
+ }
+
+ it("upgrade_to_team: shows the producer's sentence and a link to the host's upgrade entry, without retrying", async () => {
+ packLang = 'zh-Hans';
+ servedUpgradeUrl = UPGRADE_URL;
+ const shown = await submitRefused(unpaidRefusal('upgrade_to_team'));
+ expect(shown).toHaveTextContent(ZH_SENTENCE);
+ const link = screen.getByTestId('workspace-create-upgrade');
+ expect(link).toHaveAttribute('href', UPGRADE_URL);
+ expect(link).toHaveTextContent((builtInLocales['zh-Hans'] as { organization: { viewPlans: string } }).organization.viewPlans);
+ expect(createOrganization).toHaveBeenCalledTimes(1);
+ expect(provisionMock).not.toHaveBeenCalled();
+ });
+
+ it('upgrade_to_team on a host that serves no upgrade entry: the sentence alone, no link', async () => {
+ const shown = await submitRefused(unpaidRefusal('upgrade_to_team'));
+ expect(shown).toHaveTextContent(ZH_SENTENCE);
+ expect(screen.queryByTestId('workspace-create-upgrade')).toBeNull();
+ });
+
+ it('contact_support: the sentence (which names the address), no upgrade link', async () => {
+ servedUpgradeUrl = UPGRADE_URL;
+ await submitRefused(unpaidRefusal('contact_support'));
+ expect(screen.queryByTestId('workspace-create-upgrade')).toBeNull();
+ });
+
+ it('a refusal without userMessage shows the console pack sentence', async () => {
+ packLang = 'zh-Hans';
+ const shown = await submitRefused(unpaidRefusal('upgrade_to_team', false));
+ const expected = (builtInLocales['zh-Hans'] as { organization: { errors: Record } }).organization
+ .errors.unpaidOrganizationLimitReached;
+ expect(typeof expected).toBe('string');
+ expect(shown).toHaveTextContent(expected);
+ });
+
+ it("CONTROL: better-auth's organization-limit refusal draws no upgrade link", async () => {
+ servedUpgradeUrl = UPGRADE_URL;
+ await submitRefused(
+ Object.assign(new Error('You have reached the maximum number of organizations'), {
+ code: 'YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS',
+ status: 403,
+ }),
+ );
+ expect(screen.queryByTestId('workspace-create-upgrade')).toBeNull();
+ });
+});
+
describe("draws the host's organization-create choices (objectstack#31988)", () => {
// Host-shaped words: the console spells none of its own, so a case reads
// the text it was served back off the dialog (ADR-0060).
diff --git a/ui/packages/app-shell/src/console/organizations/__tests__/orgErrorMessage-4474.test.ts b/ui/packages/app-shell/src/console/organizations/__tests__/orgErrorMessage-4474.test.ts
index 1921ccc96fe..21f0e607035 100644
--- a/ui/packages/app-shell/src/console/organizations/__tests__/orgErrorMessage-4474.test.ts
+++ b/ui/packages/app-shell/src/console/organizations/__tests__/orgErrorMessage-4474.test.ts
@@ -35,6 +35,7 @@ import { describe, it, expect } from 'vitest';
import {
ORG_ERROR_MESSAGE_KEYS,
orgDeleteRefusalRows,
+ readOrgCreateNextStep,
readOrgDeleteRefusal,
resolveOrgErrorMessage,
} from '../orgErrorMessage';
@@ -222,6 +223,83 @@ describe('#28124 — YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS (the p
});
});
+describe('objectstack#34221 — UNPAID_ORGANIZATION_LIMIT_REACHED (the hosted cap on free organizations)', () => {
+ // The cloud control plane refuses a create past its cap with 403 and a flat
+ // `{ code, message, userMessage, details: { unpaid_organization_limit,
+ // unpaid_organizations, next_step } }`, the sentence in the request's
+ // language (cloud#4308, cloud PR #4626). The auth client's `toAuthError`
+ // carries `code`, `userMessage` and `details` onto the thrown error.
+ const CODE = 'UNPAID_ORGANIZATION_LIMIT_REACHED';
+ const KEY = 'organization.errors.unpaidOrganizationLimitReached';
+ const ZH_SENTENCE =
+ '你已拥有 2 个免费组织,每个账号最多 2 个。要再创建组织,请先把其中一个 Free 组织升级到 Team:Team 组织不占这个名额。被邀请加入的组织不计入。';
+ const refusal = (fields: { userMessage?: string; details?: unknown; message?: string }) =>
+ Object.assign(new Error(fields.message ?? ZH_SENTENCE), {
+ code: CODE,
+ status: 403,
+ ...(fields.userMessage !== undefined ? { userMessage: fields.userMessage } : {}),
+ ...(fields.details !== undefined ? { details: fields.details } : {}),
+ });
+ const packValue = (lang: string): unknown =>
+ KEY.split('.').reduce(
+ (n, k) => (n as Record | undefined)?.[k],
+ builtInLocales[lang as keyof typeof builtInLocales],
+ );
+
+ it("shows the producer's localized userMessage, not the console pack sentence", () => {
+ const shown = resolveOrgErrorMessage(refusal({ userMessage: ZH_SENTENCE }), tZh);
+ expect(shown).toBe(ZH_SENTENCE);
+ expect(shown).not.toBe(packValue('zh-Hans'));
+ });
+
+ it('falls back to the console pack sentence when the refusal carries no userMessage', () => {
+ const shown = resolveOrgErrorMessage(
+ refusal({ message: 'You own 2 free organizations, and one account may own at most 2.' }),
+ tZh,
+ );
+ expect(shown).toBe(packValue('zh-Hans'));
+ expect(shown).toMatch(/\p{Script=Han}/u);
+ });
+
+ it('a blank userMessage is no sentence: the pack fallback is shown', () => {
+ expect(resolveOrgErrorMessage(refusal({ userMessage: ' ' }), tZh)).toBe(packValue('zh-Hans'));
+ });
+
+ it('every pack defines the fallback with its own sentence and no number in it', () => {
+ const en = packValue('en');
+ for (const lang of Object.keys(builtInLocales)) {
+ const value = packValue(lang);
+ expect(typeof value, `${lang} lacks ${KEY}`).toBe('string');
+ expect(value as string, `${lang} names a number the console does not know`).not.toMatch(/\p{Nd}/u);
+ if (lang !== 'en') expect(value, `${lang} still serves the English sentence`).not.toBe(en);
+ }
+ });
+
+ it('reads the next step from details.next_step, for this code only', () => {
+ expect(readOrgCreateNextStep(refusal({ details: { next_step: 'upgrade_to_team' } }))).toBe('upgrade_to_team');
+ expect(readOrgCreateNextStep(refusal({ details: { next_step: 'contact_support' } }))).toBe('contact_support');
+ // A step this console does not know, no details, or another code: no step.
+ expect(readOrgCreateNextStep(refusal({ details: { next_step: 'buy_more' } }))).toBeUndefined();
+ expect(readOrgCreateNextStep(refusal({}))).toBeUndefined();
+ expect(
+ readOrgCreateNextStep(
+ Object.assign(withCode('YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS', 'x'), {
+ details: { next_step: 'upgrade_to_team' },
+ }),
+ ),
+ ).toBeUndefined();
+ expect(readOrgCreateNextStep(new Error('upgrade_to_team'))).toBeUndefined();
+ });
+
+ it("CONTROL: better-auth's organization-limit code still maps to its pack sentence and ignores userMessage", () => {
+ const err = Object.assign(
+ withCode('YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS', 'You have reached the maximum number of organizations'),
+ { userMessage: 'a sentence the console must not show for this row' },
+ );
+ expect(resolveOrgErrorMessage(err, tZh)).toBe(at('organization.errors.organizationLimitReached'));
+ });
+});
+
describe('#4474 — the mapping table itself', () => {
it('every mapped code resolves to a key the zh pack actually defines', () => {
// Guards the class of typo that only shows up as a raw i18n key on screen,
@@ -243,6 +321,8 @@ describe('#4474 — the mapping table itself', () => {
'ORGANIZATION_ALREADY_EXISTS',
'ORGANIZATION_CREATION_DISABLED',
'ORGANIZATION_SLUG_ALREADY_TAKEN',
+ // objectstack#34221: the hosted control plane's cap on free organizations (cloud#4308).
+ 'UNPAID_ORGANIZATION_LIMIT_REACHED',
// objectstack#33650: better-auth 1.7.12 `create-invitation` refuses an address that already holds a membership.
'USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION',
'USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION',
diff --git a/ui/packages/app-shell/src/console/organizations/orgErrorMessage.ts b/ui/packages/app-shell/src/console/organizations/orgErrorMessage.ts
index bc013d603e5..7dab8fe821a 100644
--- a/ui/packages/app-shell/src/console/organizations/orgErrorMessage.ts
+++ b/ui/packages/app-shell/src/console/organizations/orgErrorMessage.ts
@@ -53,7 +53,9 @@
* that an ordinary user reaches it), and one objectstack registered code (ADR-0112) on the create path:
* `ORGANIZATION_CREATION_DISABLED`, the server's refusal for the same
* deployment posture `CreateWorkspaceDialog`'s own guard reads from
- * `/auth/config` (objectui#12977). The rest are teams, dynamic roles and org
+ * `/auth/config` (objectui#12977); and the hosted control plane's
+ * `UNPAID_ORGANIZATION_LIMIT_REACHED`, the create refused past its cap on free
+ * organizations, whose own localized sentence is preferred. The rest are teams, dynamic roles and org
* surfaces this console has no screen for. Each row costs ten pack
* translations (that one reuses an existing key), and an unlisted code
* already degrades correctly, so the cost of omitting one is bounded and the
@@ -74,6 +76,14 @@ export interface OrgErrorEntry {
key: string;
/** English fallback, for a pack that does not (yet) define the key. */
defaultValue: string;
+ /**
+ * The producer composes this refusal's sentence itself, in the request's
+ * language, and marks it `userMessage`: that sentence wins, and the pack
+ * key is the fallback for a refusal that arrives without one. Set only on a
+ * row whose producer owns the copy (an objectstack or cloud code, never a
+ * better-auth one, whose `message` is a third party's English).
+ */
+ preferUserMessage?: boolean;
}
/** The not-found sentence, shared by the code row and the invitation lookup below. */
@@ -83,8 +93,12 @@ const INVITATION_NOT_FOUND_ENTRY: OrgErrorEntry = {
'This invitation has already been used, has expired, or was revoked. If you accepted it, the organization is in your organization list.',
};
+/** The hosted control plane's refusal of a create past its free-organization cap. */
+export const UNPAID_ORGANIZATION_LIMIT_REACHED = 'UNPAID_ORGANIZATION_LIMIT_REACHED';
+
/**
- * Organization error code (better-auth's, or an objectstack registered code)
+ * Organization error code (better-auth's, an objectstack registered code, or
+ * the hosted control plane's)
* -> the console's own i18n key.
*
* Keyed by the code, valued by a key of OUR naming rather than a transliteration
@@ -147,6 +161,22 @@ export const ORG_ERROR_MESSAGE_KEYS: Record = {
key: 'workspace.multiOrgDisabled',
defaultValue: 'Creating new organizations is disabled on this instance.',
},
+ // The hosted control plane's cap on free (unpaid) organizations one account
+ // may own (cloud#4308): 403 with `{ code, message, userMessage, details:
+ // { unpaid_organization_limit, unpaid_organizations, next_step } }`. The
+ // cloud writes the sentence in the request's language and names the next
+ // step (upgrade a Free organization, or the contact address), so its
+ // `userMessage` is shown as sent (ruling C on objectstack#32440, as
+ // `SettingsPage` does for the delete refusal). The pack sentence below is
+ // only the fallback for a refusal without one: it names no number and no
+ // plan, since neither is the console's to know. The next step itself is
+ // read by {@link readOrgCreateNextStep}.
+ [UNPAID_ORGANIZATION_LIMIT_REACHED]: {
+ key: 'organization.errors.unpaidOrganizationLimitReached',
+ defaultValue:
+ 'You already own as many free organizations as one account may. To create another, upgrade one of them to a paid plan or contact support. Organizations you were invited to do not count.',
+ preferUserMessage: true,
+ },
// --- accept path (AcceptInvitationPage) ---
YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION: {
@@ -236,7 +266,8 @@ export function invitationVerifyEmailPromptPath(
* Order — mapped code, then the server's own sentence, then the site's own
* fallback, then a translated last resort:
*
- * 1. a code this console maps -> the localized message
+ * 1. a code this console maps -> the localized message (for a row marked
+ * `preferUserMessage`, the producer's `userMessage` first)
* 2. any other `Error` message -> verbatim, whatever language it is in
* 3. `fallback`, when given -> the caller's own localized sentence
* 4. none of the above -> `organization.errors.unknown`
@@ -258,7 +289,13 @@ export function resolveOrgErrorMessage(
const code = errorCode(err);
if (code) {
const entry = ORG_ERROR_MESSAGE_KEYS[code];
- if (entry) return t(entry.key, { defaultValue: entry.defaultValue });
+ if (entry) {
+ if (entry.preferUserMessage) {
+ const userMessage = producerUserMessage(err);
+ if (userMessage) return userMessage;
+ }
+ return t(entry.key, { defaultValue: entry.defaultValue });
+ }
}
const message = err instanceof Error ? err.message : undefined;
if (typeof message === 'string' && message.trim()) return message;
@@ -266,6 +303,40 @@ export function resolveOrgErrorMessage(
return t(UNKNOWN_ERROR.key, { defaultValue: UNKNOWN_ERROR.defaultValue });
}
+/** The producer-marked user-facing sentence on a thrown value, if it carries a non-blank one. */
+function producerUserMessage(err: unknown): string | undefined {
+ if (typeof err !== 'object' || err === null) return undefined;
+ const userMessage = (err as { userMessage?: unknown }).userMessage;
+ return typeof userMessage === 'string' && userMessage.trim() ? userMessage : undefined;
+}
+
+/**
+ * What a refused create tells the account to do next: the hosted control
+ * plane's `details.next_step` on {@link UNPAID_ORGANIZATION_LIMIT_REACHED}.
+ * `upgrade_to_team` means upgrading one of the account's Free organizations
+ * frees a slot; `contact_support` means no upgrade would, and the sentence
+ * names the address.
+ */
+export type OrgCreateNextStep = 'upgrade_to_team' | 'contact_support';
+
+const ORG_CREATE_NEXT_STEPS: ReadonlySet = new Set(['upgrade_to_team', 'contact_support']);
+
+/**
+ * Read the next step off a rejected organization create, or `undefined` when
+ * the rejection is not {@link UNPAID_ORGANIZATION_LIMIT_REACHED} or names no
+ * step this console knows. Keyed on the code, like every row of
+ * {@link ORG_ERROR_MESSAGE_KEYS}, and read from `details` as the auth client
+ * carries it (flat body or ADR-0112 envelope alike); the sentence is never
+ * parsed for it.
+ */
+export function readOrgCreateNextStep(err: unknown): OrgCreateNextStep | undefined {
+ if (errorCode(err) !== UNPAID_ORGANIZATION_LIMIT_REACHED) return undefined;
+ const details = (err as { details?: unknown }).details;
+ if (typeof details !== 'object' || details === null) return undefined;
+ const step = (details as { next_step?: unknown }).next_step;
+ return typeof step === 'string' && ORG_CREATE_NEXT_STEPS.has(step) ? (step as OrgCreateNextStep) : undefined;
+}
+
/** Read the HTTP status off a thrown value, if it carries one. */
function errorStatus(err: unknown): number | undefined {
if (typeof err !== 'object' || err === null) return undefined;
diff --git a/ui/packages/i18n/src/locales/ar.ts b/ui/packages/i18n/src/locales/ar.ts
index 73f8d478bda..2362d12a3fc 100644
--- a/ui/packages/i18n/src/locales/ar.ts
+++ b/ui/packages/i18n/src/locales/ar.ts
@@ -4505,10 +4505,12 @@ const ar = {
slugTaken: 'هذا المُعرِّف مستخدَم بالفعل.',
notAllowedToCreate: 'لا يُسمح لك بإنشاء مؤسسة جديدة.',
organizationLimitReached: 'لقد بلغت الحد الأقصى لعدد المؤسسات التي يمكنك إنشاؤها. لا تُحتسب المؤسسات التي دُعيت إليها ضمن هذا الحد.',
+ unpaidOrganizationLimitReached: 'أنت تملك بالفعل الحد الأقصى من المؤسسات المجانية المسموح به لكل حساب. لإنشاء مؤسسة أخرى، قم بترقية إحداها إلى خطة مدفوعة أو تواصل مع الدعم. لا تُحتسب المؤسسات التي دُعيت إليها.',
notTheRecipient: 'لست المستلم المقصود بهذه الدعوة.',
invitationNotFound: 'تم استخدام هذه الدعوة بالفعل أو انتهت صلاحيتها أو تم إلغاؤها. إذا كنت قد قبلتها، فستجد المؤسسة في قائمة مؤسساتك.',
unknown: 'حدث خطأ ما. يرجى المحاولة مرة أخرى.',
},
+ viewPlans: 'عرض الخطط والترقية',
backToList: "العودة إلى المؤسسات",
notFound: "المؤسسة غير موجودة",
notFoundDescription: "هذه المؤسسة غير موجودة أو ليس لديك صلاحية الوصول إليها.",
diff --git a/ui/packages/i18n/src/locales/de.ts b/ui/packages/i18n/src/locales/de.ts
index cce69008622..cfe79c06be0 100644
--- a/ui/packages/i18n/src/locales/de.ts
+++ b/ui/packages/i18n/src/locales/de.ts
@@ -4155,10 +4155,12 @@ const de = {
slugTaken: 'Dieser URL-Slug ist bereits vergeben.',
notAllowedToCreate: 'Sie dürfen keine neue Organisation erstellen.',
organizationLimitReached: 'Sie haben die maximale Anzahl an Organisationen erreicht, die Sie erstellen können. Organisationen, zu denen Sie eingeladen wurden, zählen nicht dazu.',
+ unpaidOrganizationLimitReached: 'Sie besitzen bereits so viele kostenlose Organisationen, wie ein Konto haben darf. Um eine weitere zu erstellen, stufen Sie eine davon auf einen kostenpflichtigen Tarif hoch oder wenden Sie sich an den Support. Organisationen, zu denen Sie eingeladen wurden, zählen nicht.',
notTheRecipient: 'Sie sind nicht der Empfänger dieser Einladung.',
invitationNotFound: 'Diese Einladung wurde bereits verwendet, ist abgelaufen oder wurde widerrufen. Wenn Sie sie angenommen haben, finden Sie die Organisation in Ihrer Organisationsliste.',
unknown: 'Etwas ist schiefgelaufen. Bitte versuchen Sie es erneut.',
},
+ viewPlans: 'Tarife ansehen und upgraden',
backToList: "Zurück zu den Organisationen",
notFound: "Organisation nicht gefunden",
notFoundDescription: "Diese Organisation existiert nicht oder Sie haben keinen Zugriff darauf.",
diff --git a/ui/packages/i18n/src/locales/en.ts b/ui/packages/i18n/src/locales/en.ts
index ac4928fc69c..af9993fa434 100644
--- a/ui/packages/i18n/src/locales/en.ts
+++ b/ui/packages/i18n/src/locales/en.ts
@@ -5049,10 +5049,12 @@ const en = {
slugTaken: 'That URL slug is already taken',
notAllowedToCreate: 'You are not allowed to create a new organization',
organizationLimitReached: 'You have reached the limit on organizations you can create. Organizations you were invited to do not count toward it.',
+ unpaidOrganizationLimitReached: 'You already own as many free organizations as one account may. To create another, upgrade one of them to a paid plan or contact support. Organizations you were invited to do not count.',
notTheRecipient: 'You are not the recipient of the invitation',
invitationNotFound: 'This invitation has already been used, has expired, or was revoked. If you accepted it, the organization is in your organization list.',
unknown: 'Something went wrong. Please try again.',
},
+ viewPlans: 'View plans and upgrade',
backToList: 'Back to organizations',
notFound: 'Organization not found',
notFoundDescription: 'This organization does not exist or you do not have access.',
diff --git a/ui/packages/i18n/src/locales/es.ts b/ui/packages/i18n/src/locales/es.ts
index 75d20ed34bf..45b21ff5546 100644
--- a/ui/packages/i18n/src/locales/es.ts
+++ b/ui/packages/i18n/src/locales/es.ts
@@ -4243,10 +4243,12 @@ const es = {
slugTaken: 'Ese slug ya está en uso.',
notAllowedToCreate: 'No tiene permiso para crear una organización nueva.',
organizationLimitReached: 'Ha alcanzado el número máximo de organizaciones que puede crear. Las organizaciones a las que se le ha invitado no cuentan para este límite.',
+ unpaidOrganizationLimitReached: 'Ya tiene tantas organizaciones gratuitas como permite una cuenta. Para crear otra, cambie una de ellas a un plan de pago o contacte con soporte. Las organizaciones a las que se le ha invitado no cuentan.',
notTheRecipient: 'No es el destinatario de esta invitación.',
invitationNotFound: 'Esta invitación ya se utilizó, caducó o fue revocada. Si ya la aceptó, encontrará la organización en su lista de organizaciones.',
unknown: 'Algo salió mal. Inténtelo de nuevo.',
},
+ viewPlans: 'Ver planes y mejorar',
backToList: "Volver a las organizaciones",
notFound: "Organización no encontrada",
notFoundDescription: "Esta organización no existe o no tienes acceso.",
diff --git a/ui/packages/i18n/src/locales/fr.ts b/ui/packages/i18n/src/locales/fr.ts
index dfa5240f86a..6435c9b3f5c 100644
--- a/ui/packages/i18n/src/locales/fr.ts
+++ b/ui/packages/i18n/src/locales/fr.ts
@@ -4239,10 +4239,12 @@ const fr = {
slugTaken: 'Ce slug est déjà utilisé.',
notAllowedToCreate: "Vous n'êtes pas autorisé à créer une nouvelle organisation.",
organizationLimitReached: "Vous avez atteint le nombre maximal d'organisations que vous pouvez créer. Les organisations auxquelles vous avez été invité ne sont pas comptées.",
+ unpaidOrganizationLimitReached: "Vous possédez déjà autant d'organisations gratuites qu'un compte le permet. Pour en créer une autre, passez l'une d'elles à une offre payante ou contactez le support. Les organisations auxquelles vous avez été invité ne sont pas comptées.",
notTheRecipient: "Vous n'êtes pas le destinataire de cette invitation.",
invitationNotFound: "Cette invitation a déjà été utilisée, a expiré ou a été révoquée. Si vous l'avez acceptée, vous trouverez l'organisation dans votre liste d'organisations.",
unknown: 'Une erreur est survenue. Veuillez réessayer.',
},
+ viewPlans: 'Voir les offres et passer à une offre supérieure',
backToList: "Retour aux organisations",
notFound: "Organisation introuvable",
notFoundDescription: "Cette organisation n'existe pas ou vous n'y avez pas accès.",
diff --git a/ui/packages/i18n/src/locales/ja.ts b/ui/packages/i18n/src/locales/ja.ts
index a3434ed56e1..1290a3b3b05 100644
--- a/ui/packages/i18n/src/locales/ja.ts
+++ b/ui/packages/i18n/src/locales/ja.ts
@@ -4157,10 +4157,12 @@ const ja = {
slugTaken: 'そのスラッグはすでに使用されています。',
notAllowedToCreate: '新しい組織を作成する権限がありません。',
organizationLimitReached: '作成できる組織の数が上限に達しました。招待されて参加した組織は上限に含まれません。',
+ unpaidOrganizationLimitReached: 'アカウントごとに所有できる無料の組織の上限に達しています。さらに作成するには、そのうちの一つを有料プランにアップグレードするか、サポートにお問い合わせください。招待されて参加した組織は数えられません。',
notTheRecipient: 'この招待の宛先はあなたではありません。',
invitationNotFound: 'この招待はすでに使用済みか、有効期限切れか、取り消されています。承認済みの場合は、組織一覧にその組織があります。',
unknown: '問題が発生しました。もう一度お試しください。',
},
+ viewPlans: 'プランを見てアップグレード',
backToList: "組織一覧に戻る",
notFound: "組織が見つかりません",
notFoundDescription: "この組織は存在しないか、アクセス権がありません。",
diff --git a/ui/packages/i18n/src/locales/ko.ts b/ui/packages/i18n/src/locales/ko.ts
index 59df54f4e47..670411bc79e 100644
--- a/ui/packages/i18n/src/locales/ko.ts
+++ b/ui/packages/i18n/src/locales/ko.ts
@@ -4154,10 +4154,12 @@ const ko = {
slugTaken: '해당 슬러그는 이미 사용 중입니다.',
notAllowedToCreate: '새 조직을 만들 권한이 없습니다.',
organizationLimitReached: '만들 수 있는 조직 수의 한도에 도달했습니다. 초대받아 참여한 조직은 한도에 포함되지 않습니다.',
+ unpaidOrganizationLimitReached: '한 계정이 소유할 수 있는 무료 조직의 한도에 도달했습니다. 조직을 더 만들려면 그중 하나를 유료 플랜으로 업그레이드하거나 지원팀에 문의하세요. 초대받아 참여한 조직은 포함되지 않습니다.',
notTheRecipient: '이 초대의 수신자가 아닙니다.',
invitationNotFound: '이 초대는 이미 사용되었거나 만료되었거나 취소되었습니다. 이미 수락했다면 조직 목록에서 해당 조직을 찾을 수 있습니다.',
unknown: '문제가 발생했습니다. 다시 시도해 주세요.',
},
+ viewPlans: '플랜 보기 및 업그레이드',
backToList: "조직 목록으로 돌아가기",
notFound: "조직을 찾을 수 없음",
notFoundDescription: "이 조직이 존재하지 않거나 접근 권한이 없습니다.",
diff --git a/ui/packages/i18n/src/locales/pt-BR.ts b/ui/packages/i18n/src/locales/pt-BR.ts
index ee558ccefcf..a0bde44c0bf 100644
--- a/ui/packages/i18n/src/locales/pt-BR.ts
+++ b/ui/packages/i18n/src/locales/pt-BR.ts
@@ -4238,10 +4238,12 @@ const pt = {
slugTaken: 'Esse slug já está em uso.',
notAllowedToCreate: 'Você não tem permissão para criar uma nova organização.',
organizationLimitReached: 'Você atingiu o número máximo de organizações que pode criar. Organizações para as quais você foi convidado não contam para esse limite.',
+ unpaidOrganizationLimitReached: 'Você já possui o máximo de organizações gratuitas que uma conta permite. Para criar outra, faça upgrade de uma delas para um plano pago ou entre em contato com o suporte. Organizações para as quais você foi convidado não contam.',
notTheRecipient: 'Você não é o destinatário deste convite.',
invitationNotFound: 'Este convite já foi usado, expirou ou foi revogado. Se você já o aceitou, encontrará a organização na sua lista de organizações.',
unknown: 'Algo deu errado. Tente novamente.',
},
+ viewPlans: 'Ver planos e fazer upgrade',
backToList: "Voltar para as organizações",
notFound: "Organização não encontrada",
notFoundDescription: "Esta organização não existe ou você não tem acesso.",
diff --git a/ui/packages/i18n/src/locales/ru.ts b/ui/packages/i18n/src/locales/ru.ts
index 1dfd5e4939a..5d5241343d7 100644
--- a/ui/packages/i18n/src/locales/ru.ts
+++ b/ui/packages/i18n/src/locales/ru.ts
@@ -4340,10 +4340,12 @@ const ru = {
slugTaken: 'Этот идентификатор уже занят.',
notAllowedToCreate: 'У вас нет прав создавать новую организацию.',
organizationLimitReached: 'Вы достигли максимального числа организаций, которые можете создать. Организации, в которые вас пригласили, не учитываются.',
+ unpaidOrganizationLimitReached: 'У вас уже столько бесплатных организаций, сколько разрешено одной учётной записи. Чтобы создать ещё одну, переведите одну из них на платный тариф или обратитесь в поддержку. Организации, в которые вас пригласили, не учитываются.',
notTheRecipient: 'Вы не являетесь получателем этого приглашения.',
invitationNotFound: 'Это приглашение уже использовано, истекло или было отозвано. Если вы его приняли, организация есть в вашем списке организаций.',
unknown: 'Что-то пошло не так. Попробуйте ещё раз.',
},
+ viewPlans: 'Посмотреть тарифы и сменить план',
backToList: "Назад к организациям",
notFound: "Организация не найдена",
notFoundDescription: "Эта организация не существует или у вас нет к ней доступа.",
diff --git a/ui/packages/i18n/src/locales/zh-Hans.ts b/ui/packages/i18n/src/locales/zh-Hans.ts
index 14e43902b09..d86f5fb514f 100644
--- a/ui/packages/i18n/src/locales/zh-Hans.ts
+++ b/ui/packages/i18n/src/locales/zh-Hans.ts
@@ -4409,10 +4409,12 @@ const zh = {
slugTaken: '该标识已被占用。',
notAllowedToCreate: '您无权创建新组织。',
organizationLimitReached: '您创建的组织数量已达上限。被邀请加入的组织不计入此上限。',
+ unpaidOrganizationLimitReached: '你拥有的免费组织已达到每个账号的上限。要再创建组织,请把其中一个升级为付费套餐,或联系支持。被邀请加入的组织不计入。',
notTheRecipient: '您不是该邀请的收件人。',
invitationNotFound: '该邀请已被使用、已过期或已撤销。如果您已接受过该邀请,可在组织列表中找到该组织。',
unknown: '出了点问题,请重试。',
},
+ viewPlans: '查看套餐并升级',
backToList: '返回组织列表',
notFound: '未找到组织',
notFoundDescription: '该组织不存在,或您没有访问权限。',
diff --git a/ui/packages/i18n/src/locales/zh-Hant.ts b/ui/packages/i18n/src/locales/zh-Hant.ts
index 9920e510e03..792c85c88dc 100644
--- a/ui/packages/i18n/src/locales/zh-Hant.ts
+++ b/ui/packages/i18n/src/locales/zh-Hant.ts
@@ -4409,10 +4409,12 @@ const zhHant = {
slugTaken: '該標識已被佔用。',
notAllowedToCreate: '您無權建立新組織。',
organizationLimitReached: '您建立的組織數量已達上限。被邀請加入的組織不計入此上限。',
+ unpaidOrganizationLimitReached: '你擁有的免費組織已達到每個賬號的上限。要再建立組織,請把其中一個升級為付費套餐,或聯絡支援。被邀請加入的組織不計入。',
notTheRecipient: '您不是該邀請的收件人。',
invitationNotFound: '該邀請已被使用、已過期或已撤銷。如果您已接受過該邀請,可在組織列表中找到該組織。',
unknown: '出了點問題,請重試。',
},
+ viewPlans: '檢視套餐並升級',
backToList: '返回組織列表',
notFound: '未找到組織',
notFoundDescription: '該組織不存在,或您沒有訪問權限。',