WordPress / wporg-parent-2021

21 stars 11 forks source link

Block styles: Add context to the translations for style names #133

Closed ryelle closed 7 months ago

ryelle commented 7 months ago

The block style names are sent to GlotPress with no context, so it's hard to know how to translate them. This adds some content (simply, "block style name") to all the block styles. There should be no change for English sites.

@audrasjb Does this work, or should I only add it to the most-recently added names? IIRC this invalidates the previous translations, so I don't want to keep causing more work for you all 😅

audrasjb commented 7 months ago

Thanks for handling this @ryelle! I think the related translations will be fuzzied but I don't think it's an issue as long as it is communicated ahead of the change to polyglots via a Make/Polyglots post for big changes or a #polyglots announcement on Slack for small changes.