Browse Source

Add {% load i18n %} in internationalized templates

producao
Sesostris Vieira 10 years ago
parent
commit
ea04ebfd94
  1. 1
      sigi/apps/casas/templates/admin/casas/change_list.html
  2. 1
      sigi/apps/convenios/templates/convenios/change_list.html
  3. 1
      sigi/apps/convenios/templates/convenios/tabela_regiao.html
  4. 1
      sigi/apps/diagnosticos/templates/diagnosticos/diagnostico_pdf.html
  5. 1
      sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_casa_legislativa_form.html
  6. 1
      sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_contatos_form.html
  7. 1
      sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_form.html
  8. 1
      sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_list.html
  9. 1
      sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_list.html
  10. 3
      sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html
  11. 1
      sigi/apps/metas/templates/metas/dashboard.html
  12. 1
      sigi/apps/metas/templates/metas/map_list.html
  13. 1
      sigi/apps/metas/templates/metas/map_sum.html
  14. 1
      sigi/apps/metas/templates/metas/snippets.html
  15. 1
      sigi/apps/servicos/templates/servicos/mapa.html
  16. 1
      sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html
  17. 1
      sigi/apps/servidores/templates/servidores/servidores_por_cargo.html
  18. 1
      sigi/apps/servidores/templates/servidores/servidores_por_funcao.html
  19. 1
      templates/503.html
  20. 2
      templates/admin/base.html
  21. 1
      templates/admin/tabs_style.html
  22. 1
      templates/base_mobile.html
  23. 1
      templates/base_report.html
  24. 1
      templates/mobile/404.html
  25. 1
      templates/snippets/modules/charts-convenios.html

1
sigi/apps/casas/templates/admin/casas/change_list.html

@ -1,4 +1,5 @@
{% extends "change_list_with_cart.html" %} {% extends "change_list_with_cart.html" %}
{% load i18n %}
{% block object-tools-items %} {% block object-tools-items %}
<li><a href="casas_sem_convenio_report/{{query_str}}"> <li><a href="casas_sem_convenio_report/{{query_str}}">

1
sigi/apps/convenios/templates/convenios/change_list.html

@ -1,4 +1,5 @@
{% extends "change_list_with_cart.html" %} {% extends "change_list_with_cart.html" %}
{% load i18n %}
{% block search %} {% block search %}
<div id="toolbar"> <div id="toolbar">

1
sigi/apps/convenios/templates/convenios/tabela_regiao.html

@ -1,3 +1,4 @@
{% load i18n %}
<html> <html>
<head> <head>
<title>Relatório por Região</title> <title>Relatório por Região</title>

1
sigi/apps/diagnosticos/templates/diagnosticos/diagnostico_pdf.html

