[wp-meta] [Making WordPress.org] #5152: Put a limit on adding new translation after multiple warnings
Making WordPress.org
noreply at wordpress.org
Thu Apr 16 08:13:13 UTC 2020
#5152: Put a limit on adding new translation after multiple warnings
--------------------------------------+-----------------------
Reporter: Nao | Owner: dd32
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Translate Site & Plugins | Resolution:
Keywords: |
--------------------------------------+-----------------------
Comment (by garrett-eclipse):
I can give a hand migrating the GlotDict warnings (JS) into the custom
warnings (PHP) plugin here;
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/plugins/wporg-gp-custom-warnings/wporg-gp-custom-warnings.php
Would all GlotDict checks be desired?
- Validation for final "...", ".", ":"
- Validation for final ;.!:、。؟?!
- First letter in translation is not uppercase but the original string is
- Detect first and last character if they are space
- Missing term translated using the locale glossary
- Check for curly apostrophe
- Check for non typographic quotes
And would it be toggle-able via user settings? In GlotDict all warnings
can be silenced individually if they aren't a fit for the locale or
translator.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5152#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list