crowdin segmentation issue
See original GitHub issueThe sentence
Your p element’s text should be
Click here to view more cat photos.
You have either omitted the text or have a typo.
is not separated in two sentences in Crowdin, as the dot is inside the backticks. I know the dot inside quotes is best practice in American English, but in this case the quotes are not visible, and just for formatting. Plus the test
assert(extraSpacesRemoved.match(/click here to view more cat photos\.?$/i));
marks the period as optional. Maybe the period can be put outside the quotes so that it can be segmented correctly on crowdin?
Other cases:
sentence:
The text of the p element should be
Click here to view more cat photos.
Do not change the text, spacing, or punctuation of the p element.
sentence:
After nesting the anchor (a) element, the only p element content visible in the browser should be
Click here to view more cat photos.
Double check the text, spacing, or punctuation of both the p and nested anchor element.
sentence:
The new image should have an alt value of
A slice of lasagna on a plate.
Make sure the alt attribute’s value is surrounded with quotation marks.
sentence:
The
figcaption
element should have the textCats hate other cats.
You have omitted a word or have a typo.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
That’s not bad. It may look a little goofy:
It looks good enough I guess. An alternative could be to restructure the sentence so that text is in the middle. Maybe something like this:
I’m fine with either of those approaches.
Other possibility altogether, I find a regex that makes the correct segnmentation on these directly from crowdin