From ea04ebfd943e9661fd39c235bfa876df6b6de74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 14 Oct 2014 14:43:02 -0300 Subject: [PATCH] Add {% load i18n %} in internationalized templates --- sigi/apps/casas/templates/admin/casas/change_list.html | 1 + sigi/apps/convenios/templates/convenios/change_list.html | 1 + sigi/apps/convenios/templates/convenios/tabela_regiao.html | 1 + .../diagnosticos/templates/diagnosticos/diagnostico_pdf.html | 1 + .../diagnosticos_categoria_casa_legislativa_form.html | 1 + .../diagnosticos/diagnosticos_categoria_contatos_form.html | 1 + .../templates/diagnosticos/diagnosticos_categorias_form.html | 1 + .../templates/diagnosticos/diagnosticos_categorias_list.html | 1 + .../diagnosticos/templates/diagnosticos/diagnosticos_list.html | 1 + .../templates/diagnosticos/diagnosticos_login.html | 3 ++- sigi/apps/metas/templates/metas/dashboard.html | 1 + sigi/apps/metas/templates/metas/map_list.html | 1 + sigi/apps/metas/templates/metas/map_sum.html | 1 + sigi/apps/metas/templates/metas/snippets.html | 1 + sigi/apps/servicos/templates/servicos/mapa.html | 1 + .../templates/admin/servidores/servidor/change_form.html | 1 + .../servidores/templates/servidores/servidores_por_cargo.html | 1 + .../servidores/templates/servidores/servidores_por_funcao.html | 1 + templates/503.html | 1 + templates/admin/base.html | 2 +- templates/admin/tabs_style.html | 1 + templates/base_mobile.html | 1 + templates/base_report.html | 1 + templates/mobile/404.html | 1 + templates/snippets/modules/charts-convenios.html | 1 + 25 files changed, 26 insertions(+), 2 deletions(-) diff --git a/sigi/apps/casas/templates/admin/casas/change_list.html b/sigi/apps/casas/templates/admin/casas/change_list.html index 359cc11..a135fc3 100644 --- a/sigi/apps/casas/templates/admin/casas/change_list.html +++ b/sigi/apps/casas/templates/admin/casas/change_list.html @@ -1,4 +1,5 @@ {% extends "change_list_with_cart.html" %} +{% load i18n %} {% block object-tools-items %}
  • diff --git a/sigi/apps/convenios/templates/convenios/change_list.html b/sigi/apps/convenios/templates/convenios/change_list.html index 7d7d146..3f0ce3e 100644 --- a/sigi/apps/convenios/templates/convenios/change_list.html +++ b/sigi/apps/convenios/templates/convenios/change_list.html @@ -1,4 +1,5 @@ {% extends "change_list_with_cart.html" %} +{% load i18n %} {% block search %}
    diff --git a/sigi/apps/convenios/templates/convenios/tabela_regiao.html b/sigi/apps/convenios/templates/convenios/tabela_regiao.html index 9f9b0b3..48db3eb 100644 --- a/sigi/apps/convenios/templates/convenios/tabela_regiao.html +++ b/sigi/apps/convenios/templates/convenios/tabela_regiao.html @@ -1,3 +1,4 @@ +{% load i18n %} Relatório por Região diff --git a/sigi/apps/diagnosticos/templates/diagnosticos/diagnostico_pdf.html b/sigi/apps/diagnosticos/templates/diagnosticos/diagnostico_pdf.html index fb22653..19477b5 100644 --- a/sigi/apps/diagnosticos/templates/diagnosticos/diagnostico_pdf.html +++ b/sigi/apps/diagnosticos/templates/diagnosticos/diagnostico_pdf.html @@ -1,4 +1,5 @@ {% load smart_if %} +{% load i18n %} diff --git a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_casa_legislativa_form.html b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_casa_legislativa_form.html index 259f0d8..3ad96c9 100644 --- a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_casa_legislativa_form.html +++ b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_casa_legislativa_form.html @@ -1,4 +1,5 @@ {% extends "base_mobile.html" %} +{% load i18n %} {% block media %} {{ block.super }} diff --git a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_contatos_form.html b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_contatos_form.html index 39b58a7..9ea8952 100644 --- a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_contatos_form.html +++ b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_contatos_form.html @@ -1,4 +1,5 @@ {% extends "base_mobile.html" %} +{% load i18n %} {% block media %} {{ block.super }} diff --git a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_form.html b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_form.html index d2ac2d8..e98347a 100644 --- a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_form.html +++ b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_form.html @@ -1,4 +1,5 @@ {% extends "base_mobile.html" %} +{% load i18n %} {% block media %} {{ block.super }} diff --git a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_list.html b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_list.html index e9b36ea..3116052 100644 --- a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_list.html +++ b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_list.html @@ -1,4 +1,5 @@ {% extends "base_mobile.html" %} +{% load i18n %} {% block cabecalho %}

    Categorias

    diff --git a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_list.html b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_list.html index 66cd6eb..82f43a2 100644 --- a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_list.html +++ b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_list.html @@ -1,4 +1,5 @@ {% extends "base_mobile.html" %} +{% load i18n %} {% block cabecalho %}

    {% trans 'Diagnósticos' %}

    diff --git a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html index cb05298..febbb33 100644 --- a/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html +++ b/sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html @@ -1,10 +1,11 @@ {% load static from staticfiles %} +{% load i18n %} - SIGI - Login de Acesso + {% trans 'SIGI - Login de Acesso' %} -{% load i18n %} diff --git a/templates/admin/tabs_style.html b/templates/admin/tabs_style.html index b9f8896..d9cecb7 100644 --- a/templates/admin/tabs_style.html +++ b/templates/admin/tabs_style.html @@ -1,4 +1,5 @@ {% load static from staticfiles %} +{% load i18n %} diff --git a/templates/base_mobile.html b/templates/base_mobile.html index f25b9b8..b834ff1 100644 --- a/templates/base_mobile.html +++ b/templates/base_mobile.html @@ -1,4 +1,5 @@ {% load static from staticfiles %} +{% load i18n %} diff --git a/templates/base_report.html b/templates/base_report.html index 6f14943..b92eb2a 100644 --- a/templates/base_report.html +++ b/templates/base_report.html @@ -1,5 +1,6 @@ {% load smart_if %} {% load static from staticfiles %} +{% load i18n %} diff --git a/templates/mobile/404.html b/templates/mobile/404.html index 8896455..95e81a3 100644 --- a/templates/mobile/404.html +++ b/templates/mobile/404.html @@ -1,4 +1,5 @@ {% extends "base_mobile.html" %} +{% load i18n %} {% block cabecalho %}

    {% trans 'Ocorreu um erro' %}

    diff --git a/templates/snippets/modules/charts-convenios.html b/templates/snippets/modules/charts-convenios.html index 23b2b6f..10b33b0 100644 --- a/templates/snippets/modules/charts-convenios.html +++ b/templates/snippets/modules/charts-convenios.html @@ -1,4 +1,5 @@ {% load static from staticfiles %} +{% load i18n %}