Wikimedia

[Tracker] Some permission denied messages in views.py are not internationalized

Problem

Some permission denied messages in views.py aren't internationalized, which makes it harder for non-English users to understand the problem. Django uses _() to mark strings for translation.

Solution

Internationalize PermissionDenied messages that currently aren't i18n'ed. You should find all messages that aren't wrapped in _() yet, and do so.

Student is expected to send a patch for wikimedia-cz/tracker repository, hosted at Wikimedia Gerrit. When claiming task on GCI website, students should claim a respective Phabricator task as well.

Materials

Task tags

  • python
  • django

Students who completed this task

RishabhL

Task type

  • code Code
close

2019