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

Update test_strings.json #135

Closed
wants to merge 6 commits into from
Closed

Update test_strings.json #135

wants to merge 6 commits into from

Conversation

RosaWagner
Copy link
Contributor

Modified test string template for diff2

@RosaWagner RosaWagner requested a review from m4rc1e September 29, 2023 09:29
@RosaWagner RosaWagner marked this pull request as ready for review September 29, 2023 09:43
@RosaWagner RosaWagner requested a review from vv-monsalve October 6, 2023 11:14
"H.Y-Y.T,F.P,V:Y„V-T-A*A’A“A’A-AL–L—L-",
"n.r.r,y.y,(o)(i)(d)(j)(f)[j]{f}",
"080 076 474 973 94 7078",
"¿o,O? w@y «n•n» n*",
"080 076 474 973 94 7078 54 24 272 679",
"P4T47A .47,9.7-»4",
"42°21′29″N 71°03′49″W",
Copy link
Contributor

Choose a reason for hiding this comment

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

Minute and second (2032 and 2033) ar not actually included in the GF Latin Core. We should either add them there or remove them from here. I would advocate for the before (adding them into the glyphset) wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know what is best. I would see them in Core, but they can be replaced by ' and " so I don't know how essential they are. Maybe we can add an entry GF_Latin_Plus in there and add test for the different symbols (like the bullets are the same width etc) so it may motivates designer to add all these symbols when they see notdef?

Copy link
Contributor

Choose a reason for hiding this comment

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

I've been motivating designers to add minute and second following the reported notdef. But I've been saying "despite they are not required in Latin Core, this would be a good addition etc" Precisely cause they differ from quotation marks and could be really used.

So at least for these two we could add them to Core, or change this string to use the quotes instead, so notdef reported.
And eventually, yes, also add a .json file for Latin Plus which is more related to symbols and others, like Vietnamese

"010 080 030 020 050 060 070"
"010 080 030 020 050 060 070",
"3+4=7 5>2 2x²−(8×7)÷9≈1",
"ĿL·L ŀl·l"
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to minute and second, we don't have Ldot 013F or ldot 0140 included in the Latin Core.
So we should add them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I don't know how to do with this one. Monospace font would do with Ldot, while the other should do with localised middle dot

Copy link
Contributor

@vv-monsalve vv-monsalve Oct 25, 2023

Choose a reason for hiding this comment

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

Well, in that case, we should probably

  • Add the localized middle dot to this sample (I saw your attempt to do that in a previous commit, did you undo that because of the monospace fonts?)
    • Alternatively, make the diffbrowsers_proofer.html to use the localised glyph if present in the font so we don't receive tofus in QA results. Similar to what it seems diffbrowsers_text.html does. We have a rebel·lió word in the latter, and it works to shape the correct glyph.
  • Add a FB check to ensure monospace letters include Ldot ones.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep! my attempt failed cause the json didn't seem to like <span lang=cat> </span>. @m4rc1e how can we localise this string to avoid tofu in the proofer when the the Ldot codepoint is missing?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Unfortunately the current implementation only works as strings. Perhaps I can allow us to add language tags as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

may be useful of we extend the proofer to more languages

Copy link
Collaborator

@m4rc1e m4rc1e Nov 6, 2023

Choose a reason for hiding this comment

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

Screenshot 2023-11-06 at 11 26 50

I'm updating the test_strings.json file so you have to provide a lang as well for each string. This guide may be useful to understand how it works, https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang

@m4rc1e m4rc1e force-pushed the Latin_Core_Strings branch from 0bf408c to 25e6221 Compare November 7, 2023 11:16
@m4rc1e m4rc1e mentioned this pull request Nov 7, 2023
@m4rc1e
Copy link
Collaborator

m4rc1e commented Nov 7, 2023

Closing since work is now happening in #146

@m4rc1e m4rc1e closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants