mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #8837 from overleaf/mj-fix-default-group-account-translation
Rephrase "Group Account" to "Group Subscription" on subscription management page GitOrigin-RevId: 899a6f27fbe7533b93345b7c27a4d427d40c5e1a
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = {
|
||||
groupPlan: true,
|
||||
},
|
||||
translations: {
|
||||
title: 'group_account',
|
||||
title: 'group_subscription',
|
||||
subtitle: 'members_management',
|
||||
remove: 'remove_from_group',
|
||||
},
|
||||
@@ -53,7 +53,7 @@ module.exports = {
|
||||
groupPlan: true,
|
||||
},
|
||||
translations: {
|
||||
title: 'group_account',
|
||||
title: 'group_subscription',
|
||||
subtitle: 'managers_management',
|
||||
remove: 'remove_manager',
|
||||
},
|
||||
|
||||
@@ -1201,7 +1201,7 @@
|
||||
"loading_billing_form": "Loading billing details form",
|
||||
"you_have_added_x_of_group_size_y": "You have added <0>__addedUsersSize__</0> of <1>__groupSize__</1> available members",
|
||||
"remove_from_group": "Remove from group",
|
||||
"group_account": "Group Account",
|
||||
"group_subscription": "Group Subscription",
|
||||
"registered": "Registered",
|
||||
"no_members": "No members",
|
||||
"add_more_members": "Add more members",
|
||||
|
||||
@@ -107,7 +107,7 @@ describe('UserMembershipController', function () {
|
||||
expect(viewPath).to.equal('user_membership/index')
|
||||
expect(viewParams.users).to.deep.equal(this.users)
|
||||
expect(viewParams.groupSize).to.equal(this.subscription.membersLimit)
|
||||
expect(viewParams.translations.title).to.equal('group_account')
|
||||
expect(viewParams.translations.title).to.equal('group_subscription')
|
||||
expect(viewParams.paths.addMember).to.equal(
|
||||
`/manage/groups/${this.subscription._id}/invites`
|
||||
)
|
||||
@@ -122,7 +122,7 @@ describe('UserMembershipController', function () {
|
||||
render: (viewPath, viewParams) => {
|
||||
expect(viewPath).to.equal('user_membership/index')
|
||||
expect(viewParams.groupSize).to.equal(undefined)
|
||||
expect(viewParams.translations.title).to.equal('group_account')
|
||||
expect(viewParams.translations.title).to.equal('group_subscription')
|
||||
expect(viewParams.translations.subtitle).to.equal(
|
||||
'managers_management'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user