diff --git a/src/accounts/templates/accounts/user_detail.html b/src/accounts/templates/accounts/user_detail.html index b0ee97c..b284f26 100644 --- a/src/accounts/templates/accounts/user_detail.html +++ b/src/accounts/templates/accounts/user_detail.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% load i18n gravatar %} +{% load i18n gravatar i18n_model %} {% block head_js %} @@ -108,7 +108,8 @@
{% for badge in user_.badge_set.all %} - + {% translate badge as badge_trans %} + {% endfor %}
diff --git a/src/colab/custom_settings.py b/src/colab/custom_settings.py index a1bae68..f83cd99 100644 --- a/src/colab/custom_settings.py +++ b/src/colab/custom_settings.py @@ -8,8 +8,8 @@ TIME_ZONE = 'America/Sao_Paulo' gettext = lambda s: s LANGUAGES = ( - ('pt-br', gettext('Portuguese')), ('en', gettext('English')), + ('pt-br', gettext('Portuguese')), ('es', gettext('Spanish')), ) @@ -18,7 +18,7 @@ DJANGO_DATE_FORMAT_TO_JS = { 'es': ('es', 'dd/MM/yyyy'), } -LANGUAGE_CODE = 'pt-br' +LANGUAGE_CODE = 'en' # The absolute path to the folder containing the attachments ATTACHMENTS_FOLDER_PATH = '/home/colab/trac/attachments/' -- libgit2 0.21.2