From 09c168408b7ab1aacba90aea37cf7ed5377c0331 Mon Sep 17 00:00:00 2001 From: gitnnolabs Date: Wed, 17 Nov 2021 07:12:17 -0300 Subject: [PATCH 1/2] =?UTF-8?q?Adiciona=20uma=20verifica=C3=A7=C3=A3o=20na?= =?UTF-8?q?s=20rotas=20legadas=20dos=20PDFs=20para=20garantir=20que=20n?= =?UTF-8?q?=C3=A3o=20levante=20uma=20exce=C3=A7=C3=A3o=20ao=20tentar=20ace?= =?UTF-8?q?ssar=20um=20PDF=20em=20que=20n=C3=A3o=20exista=20o=20peri=C3=B3?= =?UTF-8?q?dico=20na=20cole=C3=A7=C3=A3o.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opac/webapp/main/views.py | 8 ++++++++ opac/webapp/templates/errors/500.html | 2 +- opac/webapp/translations/en/LC_MESSAGES/messages.po | 6 ++---- opac/webapp/translations/es/LC_MESSAGES/messages.po | 6 ++---- opac/webapp/translations/es_ES/LC_MESSAGES/messages.po | 5 ++--- opac/webapp/translations/es_MX/LC_MESSAGES/messages.po | 5 ++--- 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/opac/webapp/main/views.py b/opac/webapp/main/views.py index 7f037de4e..e549bc977 100644 --- a/opac/webapp/main/views.py +++ b/opac/webapp/main/views.py @@ -1424,10 +1424,18 @@ def article_detail_pdf(url_seg, url_seg_issue, url_seg_article, lang_code=''): @cache.cached(key_prefix=cache_key_with_lang_with_qs) def router_legacy_pdf(journal_acron, issue_info, pdf_filename): pdf_filename = '%s.pdf' % pdf_filename + + journal = controllers.get_journal_by_url_seg(journal_acron) + + if not journal: + abort(404, _('Periódico não encontrado')) + article = controllers.get_article_by_pdf_filename( journal_acron, issue_info, pdf_filename) + if not article: abort(404, _('PDF do artigo não foi encontrado')) + return redirect( url_for( 'main.article_detail_v3', diff --git a/opac/webapp/templates/errors/500.html b/opac/webapp/templates/errors/500.html index 98aecd92e..a08dba362 100644 --- a/opac/webapp/templates/errors/500.html +++ b/opac/webapp/templates/errors/500.html @@ -2,7 +2,7 @@ {% block error_message %} - {% trans %}Erro interno do servidor. Tente novamente mais tarde. Nossos engenheiros foram notificados.{% endtrans %} + {% trans %}Erro interno do servidor. Tente novamente mais tarde.{% endtrans %} {% if g.sentry_event_id %}

diff --git a/opac/webapp/translations/en/LC_MESSAGES/messages.po b/opac/webapp/translations/en/LC_MESSAGES/messages.po index a59219e28..6bc875f09 100644 --- a/opac/webapp/translations/en/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/en/LC_MESSAGES/messages.po @@ -1894,11 +1894,9 @@ msgstr "" #: opac/webapp/templates/errors/500.html:5 msgid "" -"Erro interno do servidor. Tente novamente mais tarde. Nossos engenheiros " -"foram notificados." +"Erro interno do servidor. Tente novamente mais tarde." msgstr "" -"Internal server error. Please try again later. Our technical staff has " -"been notified." +"Internal server error. Please try again later." #: opac/webapp/templates/errors/500.html:9 msgid "Id. do erro" diff --git a/opac/webapp/translations/es/LC_MESSAGES/messages.po b/opac/webapp/translations/es/LC_MESSAGES/messages.po index 8030d54a5..e99366293 100644 --- a/opac/webapp/translations/es/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/es/LC_MESSAGES/messages.po @@ -1896,11 +1896,9 @@ msgstr "" #: opac/webapp/templates/errors/500.html:5 msgid "" -"Erro interno do servidor. Tente novamente mais tarde. Nossos engenheiros " -"foram notificados." +"Erro interno do servidor. Tente novamente mais tarde." msgstr "" -"Error interno del servidor. Intente nuevamente luego. Nuestros ingenieros" -" fueron notificados." +"Error interno del servidor. Intente nuevamente luego." #: opac/webapp/templates/errors/500.html:9 msgid "Id. do erro" diff --git a/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po b/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po index 878bf2436..5178cc73d 100644 --- a/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po @@ -1867,9 +1867,8 @@ msgstr "" #: opac/webapp/templates/errors/500.html:5 msgid "" -"Erro interno do servidor. Tente novamente mais tarde. Nossos engenheiros " -"foram notificados." -msgstr "" +"Erro interno do servidor. Tente novamente mais tarde." +msgstr "Error interno del servidor. Intente nuevamente luego." #: opac/webapp/templates/errors/500.html:9 msgid "Id. do erro" diff --git a/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po b/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po index 1b85f7768..ca5279b24 100644 --- a/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po @@ -1867,9 +1867,8 @@ msgstr "" #: opac/webapp/templates/errors/500.html:5 msgid "" -"Erro interno do servidor. Tente novamente mais tarde. Nossos engenheiros " -"foram notificados." -msgstr "" +"Erro interno do servidor. Tente novamente mais tarde." +msgstr "Error interno del servidor. Intente nuevamente luego." #: opac/webapp/templates/errors/500.html:9 msgid "Id. do erro" From ea18049d4df74e613bae389ec5127c07f2724eea Mon Sep 17 00:00:00 2001 From: gitnnolabs Date: Wed, 17 Nov 2021 13:52:13 -0300 Subject: [PATCH 2/2] =?UTF-8?q?Altera=20a=20mensagem=20e=20mant=C3=A9m=20o?= =?UTF-8?q?=20retornno=20em=20404.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opac/webapp/main/views.py | 2 +- .../translations/en/LC_MESSAGES/messages.po | 40 ++++++++------- .../translations/es/LC_MESSAGES/messages.po | 45 ++++++++++------- .../es_ES/LC_MESSAGES/messages.po | 42 ++++++++++------ .../es_MX/LC_MESSAGES/messages.po | 42 ++++++++++------ opac/webapp/translations/messages.pot | 38 +++++++------- .../pt_BR.UTF-8/LC_MESSAGES/messages.po | 49 ++++++++++++------- 7 files changed, 155 insertions(+), 103 deletions(-) diff --git a/opac/webapp/main/views.py b/opac/webapp/main/views.py index e549bc977..d46d0bb30 100644 --- a/opac/webapp/main/views.py +++ b/opac/webapp/main/views.py @@ -1428,7 +1428,7 @@ def router_legacy_pdf(journal_acron, issue_info, pdf_filename): journal = controllers.get_journal_by_url_seg(journal_acron) if not journal: - abort(404, _('Periódico não encontrado')) + abort(404, _('Este PDF não existe em http://www.scielo.br. Consulte http://search.scielo.org')) article = controllers.get_article_by_pdf_filename( journal_acron, issue_info, pdf_filename) diff --git a/opac/webapp/translations/en/LC_MESSAGES/messages.po b/opac/webapp/translations/en/LC_MESSAGES/messages.po index 6bc875f09..2d0740674 100644 --- a/opac/webapp/translations/en/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/en/LC_MESSAGES/messages.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: OPAC\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-18 09:36-0300\n" +"POT-Creation-Date: 2021-11-17 16:45+0000\n" "PO-Revision-Date: 2018-03-06 19:50+0000\n" "Last-Translator: jamil Atta \n" "Language: en\n" @@ -935,7 +935,7 @@ msgstr "Authors" #: opac/webapp/templates/article/includes/levelMenu_abstracts.html:26 #: opac/webapp/templates/collection/includes/levelMenu_search.html:29 #: opac/webapp/templates/collection/includes/levelMenu_search.html:72 -#: opac/webapp/templates/issue/toc.html:161 +#: opac/webapp/templates/issue/toc.html:164 msgid "Resumo" msgstr "Abstract" @@ -1050,12 +1050,12 @@ msgstr "Latest journals added to the collection" msgid "10 últimos periódicos inseridos na coleção %s" msgstr "10 latest journals added to the collection %s" -#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1650 +#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1658 msgid "Página não encontrada" msgstr "" #: opac/webapp/main/views.py:372 opac/webapp/main/views.py:461 -#: opac/webapp/main/views.py:1449 +#: opac/webapp/main/views.py:1457 #, python-format msgid "Requsição inválida ao tentar acessar o artigo com pid: %s" msgstr "" @@ -1075,7 +1075,7 @@ msgstr "Issue not found" #: opac/webapp/main/views.py:416 opac/webapp/main/views.py:448 #: opac/webapp/main/views.py:1038 opac/webapp/main/views.py:1138 #: opac/webapp/main/views.py:1188 opac/webapp/main/views.py:1410 -#: opac/webapp/main/views.py:1453 +#: opac/webapp/main/views.py:1461 msgid "Artigo não encontrado" msgstr "Article not found" @@ -1173,11 +1173,17 @@ msgstr "Insufficient parameters to obtain article's EPDF" msgid "PDF não encontrado" msgstr "" -#: opac/webapp/main/views.py:1430 +#: opac/webapp/main/views.py:1431 +msgid "" +"Este PDF não existe em http://www.scielo.br. Consulte " +"http://search.scielo.org/"" +msgstr "This PDF does not exist in https//www.scielo.br. See https://search.scielo.org" + +#: opac/webapp/main/views.py:1437 msgid "PDF do artigo não foi encontrado" msgstr "Article's PDF not found" -#: opac/webapp/main/views.py:1472 opac/webapp/main/views.py:1503 +#: opac/webapp/main/views.py:1480 opac/webapp/main/views.py:1511 msgid "Requisição inválida." msgstr "Invalid request" @@ -1471,7 +1477,7 @@ msgstr "Download PDF (Portuguese)" #: opac/webapp/templates/article/includes/levelMenu_texts.html:5 #: opac/webapp/templates/article/includes/levelMenu_texts.html:27 -#: opac/webapp/templates/issue/toc.html:174 +#: opac/webapp/templates/issue/toc.html:177 msgid "Texto" msgstr "Text" @@ -1480,7 +1486,7 @@ msgid "Texto " msgstr "" #: opac/webapp/templates/article/includes/recent_articles_row.html:6 -#: opac/webapp/templates/issue/toc.html:141 +#: opac/webapp/templates/issue/toc.html:144 msgid "Documento sem título" msgstr "Untitled document" @@ -1893,10 +1899,8 @@ msgstr "" "please check it and try again." #: opac/webapp/templates/errors/500.html:5 -msgid "" -"Erro interno do servidor. Tente novamente mais tarde." -msgstr "" -"Internal server error. Please try again later." +msgid "Erro interno do servidor. Tente novamente mais tarde." +msgstr "Internal server error. Please try again later." #: opac/webapp/templates/errors/500.html:9 msgid "Id. do erro" @@ -2047,20 +2051,20 @@ msgstr "Newest first" msgid "Mais antigos primeiro" msgstr "Oldest first" -#: opac/webapp/templates/issue/toc.html:105 -#: opac/webapp/templates/issue/toc.html:107 +#: opac/webapp/templates/issue/toc.html:106 +#: opac/webapp/templates/issue/toc.html:108 msgid "Todas as seções" msgstr "All the sections" -#: opac/webapp/templates/issue/toc.html:185 +#: opac/webapp/templates/issue/toc.html:188 msgid "PDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:196 +#: opac/webapp/templates/issue/toc.html:199 msgid "ePDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:211 +#: opac/webapp/templates/issue/toc.html:214 msgid "Resumo em" msgstr "Abstract in" diff --git a/opac/webapp/translations/es/LC_MESSAGES/messages.po b/opac/webapp/translations/es/LC_MESSAGES/messages.po index e99366293..df538561e 100644 --- a/opac/webapp/translations/es/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/es/LC_MESSAGES/messages.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: OPAC\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-18 09:36-0300\n" +"POT-Creation-Date: 2021-11-17 16:48+0000\n" "PO-Revision-Date: 2018-03-07 00:47+0000\n" "Last-Translator: jamil Atta \n" "Language: es\n" @@ -938,7 +938,7 @@ msgstr "Autores" #: opac/webapp/templates/article/includes/levelMenu_abstracts.html:26 #: opac/webapp/templates/collection/includes/levelMenu_search.html:29 #: opac/webapp/templates/collection/includes/levelMenu_search.html:72 -#: opac/webapp/templates/issue/toc.html:161 +#: opac/webapp/templates/issue/toc.html:164 msgid "Resumo" msgstr "Resumen" @@ -1051,12 +1051,12 @@ msgstr "Últimas revistas incluidas en la colección" msgid "10 últimos periódicos inseridos na coleção %s" msgstr "10 últimas revistas incluidas en la colección %s" -#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1650 +#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1658 msgid "Página não encontrada" msgstr "Página no encontrada" #: opac/webapp/main/views.py:372 opac/webapp/main/views.py:461 -#: opac/webapp/main/views.py:1449 +#: opac/webapp/main/views.py:1457 #, python-format msgid "Requsição inválida ao tentar acessar o artigo com pid: %s" msgstr "Requiere no válida al intentar tener acceso al artículo con pid:% s" @@ -1076,7 +1076,7 @@ msgstr "Fascículo no encontrado" #: opac/webapp/main/views.py:416 opac/webapp/main/views.py:448 #: opac/webapp/main/views.py:1038 opac/webapp/main/views.py:1138 #: opac/webapp/main/views.py:1188 opac/webapp/main/views.py:1410 -#: opac/webapp/main/views.py:1453 +#: opac/webapp/main/views.py:1461 msgid "Artigo não encontrado" msgstr "Artículo no encontrado" @@ -1174,11 +1174,17 @@ msgstr "Parámetros insuficientes para obtener el EPDF del artículo" msgid "PDF não encontrado" msgstr "" -#: opac/webapp/main/views.py:1430 +#: opac/webapp/main/views.py:1431 +msgid "" +"Este PDF não existe em http://www.scielo.br. Consulte " +"http://search.scielo.org" +msgstr "Este PDF no existe en http://www.scielo.br. Ver http://search.scielo.org" + +#: opac/webapp/main/views.py:1437 msgid "PDF do artigo não foi encontrado" msgstr "PDF del artículo no encontrado" -#: opac/webapp/main/views.py:1472 opac/webapp/main/views.py:1503 +#: opac/webapp/main/views.py:1480 opac/webapp/main/views.py:1511 msgid "Requisição inválida." msgstr "Petición inválida." @@ -1473,7 +1479,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_texts.html:5 #: opac/webapp/templates/article/includes/levelMenu_texts.html:27 -#: opac/webapp/templates/issue/toc.html:174 +#: opac/webapp/templates/issue/toc.html:177 msgid "Texto" msgstr "Texto" @@ -1482,7 +1488,7 @@ msgid "Texto " msgstr "" #: opac/webapp/templates/article/includes/recent_articles_row.html:6 -#: opac/webapp/templates/issue/toc.html:141 +#: opac/webapp/templates/issue/toc.html:144 msgid "Documento sem título" msgstr "Documento sin título" @@ -1895,10 +1901,8 @@ msgstr "" "por favor, revise e intente nuevamente." #: opac/webapp/templates/errors/500.html:5 -msgid "" -"Erro interno do servidor. Tente novamente mais tarde." -msgstr "" -"Error interno del servidor. Intente nuevamente luego." +msgid "Erro interno do servidor. Tente novamente mais tarde." +msgstr "Error interno del servidor. Intente nuevamente luego." #: opac/webapp/templates/errors/500.html:9 msgid "Id. do erro" @@ -2047,20 +2051,20 @@ msgstr "" msgid "Mais antigos primeiro" msgstr "" -#: opac/webapp/templates/issue/toc.html:105 -#: opac/webapp/templates/issue/toc.html:107 +#: opac/webapp/templates/issue/toc.html:106 +#: opac/webapp/templates/issue/toc.html:108 msgid "Todas as seções" msgstr "Todas las secciones" -#: opac/webapp/templates/issue/toc.html:185 +#: opac/webapp/templates/issue/toc.html:188 msgid "PDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:196 +#: opac/webapp/templates/issue/toc.html:199 msgid "ePDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:211 +#: opac/webapp/templates/issue/toc.html:214 msgid "Resumo em" msgstr "Resumen en" @@ -2422,3 +2426,8 @@ msgstr "Ver" #~ msgid "Este documento contém correções" #~ msgstr "Este documento tiene una errata" +#~ msgid "" +#~ "Este PDF não existe em " +#~ "http://www.scielo.br. Consulte http://search.scielo.org\"" +#~ msgstr "" + diff --git a/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po b/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po index 5178cc73d..60a1f9c2d 100644 --- a/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/es_ES/LC_MESSAGES/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-18 09:36-0300\n" +"POT-Creation-Date: 2021-11-17 16:48+0000\n" "PO-Revision-Date: 2016-02-09 09:39-0600\n" "Last-Translator: FULL NAME \n" "Language: es_ES\n" @@ -924,7 +924,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_abstracts.html:26 #: opac/webapp/templates/collection/includes/levelMenu_search.html:29 #: opac/webapp/templates/collection/includes/levelMenu_search.html:72 -#: opac/webapp/templates/issue/toc.html:161 +#: opac/webapp/templates/issue/toc.html:164 msgid "Resumo" msgstr "" @@ -1035,12 +1035,12 @@ msgstr "" msgid "10 últimos periódicos inseridos na coleção %s" msgstr "" -#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1650 +#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1658 msgid "Página não encontrada" msgstr "" #: opac/webapp/main/views.py:372 opac/webapp/main/views.py:461 -#: opac/webapp/main/views.py:1449 +#: opac/webapp/main/views.py:1457 #, python-format msgid "Requsição inválida ao tentar acessar o artigo com pid: %s" msgstr "" @@ -1060,7 +1060,7 @@ msgstr "" #: opac/webapp/main/views.py:416 opac/webapp/main/views.py:448 #: opac/webapp/main/views.py:1038 opac/webapp/main/views.py:1138 #: opac/webapp/main/views.py:1188 opac/webapp/main/views.py:1410 -#: opac/webapp/main/views.py:1453 +#: opac/webapp/main/views.py:1461 msgid "Artigo não encontrado" msgstr "" @@ -1154,11 +1154,17 @@ msgstr "" msgid "PDF não encontrado" msgstr "" -#: opac/webapp/main/views.py:1430 +#: opac/webapp/main/views.py:1431 +msgid "" +"Este PDF não existe em http://www.scielo.br. Consulte " +"http://search.scielo.org" +msgstr "Este PDF no existe en http://www.scielo.br. Ver http://search.scielo.org" + +#: opac/webapp/main/views.py:1437 msgid "PDF do artigo não foi encontrado" msgstr "" -#: opac/webapp/main/views.py:1472 opac/webapp/main/views.py:1503 +#: opac/webapp/main/views.py:1480 opac/webapp/main/views.py:1511 msgid "Requisição inválida." msgstr "" @@ -1446,7 +1452,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_texts.html:5 #: opac/webapp/templates/article/includes/levelMenu_texts.html:27 -#: opac/webapp/templates/issue/toc.html:174 +#: opac/webapp/templates/issue/toc.html:177 msgid "Texto" msgstr "" @@ -1455,7 +1461,7 @@ msgid "Texto " msgstr "" #: opac/webapp/templates/article/includes/recent_articles_row.html:6 -#: opac/webapp/templates/issue/toc.html:141 +#: opac/webapp/templates/issue/toc.html:144 msgid "Documento sem título" msgstr "" @@ -1866,8 +1872,7 @@ msgid "" msgstr "" #: opac/webapp/templates/errors/500.html:5 -msgid "" -"Erro interno do servidor. Tente novamente mais tarde." +msgid "Erro interno do servidor. Tente novamente mais tarde." msgstr "Error interno del servidor. Intente nuevamente luego." #: opac/webapp/templates/errors/500.html:9 @@ -2017,20 +2022,20 @@ msgstr "" msgid "Mais antigos primeiro" msgstr "" -#: opac/webapp/templates/issue/toc.html:105 -#: opac/webapp/templates/issue/toc.html:107 +#: opac/webapp/templates/issue/toc.html:106 +#: opac/webapp/templates/issue/toc.html:108 msgid "Todas as seções" msgstr "" -#: opac/webapp/templates/issue/toc.html:185 +#: opac/webapp/templates/issue/toc.html:188 msgid "PDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:196 +#: opac/webapp/templates/issue/toc.html:199 msgid "ePDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:211 +#: opac/webapp/templates/issue/toc.html:214 msgid "Resumo em" msgstr "" @@ -2585,3 +2590,8 @@ msgstr "" #~ msgid "Este documento contém correções" #~ msgstr "" +#~ msgid "" +#~ "Este PDF não existe em " +#~ "http://www.scielo.br. Consulte http://search.scielo.org\"" +#~ msgstr "" + diff --git a/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po b/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po index ca5279b24..8d5dbb8fd 100644 --- a/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/es_MX/LC_MESSAGES/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-18 09:36-0300\n" +"POT-Creation-Date: 2021-11-17 16:48+0000\n" "PO-Revision-Date: 2016-02-09 09:39-0600\n" "Last-Translator: FULL NAME \n" "Language: es_MX\n" @@ -924,7 +924,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_abstracts.html:26 #: opac/webapp/templates/collection/includes/levelMenu_search.html:29 #: opac/webapp/templates/collection/includes/levelMenu_search.html:72 -#: opac/webapp/templates/issue/toc.html:161 +#: opac/webapp/templates/issue/toc.html:164 msgid "Resumo" msgstr "" @@ -1035,12 +1035,12 @@ msgstr "" msgid "10 últimos periódicos inseridos na coleção %s" msgstr "" -#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1650 +#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1658 msgid "Página não encontrada" msgstr "" #: opac/webapp/main/views.py:372 opac/webapp/main/views.py:461 -#: opac/webapp/main/views.py:1449 +#: opac/webapp/main/views.py:1457 #, python-format msgid "Requsição inválida ao tentar acessar o artigo com pid: %s" msgstr "" @@ -1060,7 +1060,7 @@ msgstr "" #: opac/webapp/main/views.py:416 opac/webapp/main/views.py:448 #: opac/webapp/main/views.py:1038 opac/webapp/main/views.py:1138 #: opac/webapp/main/views.py:1188 opac/webapp/main/views.py:1410 -#: opac/webapp/main/views.py:1453 +#: opac/webapp/main/views.py:1461 msgid "Artigo não encontrado" msgstr "" @@ -1154,11 +1154,17 @@ msgstr "" msgid "PDF não encontrado" msgstr "" -#: opac/webapp/main/views.py:1430 +#: opac/webapp/main/views.py:1431 +msgid "" +"Este PDF não existe em http://www.scielo.br. Consulte " +"http://search.scielo.org" +msgstr "Este PDF no existe en http://www.scielo.br. Ver http://search.scielo.org" + +#: opac/webapp/main/views.py:1437 msgid "PDF do artigo não foi encontrado" msgstr "" -#: opac/webapp/main/views.py:1472 opac/webapp/main/views.py:1503 +#: opac/webapp/main/views.py:1480 opac/webapp/main/views.py:1511 msgid "Requisição inválida." msgstr "" @@ -1446,7 +1452,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_texts.html:5 #: opac/webapp/templates/article/includes/levelMenu_texts.html:27 -#: opac/webapp/templates/issue/toc.html:174 +#: opac/webapp/templates/issue/toc.html:177 msgid "Texto" msgstr "" @@ -1455,7 +1461,7 @@ msgid "Texto " msgstr "" #: opac/webapp/templates/article/includes/recent_articles_row.html:6 -#: opac/webapp/templates/issue/toc.html:141 +#: opac/webapp/templates/issue/toc.html:144 msgid "Documento sem título" msgstr "" @@ -1866,8 +1872,7 @@ msgid "" msgstr "" #: opac/webapp/templates/errors/500.html:5 -msgid "" -"Erro interno do servidor. Tente novamente mais tarde." +msgid "Erro interno do servidor. Tente novamente mais tarde." msgstr "Error interno del servidor. Intente nuevamente luego." #: opac/webapp/templates/errors/500.html:9 @@ -2017,20 +2022,20 @@ msgstr "" msgid "Mais antigos primeiro" msgstr "" -#: opac/webapp/templates/issue/toc.html:105 -#: opac/webapp/templates/issue/toc.html:107 +#: opac/webapp/templates/issue/toc.html:106 +#: opac/webapp/templates/issue/toc.html:108 msgid "Todas as seções" msgstr "" -#: opac/webapp/templates/issue/toc.html:185 +#: opac/webapp/templates/issue/toc.html:188 msgid "PDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:196 +#: opac/webapp/templates/issue/toc.html:199 msgid "ePDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:211 +#: opac/webapp/templates/issue/toc.html:214 msgid "Resumo em" msgstr "" @@ -2585,3 +2590,8 @@ msgstr "" #~ msgid "Este documento contém correções" #~ msgstr "" +#~ msgid "" +#~ "Este PDF não existe em " +#~ "http://www.scielo.br. Consulte http://search.scielo.org\"" +#~ msgstr "" + diff --git a/opac/webapp/translations/messages.pot b/opac/webapp/translations/messages.pot index 41aacf4cf..bc64d7f43 100644 --- a/opac/webapp/translations/messages.pot +++ b/opac/webapp/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-18 09:36-0300\n" +"POT-Creation-Date: 2021-11-17 16:48+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -922,7 +922,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_abstracts.html:26 #: opac/webapp/templates/collection/includes/levelMenu_search.html:29 #: opac/webapp/templates/collection/includes/levelMenu_search.html:72 -#: opac/webapp/templates/issue/toc.html:161 +#: opac/webapp/templates/issue/toc.html:164 msgid "Resumo" msgstr "" @@ -1033,12 +1033,12 @@ msgstr "" msgid "10 últimos periódicos inseridos na coleção %s" msgstr "" -#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1650 +#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1658 msgid "Página não encontrada" msgstr "" #: opac/webapp/main/views.py:372 opac/webapp/main/views.py:461 -#: opac/webapp/main/views.py:1449 +#: opac/webapp/main/views.py:1457 #, python-format msgid "Requsição inválida ao tentar acessar o artigo com pid: %s" msgstr "" @@ -1058,7 +1058,7 @@ msgstr "" #: opac/webapp/main/views.py:416 opac/webapp/main/views.py:448 #: opac/webapp/main/views.py:1038 opac/webapp/main/views.py:1138 #: opac/webapp/main/views.py:1188 opac/webapp/main/views.py:1410 -#: opac/webapp/main/views.py:1453 +#: opac/webapp/main/views.py:1461 msgid "Artigo não encontrado" msgstr "" @@ -1152,11 +1152,17 @@ msgstr "" msgid "PDF não encontrado" msgstr "" -#: opac/webapp/main/views.py:1430 +#: opac/webapp/main/views.py:1431 +msgid "" +"Este PDF não existe em http://www.scielo.br. Consulte " +"http://search.scielo.org" +msgstr "" + +#: opac/webapp/main/views.py:1437 msgid "PDF do artigo não foi encontrado" msgstr "" -#: opac/webapp/main/views.py:1472 opac/webapp/main/views.py:1503 +#: opac/webapp/main/views.py:1480 opac/webapp/main/views.py:1511 msgid "Requisição inválida." msgstr "" @@ -1444,7 +1450,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_texts.html:5 #: opac/webapp/templates/article/includes/levelMenu_texts.html:27 -#: opac/webapp/templates/issue/toc.html:174 +#: opac/webapp/templates/issue/toc.html:177 msgid "Texto" msgstr "" @@ -1453,7 +1459,7 @@ msgid "Texto " msgstr "" #: opac/webapp/templates/article/includes/recent_articles_row.html:6 -#: opac/webapp/templates/issue/toc.html:141 +#: opac/webapp/templates/issue/toc.html:144 msgid "Documento sem título" msgstr "" @@ -1864,9 +1870,7 @@ msgid "" msgstr "" #: opac/webapp/templates/errors/500.html:5 -msgid "" -"Erro interno do servidor. Tente novamente mais tarde. Nossos engenheiros " -"foram notificados." +msgid "Erro interno do servidor. Tente novamente mais tarde." msgstr "" #: opac/webapp/templates/errors/500.html:9 @@ -2016,20 +2020,20 @@ msgstr "" msgid "Mais antigos primeiro" msgstr "" -#: opac/webapp/templates/issue/toc.html:105 -#: opac/webapp/templates/issue/toc.html:107 +#: opac/webapp/templates/issue/toc.html:106 +#: opac/webapp/templates/issue/toc.html:108 msgid "Todas as seções" msgstr "" -#: opac/webapp/templates/issue/toc.html:185 +#: opac/webapp/templates/issue/toc.html:188 msgid "PDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:196 +#: opac/webapp/templates/issue/toc.html:199 msgid "ePDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:211 +#: opac/webapp/templates/issue/toc.html:214 msgid "Resumo em" msgstr "" diff --git a/opac/webapp/translations/pt_BR.UTF-8/LC_MESSAGES/messages.po b/opac/webapp/translations/pt_BR.UTF-8/LC_MESSAGES/messages.po index 86f245128..97bc72d41 100644 --- a/opac/webapp/translations/pt_BR.UTF-8/LC_MESSAGES/messages.po +++ b/opac/webapp/translations/pt_BR.UTF-8/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-10-18 09:36-0300\n" +"POT-Creation-Date: 2021-11-17 16:48+0000\n" "PO-Revision-Date: 2021-10-18 09:36-0300\n" "Last-Translator: FULL NAME \n" "Language: pt_BR\n" @@ -923,7 +923,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_abstracts.html:26 #: opac/webapp/templates/collection/includes/levelMenu_search.html:29 #: opac/webapp/templates/collection/includes/levelMenu_search.html:72 -#: opac/webapp/templates/issue/toc.html:161 +#: opac/webapp/templates/issue/toc.html:164 msgid "Resumo" msgstr "" @@ -1034,12 +1034,12 @@ msgstr "" msgid "10 últimos periódicos inseridos na coleção %s" msgstr "" -#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1650 +#: opac/webapp/main/views.py:347 opac/webapp/main/views.py:1658 msgid "Página não encontrada" msgstr "" #: opac/webapp/main/views.py:372 opac/webapp/main/views.py:461 -#: opac/webapp/main/views.py:1449 +#: opac/webapp/main/views.py:1457 #, python-format msgid "Requsição inválida ao tentar acessar o artigo com pid: %s" msgstr "" @@ -1059,7 +1059,7 @@ msgstr "" #: opac/webapp/main/views.py:416 opac/webapp/main/views.py:448 #: opac/webapp/main/views.py:1038 opac/webapp/main/views.py:1138 #: opac/webapp/main/views.py:1188 opac/webapp/main/views.py:1410 -#: opac/webapp/main/views.py:1453 +#: opac/webapp/main/views.py:1461 msgid "Artigo não encontrado" msgstr "" @@ -1153,11 +1153,17 @@ msgstr "" msgid "PDF não encontrado" msgstr "" -#: opac/webapp/main/views.py:1430 +#: opac/webapp/main/views.py:1431 +msgid "" +"Este PDF não existe em http://www.scielo.br. Consulte " +"http://search.scielo.org" +msgstr "" + +#: opac/webapp/main/views.py:1437 msgid "PDF do artigo não foi encontrado" msgstr "" -#: opac/webapp/main/views.py:1472 opac/webapp/main/views.py:1503 +#: opac/webapp/main/views.py:1480 opac/webapp/main/views.py:1511 msgid "Requisição inválida." msgstr "" @@ -1445,7 +1451,7 @@ msgstr "" #: opac/webapp/templates/article/includes/levelMenu_texts.html:5 #: opac/webapp/templates/article/includes/levelMenu_texts.html:27 -#: opac/webapp/templates/issue/toc.html:174 +#: opac/webapp/templates/issue/toc.html:177 msgid "Texto" msgstr "" @@ -1454,7 +1460,7 @@ msgid "Texto " msgstr "" #: opac/webapp/templates/article/includes/recent_articles_row.html:6 -#: opac/webapp/templates/issue/toc.html:141 +#: opac/webapp/templates/issue/toc.html:144 msgid "Documento sem título" msgstr "" @@ -1865,9 +1871,7 @@ msgid "" msgstr "" #: opac/webapp/templates/errors/500.html:5 -msgid "" -"Erro interno do servidor. Tente novamente mais tarde. Nossos engenheiros " -"foram notificados." +msgid "Erro interno do servidor. Tente novamente mais tarde." msgstr "" #: opac/webapp/templates/errors/500.html:9 @@ -2017,20 +2021,20 @@ msgstr "" msgid "Mais antigos primeiro" msgstr "" -#: opac/webapp/templates/issue/toc.html:105 -#: opac/webapp/templates/issue/toc.html:107 +#: opac/webapp/templates/issue/toc.html:106 +#: opac/webapp/templates/issue/toc.html:108 msgid "Todas as seções" msgstr "" -#: opac/webapp/templates/issue/toc.html:185 +#: opac/webapp/templates/issue/toc.html:188 msgid "PDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:196 +#: opac/webapp/templates/issue/toc.html:199 msgid "ePDF" msgstr "" -#: opac/webapp/templates/issue/toc.html:211 +#: opac/webapp/templates/issue/toc.html:214 msgid "Resumo em" msgstr "" @@ -2225,3 +2229,14 @@ msgstr "" msgid "Ver" msgstr "" +#~ msgid "" +#~ "Erro interno do servidor. Tente " +#~ "novamente mais tarde. Nossos engenheiros " +#~ "foram notificados." +#~ msgstr "" + +#~ msgid "" +#~ "Este PDF não existe em " +#~ "http://www.scielo.br. Consulte http://search.scielo.org\"" +#~ msgstr "" +