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

Wrap strings in backticks to make sprintf work #634

Merged
merged 3 commits into from
Apr 1, 2024
Merged
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
24 changes: 6 additions & 18 deletions src/components/Rsvp.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,9 @@ const Rsvp = ({
'You must %s to RSVP to events.',
'gatherpress'
),
<a href={getFromGlobal('urls.loginUrl')}>
{_x(
'Login',
'Context: You must ~ to RSVP to events.',
'gatherpress'
)}
</a>
`<a href=${getFromGlobal('urls.loginUrl')}>
${_x('Login', 'Context: You must ~ to RSVP to events.', 'gatherpress')}
</a>`
)
)}
</div>
Expand All @@ -215,17 +211,9 @@ const Rsvp = ({
'%s if you do not have an account.',
'gatherpress'
),
<a
href={getFromGlobal(
'urls.registrationUrl'
)}
>
{_x(
'Register',
'Context: ~ if you do not have an account.',
'gatherpress'
)}
</a>
`<a href=${getFromGlobal('urls.registrationUrl')}>
${_x('Register', 'Context: ~ if you do not have an account.', 'gatherpress')}
</a>`
)
)}
</div>
Expand Down
Loading