Skip to content

Commit

Permalink
Merge pull request #251 from f-necas/i18n/update-translations
Browse files Browse the repository at this point in the history
i18n / Updates from transifex
  • Loading branch information
jahow committed Sep 21, 2023
2 parents 674bea1 + 2473c1e commit 1845d0e
Show file tree
Hide file tree
Showing 81 changed files with 767 additions and 110 deletions.
54 changes: 42 additions & 12 deletions web-ui/download-from-transifex.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,49 @@
#!/usr/bin/env bash
# Install transifex client first.
# sudo apt-get install transifex-client
# on OSX run pip if you have that installed
# sudo pip install transifex-client
# curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
# source ~/.bashrc

mkdir transifex-src
rm -fr transifex-src
mkdir -p transifex-src/.tx
cd transifex-src
tx init --host=www.transifex.com
tx set --auto-remote https://www.transifex.com/projects/p/core-geonetwork/
tx pull -a -r 'core-geonetwork.editor'
tx pull -a -r 'core-geonetwork.admin'
tx pull -a -r 'core-geonetwork.core'
tx pull -a -r 'core-geonetwork.v4'
tx pull -a -r 'core-geonetwork.search'
tx pull -a -r 'core-geonetwork.gnui'

cat <<EOF > .tx/config
[main]
host = https://www.transifex.com
[o:geonetwork:p:core-geonetwork:r:v4]
file_filter = translations/core-geonetwork.v4/<lang>.json
source_file = translations/core-geonetwork.v4/en.json
type = KEYVALUEJSON
[o:geonetwork:p:core-geonetwork:r:editor]
file_filter = translations/core-geonetwork.editor/<lang>.json
source_file = translations/core-geonetwork.editor/en.json
type = KEYVALUEJSON
[o:geonetwork:p:core-geonetwork:r:admin]
file_filter = translations/core-geonetwork.admin/<lang>.json
source_file = translations/core-geonetwork.admin/en.json
type = KEYVALUEJSON
[o:geonetwork:p:core-geonetwork:r:core]
file_filter = translations/core-geonetwork.core/<lang>.json
source_file = translations/core-geonetwork.core/en.json
type = KEYVALUEJSON
[o:geonetwork:p:core-geonetwork:r:search]
file_filter = translations/core-geonetwork.search/<lang>.json
source_file = translations/core-geonetwork.search/en.json
type = KEYVALUEJSON
[o:geonetwork:p:core-geonetwork:r:gnui]
file_filter = translations/core-geonetwork.gnui/<lang>.json
source_file = translations/core-geonetwork.gnui/en.json
type = KEYVALUEJSON
EOF


tx pull --force --translations --all
cd ..

