Hello everyone! I’m Arian, a Computer Science student, one of the students accepted in the Google Summer of Code Program. This is my 2nd update, and you can view my introductory post here.
Previously, validators had no way of knowing if there are new strings waiting for approval; one had to check individual translation sets. The newest feature addition for this week fixes exactly that problem – an Email Notification Script for Glotpress Validators. When run, validators are emailed when there are waiting strings they can validate on translation sets they approve.
Related Ticket/s: https://glotpress.trac.wordpress.org/ticket/334, https://glotpress.trac.wordpress.org/ticket/100
The email is simple enough, outlining number of waiting strings (number in parenthesis) and a link to the corresponding translation set.
For those hosting their own glotpress copies, the script is located at the scripts directory, along with other scripts. The script is simply passed to the php interpreter without any arguments (php scripts/notify-validators.php
). You can then of course use a CRON job to automatically send out validation emails. Be sure to define your SMTP settings properly!
I also managed to add Unit Tests and Code Improvements to the previously added feature (Profile Project Shortcuts), properly separating template and logic code.
Related Ticket/s: https://glotpress.trac.wordpress.org/ticket/299
Schedule-wise, development has been pretty good! I was supposed to prettify the dashboard this week, but with that done, I’ll be working on a new exciting feature this week – Badges! We already have a list of badge ideas, awarding them based on approved translations, but definitely comment below if you have ideas for badges!
Thanks, and Ciao~!