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 |
---|---|---|
.. | ||
cache_toolbox | Loading commit data... | |
config_models | Loading commit data... | |
contentserver | Loading commit data... | |
course_action_state | Loading commit data... | |
course_groups | Loading commit data... | |
course_modes | Loading commit data... | |
dark_lang | Loading commit data... | |
datadog | Loading commit data... | |
django_comment_common | Loading commit data... | |
django_future | Loading commit data... | |
edxmako | Loading commit data... | |
embargo | Loading commit data... | |
external_auth | Loading commit data... | |
geoinfo | Loading commit data... | |
heartbeat | Loading commit data... | |
lang_pref | Loading commit data... | |
microsite_configuration | Loading commit data... | |
monitoring | Loading commit data... | |
monkey_patch | Loading commit data... | |
pipeline_js | Loading commit data... | |
pipeline_mako | Loading commit data... | |
request_cache | Loading commit data... | |
reverification | Loading commit data... | |
service_status | Loading commit data... | |
session_inactivity_timeout | Loading commit data... | |
static_replace | Loading commit data... | |
status | Loading commit data... | |
student | Loading commit data... | |
terrain | Loading commit data... | |
third_party_auth | Loading commit data... | |
track | Loading commit data... | |
user_api | Loading commit data... | |
util | Loading commit data... | |
xmodule_django | Loading commit data... | |
xmodule_modifiers.py | Loading commit data... |