Skip to content

Conversation

@corwintines
Copy link
Member

Fix string fragments outlined in notion card:

Copy link
Contributor

@minimalsm minimalsm left a comment

Choose a reason for hiding this comment

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

Nice find on the FormattedHTMLMessage 😀

Not exactly tied to this PR but re-iterating my concern that adding a translated equivalent of the word 'yet' to languages with a potentially different sentence structure might lead to some confusion (will default to @lukassim on this).

@@ -1,11 +1,11 @@
import React from "react"
import { FormattedMessage } from "gatsby-plugin-intl"
import { FormattedHTMLMessage } from "gatsby-plugin-intl"
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

"page-tutorial-submit-tutorial": "За да публикувате урок, ще трябва да използвате GitHub. Добре дошли сте да зададете въпрос или заявка за сливане.",
"page-tutorial-subtitle": "Добре дошли в нашия подбран списък с уроци за общността.",
"page-tutorial-tags-error": "Никои от уроците нямат всички тези тагове",
"page-tutorial-tags-error": "Никои от уроците нямат всички тези тагове <b>все още</b>",
Copy link
Contributor

Choose a reason for hiding this comment

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

No biggie but for a11y I think <strong> is more semantic than <b> in this usage

"page-tutorial-submit-btn": "Submit a tutorial",
"page-tutorial-submit-tutorial": "To submit a tutorial, you'll need to use GitHub. We welcome you to create an issue or a pull request.",
"page-tutorial-subtitle": "Welcome to our curated list of community tutorials.",
"page-tutorial-tags-error": "There are no tutorials with all your chosen tags yet",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"page-tutorial-tags-error": "There are no tutorials with all your chosen tags yet",
"page-tutorial-tags-error": "There are no tutorials with all your chosen tags <b>yet</b>",

@corwintines
Copy link
Member Author

@minimalsm changed all the to . Thanks for review.

@minimalsm
Copy link
Contributor

@corwintines very welcome

@corwintines
Copy link
Member Author

Dangit, didnt realize github would jsut consume that html haha

@gatsby-cloud
Copy link

gatsby-cloud bot commented Dec 10, 2021

Gatsby Cloud Build Report

ethereum-org-website-dev2

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 7m

Performance

Lighthouse report

Metric Score
Performance 🔶 16
Accessibility 💚 97
Best Practices 💚 93
SEO 🔶 79

🔗 View full report

@gatsby-cloud
Copy link

gatsby-cloud bot commented Dec 10, 2021

Gatsby Cloud Build Report

ethereum-org-website-dev

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 7m

Performance

Lighthouse report

Metric Score
Performance 🔶 16
Accessibility 💚 97
Best Practices 💚 93
SEO 🔶 79

🔗 View full report

Copy link
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

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

This is game changing.

@wackerow wackerow merged commit d41c0bf into dev Dec 10, 2021
@wackerow wackerow deleted the fix-string-fragment-issue branch December 10, 2021 05:32
@wackerow wackerow mentioned this pull request Dec 10, 2021
@lukassim
Copy link
Contributor

Not exactly tied to this PR but re-iterating my concern that adding a translated equivalent of the word 'yet' to languages with a potentially different sentence structure might lead to some confusion (will default to @lukassim on this).

This should be fine with this approach, as long as 'yet' is part of the same string as the rest of the sentence. This way, the translators can move the tags to a suitable part of the sentence.

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.

5 participants