-
Notifications
You must be signed in to change notification settings - Fork 10
Adicionar tags de tradução em templates do journalpage #1332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
bc2705f
f550811
f54d6bb
e5fd26c
b5a8792
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,4 +1,5 @@ | ||||||
| {% load static compress %} | ||||||
| {% load i18n %} | ||||||
|
|
||||||
| <section class="journalContacts pt-4 pb-4"> | ||||||
| <div class="container"> | ||||||
|
|
@@ -15,7 +16,7 @@ | |||||
| {% endif %} | ||||||
| {% if journal.journal_email.all %} | ||||||
| {% for email in journal.journal_email.all %} | ||||||
| <strong>E-mail:</strong> {{ email.email }} | ||||||
| <strong>{% trans 'E-mail' %}:</strong> {{ email.email }} | ||||||
| {% endfor%} | ||||||
| {% endif %} | ||||||
| </div> | ||||||
|
|
@@ -25,7 +26,7 @@ | |||||
| <div class="col-12 col-sm-4 text-center text-sm-start pt-4 pt-sm-0"> | ||||||
| <a href="#" data-toggle="tooltip" title="RSS do número mais recente do periódico" target="_blank"><span class="material-icons-outlined">rss_feed</span></a> | ||||||
|
||||||
| <span> | ||||||
| Acompanhe os números deste periódico no seu leitor de RSS | ||||||
| {% trans 'Acompanhe os números deste periódico no seu leitor de RSS' %} | ||||||
| </span> | ||||||
| {% for sn in journal.social_networks %} | ||||||
| <a href="{{sn.account}}" data-toggle="tooltip" title="{{sn.network|title}}"> | ||||||
|
|
@@ -42,7 +43,7 @@ | |||||
| > | ||||||
| </span> | ||||||
| {% if loop.last %} | ||||||
|
||||||
| {% if loop.last %} | |
| {% if forloop.last %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| {% load static compress %} | ||
| {% load i18n %} | ||
|
|
||
| <footer> | ||
| <section class="address-scielo pt-4 pb-4 mt-5"> | ||
|
|
@@ -54,7 +55,7 @@ | |
| <a href="#"> | ||
| <img src="{% static 'journal_about/img/logo-open-access.svg' %}" alt="Open Access" class="logo-open-access"> | ||
| </a> | ||
| <a href="#">Leia</a> a Declaração de Acesso Aberto | ||
| {% blocktrans %}<a href="#">Leia</a> a Declaração de Acesso Aberto{% endblocktrans %} | ||
| </p> | ||
|
Comment on lines
+58
to
59
|
||
| </div> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,7 @@ <h1 class="h4" style="margin: 1rem auto"> | |
| <!-- Ini - Se houver um outro título--> | ||
| {% if journal.next_title %} | ||
| <span class="otherTitle"> | ||
| <span>Novo título:</span> | ||
| <span>{% trans 'Novo título' %}:</span> | ||
| {% if journal.url_next_journal %} | ||
| <a href="#" class="NewCollectionLink"> | ||
| {{ journal.next_title }} | ||
|
|
@@ -67,7 +67,7 @@ <h1 class="h4" style="margin: 1rem auto"> | |
| <!-- Ini - Se houver um outro título antigo --> | ||
| {% if journal.previous_journal_ref %} | ||
| <span class="otherTitle"> | ||
| <span>Título anterior:</span> | ||
| <span>{% trans 'Título anterior' %}:</span> | ||
| {% if journal.url_previous_journal %} | ||
| <a href="#" class="NewCollectionLink"> | ||
| {{ journal.previous_journal_ref }} | ||
|
|
@@ -84,21 +84,21 @@ <h1 class="h4" style="margin: 1rem auto"> | |
| <div class="col-3 pt-5"> | ||
| <div class="list-group"> | ||
| {% if journal.online_submission_url and journal.current_status == 'current' %} | ||
| <a class="list-group-item" href="{{ journal.online_submission_url }}" target="_blank"><span class="material-icons-outlined">launch</span> Submissão de manuscritos</a> | ||
| <a class="list-group-item" href="{{ journal.online_submission_url }}" target="_blank"><span class="material-icons-outlined">launch</span> {% trans 'Submissão de manuscritos' %}</a> | ||
| {% endif %} | ||
| <a class="list-group-item" href="{% routablepageurl page 'bibliographic' acron_collection acron_journal %}#item-1"><span class="material-icons-outlined">info</span> {% trans 'Sobre o periódico' %}</a> | ||
| <a class="list-group-item" href="{% routablepageurl page 'bibliographic' acron_collection acron_journal %}#item-3"><span class="material-icons-outlined">people</span> {% trans 'Corpo Editorial' %}</a> | ||
| <a class="list-group-item" href="{% routablepageurl page 'bibliographic' acron_collection acron_journal %}#item-4"><span class="material-icons-outlined">help_outline</span> {% trans 'Instruções aos autores' %}</a> | ||
| <a class="list-group-item" href="{% routablepageurl page 'bibliographic' acron_collection acron_journal %}#item-2"><span class="material-icons-outlined">article</span> {% trans 'Política editorial' %}</a> | ||
| {% if journal.enable_contact %} | ||
| <a class="list-group-item" href="javascript:;" class="contact_modal_id" data-url="#"> | ||
| <span class="glyphBtn contact"></span> Contato | ||
| <span class="glyphBtn contact"></span> {% trans 'Contato' %} | ||
| </a> | ||
|
Comment on lines
94
to
96
|
||
| {% endif %} | ||
| {% if journal.social_networks %} | ||
| <a class="list-group-item" href="#followus"> | ||
| <span class="glyphBtn otherNetworks"></span> | ||
| Siga-nos | ||
| {% trans 'Siga-nos' %} | ||
| </a> | ||
| {% endif %} | ||
| </ul> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,7 +77,7 @@ | |
| <span class="material-icons-outlined">navigate_before</span> | ||
| </a> | ||
| <a href="#" class="btn btn-secondary"> | ||
| Atual | ||
| {% trans 'Atual' %} | ||
| </a> | ||
|
|
||
| <a href="#" class="btn btn-secondary scielo__btn-with-icon--only --disabled"> | ||
|
|
@@ -119,7 +119,7 @@ <h2> </h2> | |
| <div class="col-md-2 col-sm-2"> | ||
| <h2> </h2> | ||
|
|
||
| <a target="_blank" href="http://analytics.scielo.org/?journal=0102-6720&collection=scl" class="btn single"><span class="material-icons-outlined">show_chart</span> métricas</a> | ||
| <a target="_blank" href="http://analytics.scielo.org/?journal=0102-6720&collection=scl" class="btn single"><span class="material-icons-outlined">show_chart</span> {% trans 'métricas' %}</a> | ||
|
|
||
|
Comment on lines
120
to
123
|
||
| </div> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| <span class="material-icons-outlined">share</span> | ||
| </button> | ||
| <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="btnGroupDrop1"> | ||
| <li><a href="javascript:window.print();" class="dropdown-item">Imprimir</a></li> | ||
| <li><a href="javascript:window.print();" class="dropdown-item">{% trans 'Imprimir' %}</a></li> | ||
| <li><a href="#" type="button" class="dropdown-item" target="_blank">RSS</a></li> | ||
| <li><a href="javascript:;" class="dropdown-item share_modal_id">E-mail</a></li> | ||
|
Comment on lines
+7
to
9
|
||
| <li><hr class="dropdown-divider"></li> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Não precisa de tag trans para E-mail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samuelveigarangel precisamos estar preparados para outros idiomas que não en, es, pt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E-mail não é universal ?