Merge pull request #7072 from overleaf/tm-collaborator-to-standard

Change various usages of `Collaborator` plan name to `Standard (Collaborator)`

GitOrigin-RevId: 9bf98a0e0d029b28b1b5bd7aa6b16f4d4aa4a883
This commit is contained in:
Thomas 2022-03-17 14:09:50 +01:00 committed by Copybot
parent bd74a149ce
commit 71e6dfdd15

View file

@ -35,13 +35,20 @@ for (const [usage, planData] of Object.entries(groups)) {
}
}
const planName =
planCode === 'collaborator'
? 'Standard (Collaborator)'
: capitalize(planCode)
// Generate plans in settings
for (const size of sizes) {
Settings.plans.push({
planCode: `group_${planCode}_${size}_${usage}`,
name: `${Settings.appName} ${capitalize(
planCode
)} - Group Account (${size} licenses) - ${capitalize(usage)}`,
name: `${
Settings.appName
} ${planName} - Group Account (${size} licenses) - ${capitalize(
usage
)}`,
hideFromUsers: true,
price_in_cents: groups[usage][planCode].USD[size].price_in_cents,
annual: true,