@ -1,4 +1,5 @@
{% load smart_if %} {% load smart_if %}
{% load i18n %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>

1
sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_casa_legislativa_form.html

@ -1,4 +1,5 @@
{% extends "base_mobile.html" %} {% extends "base_mobile.html" %}
{% load i18n %}
{% block media %} {% block media %}
{{ block.super }} {{ block.super }}

1
sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categoria_contatos_form.html

@ -1,4 +1,5 @@
{% extends "base_mobile.html" %} {% extends "base_mobile.html" %}
{% load i18n %}
{% block media %} {% block media %}
{{ block.super }} {{ block.super }}

1
sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_form.html

@ -1,4 +1,5 @@
{% extends "base_mobile.html" %} {% extends "base_mobile.html" %}
{% load i18n %}
{% block media %} {% block media %}
{{ block.super }} {{ block.super }}

1
sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_categorias_list.html

@ -1,4 +1,5 @@
{% extends "base_mobile.html" %} {% extends "base_mobile.html" %}
{% load i18n %}
{% block cabecalho %} {% block cabecalho %}
<h1>Categorias</h1> <h1>Categorias</h1>

1
sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_list.html

@ -1,4 +1,5 @@
{% extends "base_mobile.html" %} {% extends "base_mobile.html" %}
{% load i18n %}
{% block cabecalho %} {% block cabecalho %}
<h1>{% trans 'Diagnósticos' %}</h1> <h1>{% trans 'Diagnósticos' %}</h1>

3
sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html

@ -1,10 +1,11 @@
{% load static from staticfiles %} {% load static from staticfiles %}
{% load i18n %}
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html lang="pt-BR"> <html lang="pt-BR">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>SIGI - Login de Acesso</title> <title>{% trans 'SIGI - Login de Acesso' %}</title>
<link rel="stylesheet" href="{% static 'jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.css' %}" /> <link rel="stylesheet" href="{% static 'jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.css' %}" />
<script src="{% static '/js/jquery/jquery-1.6.4.min.js' %}" ></script> <script src="{% static '/js/jquery/jquery-1.6.4.min.js' %}" ></script>
<script language=javascript> <script language=javascript>

1
sigi/apps/metas/templates/metas/dashboard.html

@ -1,4 +1,5 @@
{% extends "admin/index.html" %} {% extends "admin/index.html" %}
{% load i18n %}
{% block title %}{% trans 'SIGI' %}{% endblock %} {% block title %}{% trans 'SIGI' %}{% endblock %}

1
sigi/apps/metas/templates/metas/map_list.html

@ -1,5 +1,6 @@
{% extends "base_report.html" %} {% extends "base_report.html" %}
{% load mapa_tags %} {% load mapa_tags %}
{% load i18n %}
{% block extra_head %} {% block extra_head %}
<style> <style>

1
sigi/apps/metas/templates/metas/map_sum.html

@ -1,4 +1,5 @@
{% extends "base_report.html" %} {% extends "base_report.html" %}
{% load i18n %}
{% block extra_head %} {% block extra_head %}
<style> <style>

1
sigi/apps/metas/templates/metas/snippets.html

@ -1,4 +1,5 @@
{% load charts %} {% load charts %}
{% load i18n %}
{# ------------- Todas as metas ------------- #} {# ------------- Todas as metas ------------- #}
<div style="height: 300px;" class="module"> <div style="height: 300px;" class="module">

1
sigi/apps/servicos/templates/servicos/mapa.html

@ -1,4 +1,5 @@
{% extends "admin/index.html" %} {% extends "admin/index.html" %}
{% load i18n %}
{% block title %}{% trans 'SIGI' %}{% endblock %} {% block title %}{% trans 'SIGI' %}{% endblock %}

1
sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html

@ -1,4 +1,5 @@
{% extends 'base_change_form.html' %} {% extends 'base_change_form.html' %}
{% load i18n %}
{% block form_top %} {% block form_top %}
{% if adminform.form.instance.user %} {% if adminform.form.instance.user %}

1
sigi/apps/servidores/templates/servidores/servidores_por_cargo.html

@ -1,4 +1,5 @@
{% extends "base_report.html" %} {% extends "base_report.html" %}
{% load i18n %}
{% block extra_head %} {% block extra_head %}
<style type="text/css"> <style type="text/css">

1
sigi/apps/servidores/templates/servidores/servidores_por_funcao.html

@ -1,4 +1,5 @@
{% extends "base_report.html" %} {% extends "base_report.html" %}
{% load i18n %}
{% block extra_head %} {% block extra_head %}
<style type="text/css"> <style type="text/css">

1
templates/503.html

@ -1,4 +1,5 @@
{% extends "admin/base_site.html" %} {% extends "admin/base_site.html" %}
{% load i18n %}
{% block title %}{% trans 'Serviço em manutenção (503) | SIGI' %}{% endblock %} {% block title %}{% trans 'Serviço em manutenção (503) | SIGI' %}{% endblock %}

2
templates/admin/base.html

@ -1,5 +1,6 @@
{% load admin_static bootstrapped_goodies_tags %} {% load admin_static bootstrapped_goodies_tags %}
{% load tree_menu_tags %} {% load tree_menu_tags %}
{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head> <head>
@ -43,7 +44,6 @@
//]]> //]]>
</script> </script>
</head> </head>
{% load i18n %}
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"> <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">

1
templates/admin/tabs_style.html

@ -1,4 +1,5 @@
{% load static from staticfiles %} {% load static from staticfiles %}
{% load i18n %}
<!--CSS JQuery--> <!--CSS JQuery-->
<link type="text/css" href="{% static 'css/jquery/smoothness/jquery.ui.all.css' %}" rel="stylesheet" /> <link type="text/css" href="{% static 'css/jquery/smoothness/jquery.ui.all.css' %}" rel="stylesheet" />

1
templates/base_mobile.html

@ -1,4 +1,5 @@
{% load static from staticfiles %} {% load static from staticfiles %}
{% load i18n %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="pt-BR"> <html lang="pt-BR">
<head> <head>

1
templates/base_report.html

@ -1,5 +1,6 @@
{% load smart_if %} {% load smart_if %}
{% load static from staticfiles %} {% load static from staticfiles %}
{% load i18n %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>

1
templates/mobile/404.html

@ -1,4 +1,5 @@
{% extends "base_mobile.html" %} {% extends "base_mobile.html" %}
{% load i18n %}
{% block cabecalho %} {% block cabecalho %}
<h1>{% trans 'Ocorreu um erro' %}</h1> <h1>{% trans 'Ocorreu um erro' %}</h1>

1
templates/snippets/modules/charts-convenios.html

@ -1,4 +1,5 @@
{% load static from staticfiles %} {% load static from staticfiles %}
{% load i18n %}
<div class="row row-flex row-flex-wrap"> <div class="row row-flex row-flex-wrap">

Loading…
Cancel
Save