diff --git a/.gitignore b/.gitignore index d898fb90..f4bc373d 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,5 @@ src/ARte/users/media/ docker/media/ # translations -*.mo \ No newline at end of file +*.mo +*.po~ diff --git a/locale/pt_BR/LC_MESSAGES/django.po b/locale/pt_BR/LC_MESSAGES/django.po index bcb842b4..ec7eeb1c 100644 --- a/locale/pt_BR/LC_MESSAGES/django.po +++ b/locale/pt_BR/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-18 12:07-0300\n" +"POT-Creation-Date: 2019-07-22 13:58+0000\n" "PO-Revision-Date: 2019-07-18 12:13-0300\n" "Last-Translator: \n" "Language-Team: \n" @@ -189,6 +189,11 @@ msgstr "" "Conteúdo sob licenciamento CC BY-SA, a não ser quando explicitado o " "contrário." +#: src/ARte/core/jinja2/core/header.jinja2:21 +#, fuzzy +msgid "Welcome, " +msgstr "Bem vindo, " + #: src/ARte/core/jinja2/core/header.jinja2:28 #: src/ARte/users/jinja2/users/login.jinja2:16 #: src/ARte/users/jinja2/users/signup.jinja2:14 @@ -200,6 +205,18 @@ msgstr "Cadastro" msgid "Log in" msgstr "Entrar" +#: src/ARte/core/jinja2/core/home.jinja2:38 +msgid "Welcome to Jandig" +msgstr "Bem vindo ao Jandig" + +#: src/ARte/core/jinja2/core/home.jinja2:39 +msgid "An open source Augmented Reality art community." +msgstr "Uma comunidade open source de arte em Realidade Aumentada." + +#: src/ARte/core/jinja2/core/home.jinja2:40 +msgid "To see the artworks you need to grant camera access to the app." +msgstr "Para ver as obras você precisa dar acesso a câmera no aplicativo" + #: src/ARte/core/jinja2/core/home.jinja2:42 msgid "Go to camera" msgstr "Ir para câmera" diff --git a/src/ARte/core/jinja2/core/header.jinja2 b/src/ARte/core/jinja2/core/header.jinja2 index 68833ebf..2fbd236e 100644 --- a/src/ARte/core/jinja2/core/header.jinja2 +++ b/src/ARte/core/jinja2/core/header.jinja2 @@ -18,7 +18,7 @@ {% if request.user.is_authenticated %}

- Welcome, {{ request.user.username }} + {{_("Welcome, ")}}{{ request.user.username }}

diff --git a/src/ARte/core/jinja2/core/home.jinja2 b/src/ARte/core/jinja2/core/home.jinja2 index 6cdbda24..2e1156e3 100644 --- a/src/ARte/core/jinja2/core/home.jinja2 +++ b/src/ARte/core/jinja2/core/home.jinja2 @@ -29,15 +29,15 @@ {% if (request.user.is_authenticated and request.path == '/community/') or (request.path == '/community/')%} {% block community %} {% endblock %} - {% elif (request.user.is_authenticated) or (request.path == '/collection/') or (request.path == '/documentation/') %} + {% elif (request.user.is_authenticated) or (request.path == "/exhibit/") or (request.path == '/collection/') or (request.path == '/documentation/') %} {% block content %} {% endblock %} {% else %}
-

Welcome to Jandig

-
An open source Augmented Reality art community.
-

To see the artworks you need to grant camera access to the app.

+

{{_("Welcome to Jandig")}}

+
{{_("An open source Augmented Reality art community.")}}
+

{{_("To see the artworks you need to grant camera access to the app.")}}

diff --git a/src/ARte/users/jinja2/users/artwork-create.jinja2 b/src/ARte/users/jinja2/users/artwork-create.jinja2 index 6b74b3e6..70dc5e39 100644 --- a/src/ARte/users/jinja2/users/artwork-create.jinja2 +++ b/src/ARte/users/jinja2/users/artwork-create.jinja2 @@ -40,7 +40,7 @@ {% with repository_list = marker_list, element_type = 'marker', selected=selected_marker %} {% include "users/components/repository-list.jinja2" %} - {% endwith%} + {% endwith %}