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

Sentence runs together since period is inside the if block #25004

Closed
wants to merge 1 commit into from

Conversation

demeritcowboy
Copy link
Contributor

Overview

It should be outside the if.

Before

  1. Add a profile to a contribution page that allows user signup (in the advanced profile settings - under account creation).
  2. Visit the contribution page. Depending on the cms config, the if block will show or not. If it doesn't show, then there's no period and the first sentence runs right into the next one: If you would like to create an account on this site, check the box below and enter a Username If you already have an account please login before completing this form.

After

Better

Technical Details

Comments

Came up during review of #25002

@civibot
Copy link

civibot bot commented Nov 18, 2022

(Standard links)

@civibot civibot bot added the master label Nov 18, 2022
@demeritcowboy
Copy link
Contributor Author

It's not really translation-friendly either before or after. I should put up an alternate.

@colemanw
Copy link
Member

colemanw commented Nov 18, 2022

This is an example of "too clever" programming. Translatability is best when code is really dumb and doesn't try to put sentence fragments together. I think there needs to be 2 versions of the entire sentence, not 2 half-sentences joined together.

@demeritcowboy
Copy link
Contributor Author

Yeah I started looking and should also fix the empty() while I'm there.

@demeritcowboy
Copy link
Contributor Author

Alternate: #25005

@colemanw colemanw closed this Nov 19, 2022
@demeritcowboy demeritcowboy deleted the missing-dot branch November 19, 2022 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants