Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed Jul 22, 2019
2 parents 1be3bfa + dadf575 commit 5c35d25
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ src/ARte/users/media/
docker/media/

# translations
*.mo
*.mo
*.po~
19 changes: 18 additions & 1 deletion locale/pt_BR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/ARte/core/jinja2/core/header.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{% if request.user.is_authenticated %}
<div class="welcome">
<p>
Welcome, <a href="{{ url('profile') }}">{{ request.user.username }}</a>
{{_("Welcome, ")}}<a href="{{ url('profile') }}">{{ request.user.username }}</a>
</p>
</div>

Expand Down
8 changes: 4 additions & 4 deletions src/ARte/core/jinja2/core/home.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
<section class="use-guide">
<div class="container">
<h2>Welcome to Jandig</h2>
<blockquote>An open source Augmented Reality art community.</blockquote>
<p>To see the artworks you need to grant camera access to the app.</p>
<h2>{{_("Welcome to Jandig")}}</h2>
<blockquote>{{_("An open source Augmented Reality art community.")}}</blockquote>
<p>{{_("To see the artworks you need to grant camera access to the app.")}}</p>
<div class="go-to-camera">
<a href="/exhibit_select" class="button">{{ _('Go to camera') }}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/ARte/users/jinja2/users/artwork-create.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

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

<div class="form-options">
<p>
Expand Down

0 comments on commit 5c35d25

Please sign in to comment.