| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| djangoapps | ||
| envs | ||
| lib | ||
| static | ||
| templates | ||
| .coveragerc | ||
| __init__.py | ||
| startup.py | ||
| urls.py | ||
| urls_dev.py | ||
| wsgi.py |
Modify Django's translation library, such that the gettext family of
functions return an empty string when attempting to translate a
falsey value. This overrides the default behavior [0]:
> It is convention with GNU gettext to include meta-data as the
> translation for the empty string.
This patch provides a holistic solution to replace the current piecemeal
approach [1][2].
Affected Methods:
- gettext
- ugettext
[0] https://docs.python.org/2.7/library/gettext.html#the-gnutranslations-class
[1] bad803e4
[2] https://github.com/edx/edx-platform/pull/4653
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| djangoapps | Loading commit data... | |
| envs | Loading commit data... | |
| lib | Loading commit data... | |
| static | Loading commit data... | |
| templates | Loading commit data... | |
| .coveragerc | Loading commit data... | |
| __init__.py | Loading commit data... | |
| startup.py | Loading commit data... | |
| urls.py | Loading commit data... | |
| urls_dev.py | Loading commit data... | |
| wsgi.py | Loading commit data... |