Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two bug-fixes #2405

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fieldset(
.inputgroup
input.input(
type='text'
v-model='pledge.value'
v-model.trim='pledge.value'
data-test='inputNonMonetaryPledge'
:maxlength='config.maxChar'
:aria-label='L("Pledge value")'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ modal-template(ref='modal' :a11yTitle='L("Add new members")')
.c-container
template(v-if='link')
i18n.is-title-4(tag='h3') Share this link to grant access to your group.
i18n.has-text-1(tag='p') After the onboarding period has ended, everyone will be asked to vote on whether or not a new member should be added. But for now, enjoy 60 free passes!
i18n.has-text-1(tag='p') After the onboarding period has ended, everyone will be asked to vote on whether or not a new member should be added. But for now, enjoy 150 free passes!
Copy link
Member

@taoeffect taoeffect Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make this a variable so that we don't have to re-translate it next time it changes?

See issue for recommended variable value.

link-to-copy.c-link(:link='link')
i18n.has-text-1(v-if='expireDate' tag='p' :args='{ expireDate }') This invite link expires on {expireDate}.
i18n.has-text-1(v-else tag='p') This invite link doesn't expire
Expand Down