Skip to content

Commit

Permalink
use better placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
magicznyleszek committed Nov 28, 2024
1 parent f88d64f commit 67e6d0a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jsapp/js/account/organization/OrganizationSettingsRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ export default function OrganizationSettingsRoute() {
<div className={styles.orgSettingsRoot}>
<header className={styles.orgSettingsHeader}>
<h2 className={styles.orgSettingsHeaderText}>
{t('##team or org## details').replace('##team or org##', mmoLabel)}
{t('##team/org## details').replace('##team/org##', mmoLabel)}
</h2>
</header>

<section className={styles.fieldsRow}>
<OrganizationSettingsField
label={t('##team or org## name').replace('##team or org##', mmoLabel)}
label={t('##team/org## name').replace('##team/org##', mmoLabel)}
onChange={handleChangeName}
value={state.name}
validateValue={isNameValueValid}
Expand All @@ -115,7 +115,7 @@ export default function OrganizationSettingsRoute() {

{isStripeEnabled && state.website && (
<OrganizationSettingsField
label={t('##team or org## website').replace('##team or org##', mmoLabel)}
label={t('##team/org## website').replace('##team/org##', mmoLabel)}
onChange={handleChangeWebsite}
value={state.website}
validateValue={isWebsiteValueValid}
Expand All @@ -127,7 +127,7 @@ export default function OrganizationSettingsRoute() {
<section className={styles.fieldsRow}>
{isStripeEnabled && state.type && (
<OrganizationSettingsField
label={t('##team or org## type').replace('##team or org##', mmoLabel)}
label={t('##team/org## type').replace('##team/org##', mmoLabel)}
value={getTypeLabel(state.type)}
isDisabled
/>
Expand All @@ -146,8 +146,8 @@ export default function OrganizationSettingsRoute() {
<InlineMessage
type='default'
message={
t("To delete this ##team or org##, you need to cancel your current ##plan name## plan. At the end of the plan period your ##team or org##'s projects will be converted to projects owned by your personal account.")
.replaceAll('##team or org##', mmoLabelLowercase)
t("To delete this ##team/org##, you need to cancel your current ##plan name## plan. At the end of the plan period your ##team/org##'s projects will be converted to projects owned by your personal account.")
.replaceAll('##team/org##', mmoLabelLowercase)
.replace('##plan name##', subscriptions.planName)
}
/>
Expand Down

0 comments on commit 67e6d0a

Please sign in to comment.