diff --git a/base/apps.py b/base/apps.py index fb6fe8a5a..e11a474b4 100644 --- a/base/apps.py +++ b/base/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class BaseAppConfig(AppConfig): name = 'base' - verbose_name = 'Dados Básicos' + verbose_name = _('Dados Básicos') diff --git a/comissoes/apps.py b/comissoes/apps.py index ec4ef962e..906f1d04b 100644 --- a/comissoes/apps.py +++ b/comissoes/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class ComissoesAppConfig(AppConfig): name = 'comissoes' - verbose_name = 'Comissões' + verbose_name = _('Comissões') diff --git a/lexml/apps.py b/lexml/apps.py index e7f97a7a8..b72fc8ea3 100644 --- a/lexml/apps.py +++ b/lexml/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class LexmlAppConfig(AppConfig): name = 'lexml' - verbose_name = 'LexML' + verbose_name = _('LexML') diff --git a/materia/apps.py b/materia/apps.py index cc175e0d1..2c6d5591b 100644 --- a/materia/apps.py +++ b/materia/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class MateriaAppConfig(AppConfig): name = 'materia' - verbose_name = 'Matéria' + verbose_name = _('Matéria') diff --git a/norma/apps.py b/norma/apps.py index 7ccf9bee1..14856aa71 100644 --- a/norma/apps.py +++ b/norma/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class NormaAppConfig(AppConfig): name = 'norma' - verbose_name = 'Norma Jurídica' + verbose_name = _('Norma Jurídica') diff --git a/parlamentares/apps.py b/parlamentares/apps.py index a1ef915ed..0b3610405 100644 --- a/parlamentares/apps.py +++ b/parlamentares/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class ParlamentaresAppConfig(AppConfig): name = 'parlamentares' - verbose_name = 'Parlamentares' + verbose_name = _('Parlamentares') diff --git a/protocoloadm/apps.py b/protocoloadm/apps.py index eb1febe73..c163d149c 100644 --- a/protocoloadm/apps.py +++ b/protocoloadm/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class ProtocoloadmAppConfig(AppConfig): name = 'protocoloadm' - verbose_name = 'Protocolo Administrativo' + verbose_name = _('Protocolo Administrativo') diff --git a/sessao/apps.py b/sessao/apps.py index ecfbf2ea8..61cc61856 100644 --- a/sessao/apps.py +++ b/sessao/apps.py @@ -1,6 +1,7 @@ from django.apps import AppConfig +from django.utils.translation import ugettext_lazy as _ class SessaoAppConfig(AppConfig): name = 'sessao' - verbose_name = 'Sessão Plenária' + verbose_name = _('Sessão Plenária')