Wikimedia
[Tracker] Prohibit trailing whitespace in messages
Problem
Developers sometimes unintentionally add a message with trailing whitespace. This can confuse translator community in translatewiki.net (translatewiki software adds a backslash as an indicator to not trim the message). Since trailing whitespace is never meaningful in those messages, it's safe to prohibit them.
Proposed solution
Add a test that prohibits trailing whitespace in messages (django.pot/djangojs.pot and also all other .pot files which may be added in the future).
Student is expected to send a patch for wikimedia-cz/tracker
repository, hosted at Wikimedia Gerrit. When claiming task on GCI website, student should claim a respective Phabricator task as well.
Materials
- Tracker in production
- Test Tracker version - you can play with Tracker freely here
- Codebase
Task tags
Students who completed this task
RishabhL