Skip to content

Conversation

@nedbat
Copy link
Contributor

@nedbat nedbat commented Jan 10, 2014

Translated strings (think French) can have apostrophes in them. Translated strings are sometimes placed into single-quoted string literals, this will break French translations. Add an apostrophe to the dummy text to help flush out these problems. Also fix the dozen or so that I found with grep.

@nedbat
Copy link
Contributor Author

nedbat commented Jan 10, 2014

@andy-armstrong I know this is not the bullet-proof solution, but at least we can quickly fix these single-quotes. Review?

Copy link
Contributor

Choose a reason for hiding this comment

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

is this enough to make sure that at least L' ## makes it into the string? Probably not for the shortest strings eg "Submit"

@sarina
Copy link
Contributor

sarina commented Jan 10, 2014

Should we fix single-quoted strings in *.coffee and *.js files too? I'm curious how big this problem is.

@andy-armstrong
Copy link
Contributor

👍 Looks like a reasonable short term fix. Do you know what's up with the test failure?

nedbat added a commit that referenced this pull request Jan 13, 2014
Add apostrophe to lorem and fix single-quoted strings
@nedbat nedbat merged commit c4792e6 into master Jan 13, 2014
@nedbat nedbat deleted the ned/add-apostrophe-to-lorem branch January 13, 2014 21:48
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants