Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions assets/less/site/elements/segment.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,34 @@
font-size: 14px !important;
}
}

// Persistent identifier segments
&.persistent-identifier,
&.riv-identifier {
.identifier-link {
word-break: break-word;
font-size: @h3;
font-weight: bold;
.ui.button {
font-size: @h3;
}
}
background-color: lighten(@lightGrey, 5%);
.segment-header {
padding: 0.75em 1em;
margin: -1em -1em 1em -1em;
font-weight: bold;
border-radius: 0.28571429rem 0.28571429rem 0 0;

&.green {
background-color: @green;
color: white;
}

&.red {
background-color: @pink;
color: white;
}
}
}
}
6 changes: 6 additions & 0 deletions i18n/semantic-ui/translations/i18next.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// This file is part of React-Invenio-Deposit
// Copyright (C) 2021 Graz University of Technology.
//
// Invenio-app-rdm is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.

import i18n from "i18next";

import LanguageDetector from "i18next-browser-languagedetector";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"state:draft":"koncept","state:published":"publikováno","state:submitted":"odesláno","state:retracting":"staženo","state:deleted":"smazáno","This dataset is not yet registered in the repository. You can register it using the 'Obtain the link for RIV' button below.":"Tato datová sada ještě není v repozitáři zaregistrována. Můžete ji zaregistrovat pomocí tlačítka „Získat odkaz pro RIV“ níže.","Thank you for submitting the record to the National Metadata Directory. If you need to add a link to you RIV submission, please use the link below.":"Děkujeme za registraci záznamu do Národního metadatového adresáře. Pro účely vykazování do RIV použijte prosím níže uvedený odkaz.","Thank you for submitting the record to the National Metadata Directory. We detected some metadata issues within the record. To obtain a URL for RIV reporting, please check and correct the metadata below.":"Děkujeme za registraci záznamu do Národního metadatového adresáře. V metadatech záznamu byly zjištěny problémy. Pro získání URL k vykazování do RIV prosím zkontrolujte a opravte metadata níže.","The provided identifier is a URL that can not be registered at the moment. If your dataset does not have a DOI or a handle in URL format, please contact support at <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.":"Zadaný identifikátor je adresa URL, kterou v tuto chvíli nelze zaregistrovat. Pokud vaše datová sada nemá DOI nebo Handle ve formátu URL, kontaktujte prosím podporu na <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.","The provided identifier does not exist. Please check it for typos and try again. If the problem persists, please contact support at <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.":"Zadaný identifikátor je neplatný. Prosím, zkontrolujte, jestli neobsahuje chyby, a zkuste znovu. Pokud se Vám problém nepodaří vyřešit, kontaktujte <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.","We were unable to resolve metadata at the moment, please try it again later.If the problem persists, please contact support at <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.":"Zadaný identifikátor je adresa URL, kterou v tuto chvíli nelze zaregistrovat. Pokud vaše datová sada nemá DOI nebo Handle ve formátu URL, kontaktujte prosím podporu na <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.","Error registering dataset: %(error)s":"Chyba při registraci datové sady: %(error)s","User does not have permission to edit record.":"Uživatel nemá oprávnění upravovat záznam.","Obtain the link for RIV":"Získat odkaz pro RIV","To report a dataset (type T result) in RIV, you must provide a link to the National Metadata Directory (NMD), which records its core metadata. On this page, you can verify whether the NMD has the dataset registered or register it into the NMD if needed.":"Pro vykázání datové sady (výsledek typu T) do RIVu je třeba uvést odkaz do Národního metadatového adresáře (NMA), který má evidovat její základní metadata. Na této stránce si můžete ověřit, zda NMA datovou sadu eviduje, případně ji do NMA zaregistrovat.","https://doi.org/… or https://hdl.handle.net/…":"https://doi.org/… nebo https://hdl.handle.net/…","The dataset must have a persistent identifier. If the dataset has multiple identifiers (e.g., both a DOI and a Handle), we recommend providing the DOI.":"Datová sada musí mít persistentní identifikátor. Pokud má sada identifikátorů více, např. DOI a Handle, doporučujeme zadat DOI.","What happens next?":"Co se stane dále?","If the dataset is already in the NMD, we issue the RIV link immediately. No further action is needed.":"Pokud v NMA máme záznam, vydáme odkaz pro RIV a tím bude vše vyřízeno.","If the dataset is not in the NMD, we attempt to automatically retrieve and download its metadata.":"Pokud záznam nemáme, zkusíme jeho metadata dohledat a stáhnout.","If this result is a complete, valid record in the NMD, you will receive the RIV link.":"Jestli tak vznikl kompletní validní záznam, dostanete odkaz pro RIV.","If key fields are missing, we will request additional information from you. You’ll also receive an email with a link to amend the record if corrections are needed. ⚠️ This link expires after 7 days.":"Pokud bude nějaká důležitá položka chybět, požádáme vás o doplnění. V takovém případě dostanete mailem odkaz na případné opravy zadaného záznamu, které pak lze dělat ještě sedm dnů, kdy odkaz platí.","Need assistance? Contact: <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.":"Pokud budete potřebovat pomoci, napište na <a href=\"mailto:info@eosc.cz\">info@eosc.cz</a>.","If you had to create or correct the record manually, ask your repository administrator to have the repository harvested into the NMD.":"Pokud jste svůj záznam doplňovali ručně, řekněte správci svého repozitáře, ať jej nechá sklízet do NMA.","Using a different persistent identifier?":"Používáte jiný persistentní identifikátor?","NMD can discover metadata primarily for datasets identified by <a href=\"https://www.doi.org/the-identifier/what-is-a-doi/\" target=\"_blank\">DOI</a> or <a href=\"https://www.handle.net\" target=\"_blank\">Handle</a> identifiers.":"NMA umí dohledat metadata zejména k datovým sadám odkazovaným pomocí <a href=\"https://www.doi.org/the-identifier/what-is-a-doi/\" target=\"_blank\">DOI</a> a <a href=\"https://www.handle.net\" target=\"_blank\">Handle</a>.","If your datasets use a different type of identifier, please contact us at":"Pokud vaše datové sady používají jiný typ identifikátorů, kontaktujte nás prosím na","(metadata can also be entered manually if needed).":"(metadata můžete případně zadat ručně).","Open record management menu":"Otevřít menu správy záznamu","Manage record":"Spravovat záznam","Original source check status":"Stav kontroly původního zdroje","Original source confirmed. The dataset is still available at its authoritative repository.":"Původní zdroj potvrzen. Datová sada je stále dostupná ve svém autoritativním repozitáři.","Original source not found. The dataset is no longer available at the specified location.":"Původní zdroj nebyl nalezen. Datová sada již není na uvedeném místě dostupná.","Error checking original source. Unable to verify dataset availability.":"Chyba při kontrole původního zdroje. Nelze ověřit dostupnost datové sady.","Original source not accessible. The dataset location cannot be reached.":"Původní zdroj není přístupný. K umístění datové sady se nelze připojit.","Warning: Issue detected with original source.":"Varování: Zjištěn problém s původním zdrojem.","Last checked: ":"Naposledy zkontrolováno: ","Primary persistent identifier of the record":"Primární persistentní identifikátor záznamu","Use it for citations, references in publications, and long-term identification of the record.":"Používejte jej pro citace, odkazy v publikacích a dlouhodobou identifikaci záznamu.","Persistent link (RIV only)":"Persistentní odkaz (pouze pro RIV)","This link is intended exclusively for submitting records to the RIV (the “Record in the National Metadata Directory” item).":"Tento odkaz je určen výhradně pro zadávání záznamů do RIV (položka „Záznam v Národním metadatovém adresáři“).","Do not use it for citations, general sharing, or references in publications.":"Nepoužívejte jej pro citace, běžné sdílení ani odkazy v publikacích.","Citation":"Citace","Link for RIV":"Odkaz pro RIV","Edit":"Upravit","There was an error saving your changes. If the problem persists please contact":"Při ukládání změn došlo k chybě. Pokud problém přetrvává, kontaktujte prosím","support.":"podporu.","Save draft":"Uložit koncept","We couldn't find any matches for {{- search}}":"Nenašli jsme žádné výsledky pro {{- search}}","your search":"vaše hledání","Start over":"Začít znovu","or":"nebo","If you are looking to report a dataset (type T result) in RIV.":"Pokud chcete nahlásit datovou sadu (výsledek typu T) do RIV.","ProTip":"Tip","will give you all the publications from 2025 until today.":"vám zobrazí všechny publikace od roku 2025 do dneška.","For more tips, check out our ":"Další tipy najdete v našem ","Search guide":"Průvodce vyhledáváním","search guide":"průvodci vyhledáváním","for defining advanced search queries.":"pro tvorbu pokročilých vyhledávacích dotazů.","No creation date found.":"Nebylo nalezeno datum vytvoření.","No publication date found.":"Nebylo nalezeno datum publikace.","No resource type":"Bez typu zdroje","No title":"Bez názvu","Uploaded on {{uploadDate}}":"Nahráno {{uploadDate}}","Published in: {{- publishInfo }}":"Publikováno v: {{- publishInfo }}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"state:draft":"draft","state:published":"published","state:submitted":"submitted","state:retracting":"retracting","state:deleted":"deleted","metadata/publisher.label":"Publisher","metadata/resource_type.label":"Resource type","metadata/languages.label":"Languages","Publisher":"published","Published in":"published"}
10 changes: 3 additions & 7 deletions i18n/semantic-ui/translations/messages/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import TRANSLATE_EN from "./en/translations.json";

import TRANSLATE_CS from "./cs/translations.json";


// This file was autogenerated with oarepo-tools
import TRANSLATE_EN from "./en/LC_MESSAGES/translations.json"
import TRANSLATE_CS from "./cs/LC_MESSAGES/translations.json"
export const translations = {
en: { translation: TRANSLATE_EN },

cs: { translation: TRANSLATE_CS },

}
2 changes: 0 additions & 2 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ APP_RDM_DETAIL_SIDE_BAR_TEMPLATES = [
"invenio_app_rdm/records/details/side_bar/keywords_subjects.html",
"invenio_app_rdm/records/details/side_bar/details.html",
"invenio_app_rdm/records/details/side_bar/licenses.html",
"datasets/record_detail/side_bar/citations.html",
"oarepo_ui/record_detail/side_bar/export.html",
"invenio_app_rdm/records/details/side_bar/technical_metadata.html",
]
Comment thread
mirekys marked this conversation as resolved.
"""Template names for detail view sidebar components"""
Expand Down
13 changes: 13 additions & 0 deletions oarepo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
i18n:
languages:
- en
- cs
babel_source_paths:
Comment on lines +1 to +5
- common
- ui
- models
- templates
babel_output_translations: translations
i18next_source_paths:
- ui
i18next_output_translations: i18n/semantic-ui/translations
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ <h2 class="ui medium top attached header mt-0">{{ _('Details')}}</h2>
<span id="copy-button-record-doi-badge" class="copy-doi-button inline-block ml-5" data-value="{{ persistent_url }}" data-size="medium"></span>
</dd>
{% endif %}
{{ show_detail(_('Publication date'), record_ui["ui"]["publication_date_l10n_full"]) if record_ui["ui"].get("publication_date_l10n_full") }}
{% if oai_record %}
<dt class="ui tiny header inline">{{ _('Harvested from') }}</dt>
<dd>
{{ oai_record.harvester.name }}
{{ oai_record.harvester.name }}
Comment on lines +28 to +32
</dd>
{% endif %}
{{ show_detail(_('Resource type'), record_ui["ui"]["resource_type"]["title_l10n"]) if record_ui["ui"]["resource_type"] }}
Expand Down
Loading