summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md28
-rw-r--r--fatcat_scholar/translations/hr/LC_MESSAGES/messages.mobin20732 -> 22590 bytes
-rw-r--r--fatcat_scholar/translations/hr/LC_MESSAGES/messages.po39
-rw-r--r--fatcat_scholar/translations/ru/LC_MESSAGES/messages.mobin7061 -> 8393 bytes
-rw-r--r--fatcat_scholar/translations/ru/LC_MESSAGES/messages.po26
5 files changed, 51 insertions, 42 deletions
diff --git a/README.md b/README.md
index 548e200..4e6a5d5 100644
--- a/README.md
+++ b/README.md
@@ -6,13 +6,13 @@
`fatcat-scholar` / Internet Archive Scholar
===========================================
-This is source code for an experimental ("alpha") fulltext web search interface
+This is source code for an experimental ("alpha") full-text web search interface
over the 25+ million open research papers in the [fatcat](https://fatcat.wiki)
catalog. A demonstration (pre-production) interface is available at
<https://scholar-qa.archive.org>.
All of the heavy lifting of harvesting, crawling, and metadata corrections are
-all handled by the fatcat service; this service is just a bare-bones, read-only
+handled by the fatcat service; this service is just a bare-bones, read-only
search interface. Unlike the basic fatcat.wiki search, this index allows
querying the full content of papers when available.
@@ -21,15 +21,15 @@ querying the full content of papers when available.
This repository is fairly small and contains:
-- `fatcat_scholar/`: Python code for web servce and indexing pipeline
+- `fatcat_scholar/`: Python code for web serivce and indexing pipeline
- `fatcat_scholar/templates/`: HTML template for web interface
- `tests/`: Python test files
- `proposals/`: design documentation and change proposals
- `data/`: empty directory for indexing pipeline
A data pipeline converts groups of one or more fatcat "release" entities
-(grouped under a single "work") into a single search index document.
-Elasticsearch is used as the fulltext search engine. A simple web interface
+(grouped under a single "work" entitiy) into a single search index document.
+Elasticsearch is used as the full-text search engine. A simple web interface
parses search requests and formats Elasticsearch results with highlights and
first-page thumbnails.
@@ -47,23 +47,23 @@ Working on the indexing pipeline effectively requires internal access to the
Internet Archive cluster and services, though some contributions and bugfixes
are probably possible without staff access.
-To install dependencies for the first time, then run the tests (to ensure
-everything is working):
+To install dependencies for the first time run:
- make dep
- make test
+ `make dep`
-If developing the web interface, you will almost certainly need an example
+then run the tests (to ensure everything is working):
+
+ `make test`
+
+
+While developing the web interface, you will almost certainly need an example
database running locally. A docker-compose file in `extra/docker/` can be used
to run Elasticsearch 7.x locally. The `make dev-index` command will reset the
local index with the correct schema mapping, and index any intermediate files
in the `./data/` directory. We don't have an out-of-the-box solution for non-IA
staff at this step (yet).
-After making changes to any user interface strings, the interface translation
-file (".pot") needs to be updated with `make extract-i18n`. When these changes
-are merged to master, the Weblate translation system will be updated
-automatically.
+After making changes to any user interface strings, the interface translation file (".pot") needs to be updated with `make extract-i18n`. When these changes are merged to master, the Weblate translation system will be updated automatically.
This repository uses `black` for code formatting; please run `make fmt` and
`make lint` for submitting a pull request.
diff --git a/fatcat_scholar/translations/hr/LC_MESSAGES/messages.mo b/fatcat_scholar/translations/hr/LC_MESSAGES/messages.mo
index 497bd07..69adeca 100644
--- a/fatcat_scholar/translations/hr/LC_MESSAGES/messages.mo
+++ b/fatcat_scholar/translations/hr/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/fatcat_scholar/translations/hr/LC_MESSAGES/messages.po b/fatcat_scholar/translations/hr/LC_MESSAGES/messages.po
index 521d0ab..a4c9a12 100644
--- a/fatcat_scholar/translations/hr/LC_MESSAGES/messages.po
+++ b/fatcat_scholar/translations/hr/LC_MESSAGES/messages.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: bnewbold@archive.org\n"
"POT-Creation-Date: 2021-01-25 22:58-0800\n"
-"PO-Revision-Date: 2021-01-29 15:32+0000\n"
+"PO-Revision-Date: 2021-02-04 14:41+0000\n"
"Last-Translator: Milo Ivir <mail@milotype.de>\n"
"Language-Team: Croatian <https://hosted.weblate.org/projects/internetarchive/"
"fatcat-scholar/hr/>\n"
@@ -400,8 +400,8 @@ msgid ""
"All Internet Archive preservation copy links have the same style and icon. "
"Content from the Wayback Machine looks like this."
msgstr ""
-"Sve poveznice za Internet Archive primjerke imaju isti stil i ikonu. Sadržaj "
-"od Wayback Machine izgleda ovako."
+"Sve poveznice za sačuvane primjerke u arhivu Internet Archive imaju isti "
+"stil i ikonu. Sadržaj od Wayback Machine izgleda ovako."
#: fatcat_scholar/templates/help.html:122
msgid ""
@@ -409,6 +409,9 @@ msgid ""
"other alternative version of the work, the access link has an indicator. You "
"can get details and view all versions by clicking on the primary title link"
msgstr ""
+"Ako se u sačuvanom primjerku radi o predizdanju, manuskriptu autora ili neke "
+"druge alternativne verzije rada, poveznica za pristup sadrži oznaku. Detalje "
+"i prikaz svih verzija možeš dobiti pritiskom poveznice za primarni naslov"
#: fatcat_scholar/templates/help.html:126
msgid ""
@@ -416,15 +419,17 @@ msgid ""
"stored in general Internet Archive digital collections (as opposed to the "
"web archive)"
msgstr ""
-"Neki sačuvani sadržaji, osobito stariji radovi u javnom vlasništvu, mogu "
-"biti spremljeni u digitalnim zbirkama od Internet Archive (za razliku od web-"
-"arhiva)"
+"Neki sačuvani sadržaji, osobito stariji radovi u javnom vlasništvu, možda su "
+"spremljeni u općim digitalnim zbirkama arhiva Internet Archive (za razliku "
+"od web-arhiva)"
#: fatcat_scholar/templates/help.html:130
msgid ""
"Digitized copies of works on microfilm may be linked to experimentally. "
"Access may be limited to controlled lending"
msgstr ""
+"Digitalizirani primjerci rada na mikrofilmu mogu se eksperimentalno "
+"povezati. Pristup se može ograničiti na kontroliranu posudbu"
#: fatcat_scholar/templates/help.html:134
msgid ""
@@ -432,6 +437,8 @@ msgid ""
"record\" of a research publication, but content is not always accessible to "
"the general public"
msgstr ""
+"Odredišna stranica izdavača ovlašteni je izvor za „verziju zapisa” "
+"istraživačke publikacije, ali sadržaj nije uvijek dostupan široj javnosti"
#: fatcat_scholar/templates/help.html:138
msgid ""
@@ -545,6 +552,9 @@ msgid ""
"\"persistent identifiers\" that uniquely identify the specific version of "
"the work. These are usually hyperlinks."
msgstr ""
+"Ispod rezultata pretraživanja i alternativnih popisa verzija nalaze se svi "
+"poznati „trajni identifikatori” koji jedinstveno identificiraju određenu "
+"verziju rada. Uobičajeno su to poveznice."
#: fatcat_scholar/templates/help.html:210
msgid ""
@@ -621,7 +631,7 @@ msgid ""
"other scholarly documents preserved in the Internet Archive."
msgstr ""
"Ovaj indeks pretraživanja teksta obuhvaća preko 25 milijuna istraživačkih "
-"članaka i drugih znanstvenih dokumenata sačuvanih u „Internet Archive”."
+"članaka i drugih znanstvenih dokumenata sačuvanih u arhivu Internet Archive."
#: fatcat_scholar/templates/home.html:24
msgid ""
@@ -753,7 +763,7 @@ msgstr "minijatura teksta"
#: fatcat_scholar/templates/search_macros.html:111
msgid "Publisher / doi.org"
-msgstr "Izdavač / doi.org"
+msgstr "Izdavač/doi.org"
#: fatcat_scholar/templates/search_macros.html:144
#, python-format
@@ -777,7 +787,7 @@ msgstr "stranica"
#: fatcat_scholar/templates/search_macros.html:236
msgid "Preserved Fulltext"
-msgstr "Očuvan tekst"
+msgstr "Sačuvani tekst"
#: fatcat_scholar/templates/search_macros.html:259
msgid "Web Archive Capture"
@@ -795,16 +805,15 @@ msgid ""
"also visit <a rel=\"external noopener\" href=\"%(original_url)s\">the "
"original URL</a>."
msgstr ""
-"Primjerak ovog rada bio je dostupan na javnom webu i sačuvana je na Wayback "
-"Machine stranicama. Datum snimke je od %(capture_year)s; također možeš "
-"posjetiti <a rel=\"external noopener\" href=\"%(original_url)s\">izvorni "
-"URL</a>."
+"Primjerak ovog rada bio je dostupan na javnom webu i sačuvan je na Wayback "
+"Machine stranicama. Snimljeno %(capture_year)s. <a rel=\"external noopener\" "
+"href=\"%(original_url)s\">Izvorni URL</a>."
#: fatcat_scholar/templates/search_macros.html:290
msgid ""
"The Internet Archive has a preservation copy of this work in our general "
"collections."
-msgstr "Internet Archive ima primjerak ovog djela u našim općim zbirkama."
+msgstr "Internet Archive ima primjerak ovog rada u našim općim zbirkama."
#: fatcat_scholar/templates/search_macros.html:292
msgid ""
@@ -837,6 +846,8 @@ msgid ""
"able to obtain a copy of this work to read from the publisher, platforms, or "
"institutional libraries."
msgstr ""
+"Još ne znamo za javno sačuvan primjerak ovog rada. Primjerak ovog rada se "
+"možda može dobiti od izdavača, platformi ili institucionalnih knjižnica."
#: fatcat_scholar/templates/search_macros.html:327
#, python-format
diff --git a/fatcat_scholar/translations/ru/LC_MESSAGES/messages.mo b/fatcat_scholar/translations/ru/LC_MESSAGES/messages.mo
index 6d03e78..8234434 100644
--- a/fatcat_scholar/translations/ru/LC_MESSAGES/messages.mo
+++ b/fatcat_scholar/translations/ru/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/fatcat_scholar/translations/ru/LC_MESSAGES/messages.po b/fatcat_scholar/translations/ru/LC_MESSAGES/messages.po
index 7c9c23c..2dfb56e 100644
--- a/fatcat_scholar/translations/ru/LC_MESSAGES/messages.po
+++ b/fatcat_scholar/translations/ru/LC_MESSAGES/messages.po
@@ -4,13 +4,14 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
# Artem <KovalevArtem.ru@gmail.com>, 2020, 2021.
# Bryan Newbold <bnewbold@robocracy.org>, 2020, 2021.
+# Nikita Epifanov <nikgreens@protonmail.com>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
-"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
+"Report-Msgid-Bugs-To: bnewbold@archive.org\n"
"POT-Creation-Date: 2021-01-25 22:58-0800\n"
-"PO-Revision-Date: 2021-01-26 06:46+0000\n"
-"Last-Translator: Artem <KovalevArtem.ru@gmail.com>\n"
+"PO-Revision-Date: 2021-02-04 14:41+0000\n"
+"Last-Translator: Nikita Epifanov <nikgreens@protonmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/internetarchive/"
"fatcat-scholar/ru/>\n"
"Language: ru\n"
@@ -108,10 +109,8 @@ msgid "About %(website_name)s"
msgstr "О %(website_name)s"
#: fatcat_scholar/templates/about.html:8
-#, fuzzy
-#| msgid "Internet Archive Scholar"
msgid "About Internet Archive Scholar"
-msgstr "Академия архива Интернета"
+msgstr "О Академии архива Интернета"
#: fatcat_scholar/templates/base.html:12
msgid "Internet Archive Scholar"
@@ -240,18 +239,17 @@ msgid "Try It"
msgstr "Попробовать"
#: fatcat_scholar/templates/help.html:22
-#, fuzzy
-#| msgid "User Guide"
msgid "Scholar User Guide"
-msgstr "Руководство пользователя"
+msgstr "Научное руководство пользователя"
#: fatcat_scholar/templates/help.html:23
-#, fuzzy, python-format
+#, python-format
msgid "See also: <a href=\"%(lang_prefix)s/about\">About Scholarly Search</a>"
-msgstr "См. также: <a href=\"%(lang_prefix)s/about\"> О научном поиске </a>"
+msgstr ""
+"См. также: <a href=\"%(lang_prefix)s/about\">\n"
+"О научном поиске</a>"
#: fatcat_scholar/templates/help.html:25
-#, fuzzy
msgid ""
"This service provides <a href=\"https://en.wikipedia.org/wiki/Full-"
"text_search\">fulltext searching</a> over research publications archived in "
@@ -260,7 +258,7 @@ msgid ""
"government reports, and more."
msgstr ""
"Данный сервис обеспечивает <a href=\"https://en.wikipedia.org/wiki/Full-"
-"text_search\"> полнотекстовый поиск </a> по всем исследовательским "
+"text_search\">полнотекстовый поиск</a> по всем исследовательским "
"публикациям, заархивированным в различных коллекциях Архива Интернета. Он "
"включает в себя материалы из области естественных наук, гуманитарных наук, "
"биомедицины, искусства, истории, промышленных исследований, "
@@ -839,7 +837,7 @@ msgstr "Издатель / doi.org"
#: fatcat_scholar/templates/search_macros.html:144
#, python-format
msgid "%(year)s"
-msgstr ""
+msgstr "%(year)s"
#: fatcat_scholar/templates/search_macros.html:197
msgid "unknown"