Skip to content

Commit 5c35d25

Browse files
committed
Merge branch 'develop'
2 parents 1be3bfa + dadf575 commit 5c35d25

5 files changed

Lines changed: 26 additions & 8 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ src/ARte/users/media/
2222
docker/media/
2323

2424
# translations
25-
*.mo
25+
*.mo
26+
*.po~

locale/pt_BR/LC_MESSAGES/django.po

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-07-18 12:07-0300\n"
10+
"POT-Creation-Date: 2019-07-22 13:58+0000\n"
1111
"PO-Revision-Date: 2019-07-18 12:13-0300\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -189,6 +189,11 @@ msgstr ""
189189
"Conteúdo sob licenciamento CC BY-SA, a não ser quando explicitado o "
190190
"contrário."
191191

192+
#: src/ARte/core/jinja2/core/header.jinja2:21
193+
#, fuzzy
194+
msgid "Welcome, "
195+
msgstr "Bem vindo, "
196+
192197
#: src/ARte/core/jinja2/core/header.jinja2:28
193198
#: src/ARte/users/jinja2/users/login.jinja2:16
194199
#: src/ARte/users/jinja2/users/signup.jinja2:14
@@ -200,6 +205,18 @@ msgstr "Cadastro"
200205
msgid "Log in"
201206
msgstr "Entrar"
202207

208+
#: src/ARte/core/jinja2/core/home.jinja2:38
209+
msgid "Welcome to Jandig"
210+
msgstr "Bem vindo ao Jandig"
211+
212+
#: src/ARte/core/jinja2/core/home.jinja2:39
213+
msgid "An open source Augmented Reality art community."
214+
msgstr "Uma comunidade open source de arte em Realidade Aumentada."
215+
216+
#: src/ARte/core/jinja2/core/home.jinja2:40
217+
msgid "To see the artworks you need to grant camera access to the app."
218+
msgstr "Para ver as obras você precisa dar acesso a câmera no aplicativo"
219+
203220
#: src/ARte/core/jinja2/core/home.jinja2:42
204221
msgid "Go to camera"
205222
msgstr "Ir para câmera"

src/ARte/core/jinja2/core/header.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% if request.user.is_authenticated %}
1919
<div class="welcome">
2020
<p>
21-
Welcome, <a href="{{ url('profile') }}">{{ request.user.username }}</a>
21+
{{_("Welcome, ")}}<a href="{{ url('profile') }}">{{ request.user.username }}</a>
2222
</p>
2323
</div>
2424

src/ARte/core/jinja2/core/home.jinja2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
{% if (request.user.is_authenticated and request.path == '/community/') or (request.path == '/community/')%}
3030
{% block community %}
3131
{% endblock %}
32-
{% elif (request.user.is_authenticated) or (request.path == '/collection/') or (request.path == '/documentation/') %}
32+
{% elif (request.user.is_authenticated) or (request.path == "/exhibit/") or (request.path == '/collection/') or (request.path == '/documentation/') %}
3333
{% block content %}
3434
{% endblock %}
3535
{% else %}
3636
<section class="use-guide">
3737
<div class="container">
38-
<h2>Welcome to Jandig</h2>
39-
<blockquote>An open source Augmented Reality art community.</blockquote>
40-
<p>To see the artworks you need to grant camera access to the app.</p>
38+
<h2>{{_("Welcome to Jandig")}}</h2>
39+
<blockquote>{{_("An open source Augmented Reality art community.")}}</blockquote>
40+
<p>{{_("To see the artworks you need to grant camera access to the app.")}}</p>
4141
<div class="go-to-camera">
4242
<a href="/exhibit_select" class="button">{{ _('Go to camera') }}</a>
4343
</div>

src/ARte/users/jinja2/users/artwork-create.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
{% with repository_list = marker_list, element_type = 'marker', selected=selected_marker %}
4242
{% include "users/components/repository-list.jinja2" %}
43-
{% endwith%}
43+
{% endwith %}
4444

4545
<div class="form-options">
4646
<p>

0 commit comments

Comments
 (0)