Ensure a pull request updates the translation files
As of right now:
$ make collect_translations
...
$ git diff --stat
ideascube/locale/am/LC_MESSAGES/django.po | 773 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------
ideascube/locale/am/LC_MESSAGES/djangojs.po | 2 +-
ideascube/locale/ar/LC_MESSAGES/django.po | 813 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------
ideascube/locale/ar/LC_MESSAGES/djangojs.po | 2 +-
ideascube/locale/bm/LC_MESSAGES/django.po | 773 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------
ideascube/locale/bm/LC_MESSAGES/djangojs.po | 2 +-
ideascube/locale/en/LC_MESSAGES/django.po | 773 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------
ideascube/locale/en/LC_MESSAGES/djangojs.po | 2 +-
ideascube/locale/es/LC_MESSAGES/django.po | 879 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------
ideascube/locale/es/LC_MESSAGES/djangojs.po | 2 +-
ideascube/locale/fr/LC_MESSAGES/django.po | 813 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------
ideascube/locale/fr/LC_MESSAGES/djangojs.po | 2 +-
ideascube/locale/so/LC_MESSAGES/django.po | 775 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------
ideascube/locale/so/LC_MESSAGES/djangojs.po | 2 +-
ideascube/locale/sw/LC_MESSAGES/django.po | 773 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------
ideascube/locale/sw/LC_MESSAGES/djangojs.po | 2 +-
16 files changed, 3754 insertions(+), 2634 deletions(-)
We've been pretty bad at keeping up with the translations... We've added and modified strings, but haven't updated the .po
files accordingly.
Which also means these strings can't be translated in Transifex.
I propose that we get the CI to run make collect_translations
and to fail the build if anything has changed.
This way, we would be forced to at least update the strings in the source tree along with the pull request which changes the strings.
It might also help us think about pushing them to Transifex. (because updating them in the source code is certainly not enough)