From c6a3b4343fb90141090f92dd267669bfa9efbc27 Mon Sep 17 00:00:00 2001 From: elyrichardson Date: Mon, 31 Aug 2015 13:35:35 -0300 Subject: [PATCH 1/3] update base.html translations --- translations/babel.cfg | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 translations/babel.cfg diff --git a/translations/babel.cfg b/translations/babel.cfg new file mode 100644 index 000000000..a23bf6ee6 --- /dev/null +++ b/translations/babel.cfg @@ -0,0 +1,5 @@ +[python: **.py] +[jinja2: themes/pybossa-default-theme/**/templates/**.html] +[jinja2: themes/pybossa-default-theme/templates/home/_pybossa_text.html] +extensions=jinja2.ext.autoescape,jinja2.ext.with_ + From bad2bb3f20db9c2dfea36edec7e1e58dce46f50e Mon Sep 17 00:00:00 2001 From: elyrichardson Date: Mon, 31 Aug 2015 13:42:16 -0300 Subject: [PATCH 2/3] update base.html translations --- templates/base.html | 2 +- translations/pt_BR/LC_MESSAGES/messages.mo | Bin 48041 -> 49913 bytes translations/pt_BR/LC_MESSAGES/messages.po | 407 +++++++++++++-------- 3 files changed, 259 insertions(+), 150 deletions(-) diff --git a/templates/base.html b/templates/base.html index 7ef1b8d11..a53d3df91 100644 --- a/templates/base.html +++ b/templates/base.html @@ -54,7 +54,7 @@ {% if show_cookies_warning %}
-

Cookies help us deliver our services. By using our services, you agree to our use of cookies. More info

+

{{ _('Cookies help us deliver our services. By using our services, you agree to our use of cookies.') }} {{ _('More info') }}

{% endif %}