TRANSLATION_DIR=transifex-src/translations/core-geonetwork.
Expand Down
26 changes: 25 additions & 1 deletion web-ui/src/main/resources/catalog/locales/ca-admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,20 @@
"geonetwork-useChangeDateForUpdateHelp": "Utilitza la data d'actualització per detectar canvis en el servidor remot. Això no actualitzarà canvis menors, però millora la velocitat del harvester.",
"geonetwork-xslfilter": "Nom del filtre XSL a aplicar",
"geonetwork-xslfilterHelp": "El filetro XSL s'aplicarà a cada metadada",
"simpleurl-urlHelp": "URL pointing to JSON or XML documents. If harvesting more than one URL, add one line for each.",
"loopElement": "Element to loop on",
"simpleurl-configHelper": "Sample configurations which can help setting up the harvester:",
"simpleurl-configHelper-help": "Depending on the target URL and the type of documents to harvest each configuration illustrate of to configure the harvester to extract the metadata records from the remote document.",
"simpleurl-loopElementHelp": "For each element, one metadata record is created. For JSON document, points to a property. For XML document, points using XPath. eg. '.' if the element at the root of the XML document is a metadata document like 'mdb:MD_Metadata'.",
"simpleurl-pagination": "Pagination parameters (optional)",
"numberOfRecordPath": "Element for the number of records to collect",
"simpleurl-numberOfRecordPathHelp": "JSON property or XPath to the element containing the number of records to collect. This information is used to compute the number of pages in case pagination is needed to collect all records.",
"recordIdPath": "Element for the UUID of each record",
"simpleurl-recordIdPathHelp": "JSON property or XPath to the UUID of the record. eg. 'mdb:metadataIdentifier/*/mcc:code/*/text()' for XML document in ISO19115-3.",
"pageFromParam": "From URL parameter",
"simpleurl-pageFromParamHelp": "",
"pageSizeParam": "Size URL parameter",
"simpleurl-pageSizeParamHelp": "",
"groupDeleteError": "Error en esborrar el grup",
"groupDeleteConfirm": "Estàs segur de voler esborrar el grup?",
"userDeleteError": "Error en esborrar l'usuari.",
Expand Down Expand Up @@ -345,8 +359,10 @@
"indexingInProgress": "Indexat en curs ...",
"indexingRecordsRelatedToTheThesaurus": "Entrades relacionades a aquest tesaurus s'estan indexant ...",
"thesaurusCreationError": "S'ha produït un error en crear el tesaure",
"thesaurusUpdateError": "Error on updating the thesaurus",
"thesaurusUploadError": "S'ha produït un error en carregar el tesaure",
"thesaurusDeleteError": "S'ha produït un error en esborrar el tesaure",
"thesaurusTitleRequired": "The thesaurus title is required",
"information": "Informació",
"inspireatom-errors": "Errors:",
"inspireatom-harvestedfeeds": "Fonts de harvester:",
Expand Down Expand Up @@ -776,6 +792,13 @@
"system/server/port": "Port",
"system/server/protocol": "Protocol preferit",
"system/server/log": "Nivell de registre",
"system/index": "Index options",
"metadata/url": "Link to metadata",
"metadata/url/sitemapDoiFirst": "Use DOI for sitemap URL if present",
"metadata/url/sitemapLinkUrl": "Sitemap and permalink URL template",
"metadata/url/sitemapLinkUrl-help": "URL template to build the links to metadata document in <a href='../api/sitemap'>the catalogue sitemap</a>. String <ul><li>\\{\\{UUID\\}\\} will be replaced by the metadata UUID</li><li>\\{\\{LANG\\}\\} will be replaced by the request language</li><li>\\{\\{RESOURCEID\\}\\} will be replaced by the resource identifier</li></ul>For example, for the template http://www.example.com/external/metadata/html?uuid=\\{\\{UUID\\}\\} the resulting URL in sitemap document would be http://www.example.com/external/metadata/html?uuid=this-is-the-actual-uuid. If not set, the default URL is used.",
"metadata/url/dynamicAppLinkUrl": "Portal URL template",
"metadata/url/dynamicAppLinkUrl-help": "Link in the landing page to open the catalogue application. If not set, the default app is used.",
"system/server/timeZone": "Fus horari",
"system/server/timeZone-help": "Sets the timezone used to store dates in the database and interpret the time in cron expression specified in the harvesters Frequency field. If not set the JVM default timezone will be used. GeoNetwork uses the timezone definitions available in the JVM. Time zones definitions can change frequently. Please keep updated your JVM to get the latest timezones definition or use the tzupdater tool available for download from the <a href='http://www.oracle.com/technetwork/java/javase/downloads/index.html' target='_blank'>Java SE Download Page</a>.",
"system/site": "Descripció del catàleg",
Expand Down Expand Up @@ -1399,5 +1422,6 @@
"confirmMetadataIdentifierTemplateDelete": "Are you sure you want to delete this metadata identifier template?",
"uiConfigDeleteError": "Error deleting user interface configuration",
"sourceRemoved": "Source removed",
"sourceRemovedError": "Error while removing the source"
"sourceRemovedError": "Error while removing the source",
"saveThesaurus": "Desar"
}
9 changes: 7 additions & 2 deletions web-ui/src/main/resources/catalog/locales/ca-core.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@
"signIn": "Autenticar",
"signedInAs": "Autenticar com",
"signout": "Sortir",
"signoutDescription": "You are already logged in, click the button to logout.",
"somethingWrong": "Quelcom ha fet figa!",
"south": "Sud",
"siblings": "Recursos associats",
Expand Down Expand Up @@ -430,7 +431,7 @@
"link-fcats": "Catàleg d'Objectes Geogràfics",
"link-associated": "Recursos associats",
"indexAccessError": "Error during index access.",
"applyFilter": "Apply Filter",
"applyFilter": "Apply current filter to the map (build a SLD to apply to the WMS layer).",
"confirm": "OK",
"confirmDialogTitle": "Confirmar Acció",
"close": "Tancar",
Expand Down Expand Up @@ -574,8 +575,12 @@
"copyToClipboard": "Copy the text to the clipboard",
"textCopied": "Text has been copied to the clipboard.",
"metadataApproved": "Metadata approved.",
"metadataSubmitted": "Metadata submitted.",
"batchApproveTitle": "Batch metadata approval",
"batchApproveInfo": "This option approves the selected metadata owned by the user. By default, only the metadata in submitted status is approved, select the option below to approve directly the metadata that is not in submitted status.",
"batchApproveDirect": "Approve the metadata without requiring to be in submitted status",
"facet-mdStatus": "Progrés del flux de treball"
"facet-mdStatus": "Progrés del flux de treball",
"skipLink": "Skip and go to the content",
"batchSubmitTitle": "Batch metadata submission",
"batchSubmitInfo": "This option submits the selected metadata owned by the user."
}
3 changes: 2 additions & 1 deletion web-ui/src/main/resources/catalog/locales/ca-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
"searchAextent": "Search for an extent ...",
"searchAresourceConstraints": "Search for a constraint statement ...",
"searchAconstraint": "Cerca una restricció..",
"searchAcontact": "Cerca un contacte...",
"searchAcontact": "Search for organisation or contact ...",
"searchAnOrganisation": "Cerca una organització...",
"searchAformat": "Search for a format ...",
"setAndReplaceExtent": "Substitueix l'extensió actual",
Expand Down Expand Up @@ -387,6 +387,7 @@
"directoryEntryAssociatedMetadata": "Associated Metadata",
"directoryEntryEditor": "Entry Editor",
"directoryEntryEditing": "Currently editing:",
"directoryEntry-removeError-referenced": "You can't remove this subtemplate cause it is used in some records.",
"directoryManagerMode-newEntry": "New Entry",
"directoryManagerMode-editEntry": "Edit Entry",
"directoryManagerMode-newTemplate": "New Template",
Expand Down
1 change: 1 addition & 0 deletions web-ui/src/main/resources/catalog/locales/ca-gnui.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"dropFile": "",
"facets.block.title.OrgForResource": "Organització",
"facets.block.title.availableInServices": "Available for",
"facets.block.title.cl_hierarchyLevel.key": "Resource type",
Expand Down
10 changes: 9 additions & 1 deletion web-ui/src/main/resources/catalog/locales/ca-search.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,5 +540,13 @@
"esriCapabilitiesNoValid": "The response is not a valid ESRI Rest capabilities document.",
"seriesComposedOf": "Composed of",
"seriesCoveringPeriod": "Covering period",
"approve": "Approve"
"approve": "Approve",
"fieldRequired": "The value is required",
"fieldTooLong": "The value is too long",
"fieldTooLongMax": "The value is too long (max {{maxChar}} characters)",
"fieldTooShort": "The value is too short",
"fieldEmailNotValid": "A valid email address is required",
"addLayerPrefix": "Add layer",
"addLayerPostfix": "to the map",
"submit": "Submit"
}
12 changes: 10 additions & 2 deletions web-ui/src/main/resources/catalog/locales/ca-v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"loadMoreResults": "load more results...",
"rating": "puntuació",
"popularity": "popularitat",
"alternateTitle": "Also named: ",
"isHarvested-true": "Importat per recol·lecció",
"isHarvested-false": "Local",
"sortBy-popularity": "popularitat",
Expand Down Expand Up @@ -129,6 +130,7 @@
"facet-valid_inspire": "INSPIRE validation status",
"valid_inspire-1": "Vàlid",
"valid_inspire-0": "Invàlid",
"valid_inspire-3": "No rule applies",
"valid_inspire--1": "Desconegut",
"facet-OrgForResource": "Organitzacions",
"facet-sourceCatalogue": "Catalogues",
Expand Down Expand Up @@ -267,10 +269,12 @@
"ui/chooseAnOption-help": "Current user configuration is empty. Choose one or more option above or create a full configuration.",
"uiConfigForm": "Configuration form",
"uiConfigJsonForm": "JSON form",
"uiCurrentConfig": "Current configuration",
"uiBasicConfig": "Full configuration",
"uiRemoveDefaultOptions": "Remove default options",
"preferredOptions": "Preferred options",
"ui-full-configuration": "All options",
"ui-full-configuration": "All default options (reset all current options)",
"ui-full-current-configuration": "All current configuration",
"ui-hitsPerPage": "Número de registres per pàgina per defecte",
"ui-queryTitle": "Query for title only search",
"ui-related": "Results / Type of related records to search for",
Expand Down Expand Up @@ -302,6 +306,8 @@
"searchAndReplace": "Buscar i Reemplaçar",
"xpathEdits": "XPath editing",
"batchEdits": "Form editing",
"addXpathCondition": "an optional condition",
"condition": "Condició",
"searchAndReplaceEditsHelp": "Use the database to run a search and replace operation.",
"addSearchAndReplace-help": "",
"searchValue": "Valor",
Expand Down Expand Up @@ -331,6 +337,7 @@
"copyToClipboard": "Copy to clipboard.",
"copyUrlToClipboard": "Copy URL to clipboard.",
"copyHarvesterConfig": "Copy harvester config",
"copyListOfUuids": "Copy list of UUIDs",
"addHarvesterFromClipboard": "Paste harvester config",
"harvesterConfigIsNotJson": "The harvester config must be a JSON configuration.",
"harvesterConfigIsNotValid": "The harvester config does not look to be a valid configuration.",
Expand Down Expand Up @@ -365,5 +372,6 @@
"mimeType": "Format",
"uploadedResourceAlreadyExistException": "File {{file}} already exist in this record data store. Remove it first.",
"switchPortals": "Switch to another Portal",
"dataPreview": "Discover data"
"dataPreview": "Discover data",
"tableOfContents": "Table of Contents"
}
30 changes: 27 additions & 3 deletions web-ui/src/main/resources/catalog/locales/cs-admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,20 @@
"geonetwork-useChangeDateForUpdateHelp": "Použít datum změny k vyhledání změn na vzdáleném serveru. Výsledkem nebude aktualizace drobných změn, ale zlepšení rychlosti na sběrači dat.",
"geonetwork-xslfilter": "Použít název filtru XSL",
"geonetwork-xslfilterHelp": "Filtr XSL se použije na každý metadatový záznam",
"simpleurl-urlHelp": "Adresa URL směřující na dokumenty JSON nebo XML. Pokud shromažďujete více než jednu adresu URL, přidejte pro každou jeden řádek.",
"loopElement": "Prvek pro smyčku",
"simpleurl-configHelper": "Vzorové konfigurace, které mohou pomoci při nastavení shromažďovacího stroje:",
"simpleurl-configHelper-help": "V závislosti na cílové adrese URL a typu dokumentů, které se mají sklízet, každá konfigurace ilustruje konfiguraci shromažďovacího stroje pro extrakci záznamů metadat ze vzdáleného dokumentu.",
"simpleurl-loopElementHelp": "Pro každý prvek je vytvořen jeden metadatový záznam. U dokumentu JSON odkazuje na vlastnost. Pro dokument XML, body pomocí XPath. např. '.' pokud je prvkem v kořenovém adresáři dokumentu XML metadatový dokument, jako je 'mdb:MD_Metadata'.",
"simpleurl-pagination": "Parametry stránkování (volitelné)",
"numberOfRecordPath": "Prvek pro počet záznamů, které se mají shromáždit",
"simpleurl-numberOfRecordPathHelp": "Vlastnost JSON nebo XPath k prvku obsahujícímu počet záznamů, které se mají shromáždit. Tyto informace se používají k výpočtu počtu stránek v případě, že je potřeba stránkování pro shromáždění všech záznamů.",
"recordIdPath": "Prvek pro UUID každého záznamu",
"simpleurl-recordIdPathHelp": "Vlastnost JSON nebo XPath k UUID záznamu. např. 'mdb:metadataIdentifier/*/mcc:code/*/text()' pro dokument XML v ISO19115-3.",
"pageFromParam": "Z parametru URL",
"simpleurl-pageFromParamHelp": "",
"pageSizeParam": "Velikost parametru URL",
"simpleurl-pageSizeParamHelp": "",
"groupDeleteError": "Při mazání skupiny došlo k chybě",
"groupDeleteConfirm": "Opravdu chcete skupinu smazat?",
"userDeleteError": "Chyba při mazání uživatele",
Expand Down Expand Up @@ -345,8 +359,10 @@
"indexingInProgress": "Probíhá indexování ...",
"indexingRecordsRelatedToTheThesaurus": "Probíhá indexování záznamů souvisejících s tímto tezaurem ...",
"thesaurusCreationError": "Chyba při vytváření tezauru",
"thesaurusUpdateError": "Chyba při aktualizaci tezauru",
"thesaurusUploadError": "Chyba při nahrávání tezauru",
"thesaurusDeleteError": "Chyba při mazání tezauru",
"thesaurusTitleRequired": "Název tezauru je povinný",
"information": "Informace",
"inspireatom-errors": "Chyby:",
"inspireatom-harvestedfeeds": "Získané vstupy dat:",
Expand Down Expand Up @@ -776,6 +792,13 @@
"system/server/port": "Port",
"system/server/protocol": "Preferovaný protokol",
"system/server/log": "Úroveň protokolu",
"system/index": "Možnosti indexu",
"metadata/url": "Odkaz na metadata",
"metadata/url/sitemapDoiFirst": "Použít DOI pro adresu URL mapy webu, pokud existuje",
"metadata/url/sitemapLinkUrl": "Šablona Sitemap a URL trvalého odkazu",
"metadata/url/sitemapLinkUrl-help": "Šablona adresy URL pro vytvoření odkazů na dokument metadat v <a href='../api/sitemap'>mapě webu katalogu</a> . String<ul><li> \\{\\{UUID\\}\\} bude nahrazeno UUID metadat</li><li> \\{\\{LANG\\}\\} bude nahrazeno jazykem požadavku</li><li> \\{\\{RESOURCEID\\}\\} bude nahrazeno identifikátorem zdroje</li></ul> Například pro šablonu http://www.example.com/external/metadata/html?uuid=\\{\\{UUID\\}\\} bude výsledná adresa URL v dokumentu sitemap http://www.example.com/external/metadata/html?uuid=this-is-the-actual-uuid. Pokud není nastaveno, použije se výchozí adresa URL.",
"metadata/url/dynamicAppLinkUrl": "Šablona URL portálu",
"metadata/url/dynamicAppLinkUrl-help": "Odkaz na vstupní stránce pro otevření aplikace katalogu. Pokud není nastaveno, použije se výchozí aplikace.",
"system/server/timeZone": "Časové pásmo",
"system/server/timeZone-help": "Nastaví časové pásmo použité k uložení dat do databáze a interpretaci času ve výrazu cron určeném v poli Frekvence sklizně. Pokud není nastaveno, použije se výchozí časové pásmo JVM. GeoNetwork používá definice časových pásem dostupné v JVM. Definice časových pásem se mohou často měnit. Aktualizujte prosím svůj JVM, abyste získali nejnovější definici časových pásem, nebo použijte nástroj tzupdater, který je k dispozici ke stažení na stránce <a href='http://www.oracle.com/technetwork/java/javase/downloads/index.html' target='_blank'>Java SE Download</a> .",
"system/site": "Popis katalogu",
Expand Down Expand Up @@ -1293,8 +1316,8 @@
"sourceName-help": "Krátký název portálu. MUSÍ se skládat pouze z písmen, číslic, '-' a '_'. Po vytvoření použijte překlady k definování štítků, které budou zobrazeny na panelu nástrojů.",
"sourceFilter": "Vyhledávat filtr",
"sourceFilter-help": "Další vyhledávací kritéria, která mají být přidána do vyhledávání v portálu. Toto je <a href='https://lucene.apache.org/core/2_9_4/queryparsersyntax.html'>výraz lucene</a>. např. +keyword:inspire",
"displayInHeaderSwitcher": "Display in the portal switcher",
"displayInHeaderSwitcher-help": "If enabled the portal will displayed on the list of available portals in the site header portal selector",
"displayInHeaderSwitcher": "Zobrazit v přepínači portálu",
"displayInHeaderSwitcher-help": "Pokud je tato volba povolena, portál se zobrazí v seznamu dostupných portálů ve výběru portálu v záhlaví webu.",
"sourceLogo": "Logo",
"sourceLogo-help": "Logo portálu se zobrazí na panelu nástrojů.",
"sourceUiConfig": "Konfigurace uživatelského rozhraní",
Expand Down Expand Up @@ -1399,5 +1422,6 @@
"confirmMetadataIdentifierTemplateDelete": "Opravdu chcete smazat tuto šablonu identifikátoru metadat?",
"uiConfigDeleteError": "Chyba při mazání konfigurace uživatelského rozhraní",
"sourceRemoved": "Zdroj odstraněn",
"sourceRemovedError": "Chyba při odstraňování zdroje"
"sourceRemovedError": "Chyba při odstraňování zdroje",
"saveThesaurus": "Uložit"
}
1 change: 1 addition & 0 deletions web-ui/src/main/resources/catalog/locales/cs-core.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@
"signIn": "Přihlásit se",
"signedInAs": "Přihlášen(a) jako",
"signout": "Odhlásit se",
"signoutDescription": "Jste již přihlášeni, kliknutím na tlačítko se odhlásíte.",
"somethingWrong": "Něco se nezdařilo!",
"south": "Jih",
"siblings": "Přidružené zdroje",
Expand Down
Loading

0 comments on commit 1845d0e

Please sign in to comment.