diff --git a/frontend/src/pages/home.ts b/frontend/src/pages/home.ts index 34c8c232..d00765ae 100644 --- a/frontend/src/pages/home.ts +++ b/frontend/src/pages/home.ts @@ -397,10 +397,12 @@ export class Home extends LiteElement { if (e.details === "duplicate_org_name") { message = msg("This org name is already taken, try another one."); } else if (e.details === "duplicate_org_slug") { - message = msg("This org URL is already taken, try another one."); + message = msg( + "This org URL identifier is already taken, try another one.", + ); } else if (e.details === "invalid_slug") { message = msg( - "This org URL is invalid. Please use alphanumeric characters and dashes (-) only.", + "This org URL identifier is invalid. Please use alphanumeric characters and dashes (-) only.", ); } } diff --git a/frontend/src/pages/invite/ui/org-form.ts b/frontend/src/pages/invite/ui/org-form.ts index 3011d229..f24f2a94 100644 --- a/frontend/src/pages/invite/ui/org-form.ts +++ b/frontend/src/pages/invite/ui/org-form.ts @@ -165,13 +165,15 @@ export class OrgForm extends TailwindElement { } else if (e.details === "duplicate_org_slug") { fieldName = "orgSlug"; error = new Error( - msg(str`The org URL "${slug}" is already taken, try another one.`), + msg( + str`The org URL identifier "${slug}" is already taken, try another one.`, + ), ); } else if (e.details === "invalid_slug") { fieldName = "orgSlug"; error = new Error( msg( - str`The org URL "${slug}" is not a valid URL. Please use alphanumeric characters and dashes (-) only`, + str`The org URL identifier "${slug}" is not a valid URL. Please use alphanumeric characters and dashes (-) only`, ), ); } diff --git a/frontend/src/pages/org/settings/settings.ts b/frontend/src/pages/org/settings/settings.ts index 30a2a642..24e0d499 100644 --- a/frontend/src/pages/org/settings/settings.ts +++ b/frontend/src/pages/org/settings/settings.ts @@ -628,10 +628,12 @@ export class OrgSettings extends TailwindElement { if (e.details === "duplicate_org_name") { message = msg("This org name is already taken, try another one."); } else if (e.details === "duplicate_org_slug") { - message = msg("This org URL is already taken, try another one."); + message = msg( + "This org URL identifier is already taken, try another one.", + ); } else if (e.details === "invalid_slug") { message = msg( - "This org URL is invalid. Please use alphanumeric characters and dashes (-) only.", + "This org URL identifier is invalid. Please use alphanumeric characters and dashes (-) only.", ); } }