Skip to content

Commit

Permalink
added translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducica committed Jan 31, 2024
1 parent f4f5198 commit 8e885ea
Show file tree
Hide file tree
Showing 9 changed files with 361 additions and 195 deletions.
2 changes: 1 addition & 1 deletion babel.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ encoding = utf-8
encoding = utf-8

# Special case for jinjax translation strings
[jinja2: **/translations/jinjax_messages.jinja]
[jinja2: **/jinjax_messages.jinja]
encoding = utf-8
10 changes: 10 additions & 0 deletions oarepo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
i18n:
babel_output_translations: oarepo_ui/translations
babel_source_paths:
- oarepo_ui
i18next_output_translations: oarepo_ui/theme/assets/semantic-ui/translations/oarepo_ui
i18next_source_paths:
- oarepo_ui/theme/assets/semantic-ui/js
languages:
- cs
- en
Original file line number Diff line number Diff line change
@@ -1,75 +1 @@
{
"api.draft": "API pracovního záznamu",
"api.latest": "API poslední verze záznamu",
"api.latest_html": "Stránka poslední verze záznamu",
"api.publish": "API pro publikování záznamu",
"api.record": "API této verze záznamu",
"api.self_html": "Stránka této verze záznamu",
"api.versions": "API všech verzí záznamu",
"JSON": "JSON",
"Record details": "Detaily záznamu",
"\n <a href=\"%(link)s\">Invenio</a>": "\n <a href=\"%(link)s\">Invenio</a>",
"New item": "Nový záznam",
"Edit item ": "Editace záznamu",
"Menu": "Menu",
"Close menu": "Zavřít menu",
"Requests": "Žádosti",
"Inbox": "Příchozí",
"Log in": "Přihlásit se",
"Sign up": "Registrovat se",
"My account": "Můj účet",
"Log out": "Odhlásit se",
"Search results": "Výsledky vyhledávání",
"Powered by\n <a href=\"%(link)s\">Invenio</a>": "Založeno na repozitářové platformě\n <a href=“%(link)s”>Invenio</a>",
"Remove field": "Odstranit položku",
"Language": "Jazyk",
"Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")": "Hledat jazyk dle jména",
"Add another language": "Přidat další jazyk",
"We couldn't find any matches for ": "Nenašli jsme žádné shody pro ",
"search": "hledat",
"Choose": "Vybrat",
"Selected records": "Vybrané záznamy",
"Something went wrong...": "Stala se nějaká chyba …",
"Search...": "Hledat …",
"No results found": "Nenalezeny žádné výsledky",
"Loading...": "Nahrávám …",
"Search External Database": "Hledat v externím zdroji",
"Search results from external API": "Hledat v externím zdroji",
"Draft saved with validation errors. Fields listed below that failed validation were not saved to the server": "Pracovní verze záznamu byla uložena s chybami. Následující pole nebyla uložena, prosím, opravte je a uložte znovu",
"Draft saved successfully.": "Pracovní záznam byl uložen.",
"Draft published successfully. Redirecting to record's detail page ...": "Pracovní záznam byl úspěšně publikován. Budete přesměrováni na stránku s detailem záznamu …",
"Draft deleted successfully. Redirecting to the main page ...": "Pracovní verze záznamu byla smazána. Za okamžik Vás přesměrujeme na hlavní stránku.",
"Draft was saved but could not be published due to following validation errors": "Koncept byl uložen, ale nemohl být publikován kvůli následujícím chybám ověření:",
"Start over": "Začít znovu",
"resultsPerPage": "Výsledků na stránku",
"Filters": "Filtry",
"Filter results": "Filtrovat výsledky",
"Sort by": "Řazení",
"Sort": "Řazení",
"Value": "Hodnota",
"totalResults_one": "{{count}} výsledek",
"totalResults_few": "{{count}} výsledky",
"totalResults_many": "{{count}} výsledků",
"totalResults_other": "{{count}} výsledků",
"Clear all filters": "Vymazat všechny filtry",
"totalResults_0": "{{count}} výsledek",
"totalResults_1": "{{count}} výsledky",
"totalResults_2": "{{count}} výsledků",
"Open definition": "Otevřít definici",
"YYYY": "RRRR",
"YYYY-MM": "RRRR-MM",
"YYYY-MM-DD": "RRRR-MM-DD",
"Format: YYYY-MM-DD/YYYY-MM-DD, YYYYY-MM/YYYY/MM or YYYY/YYYY.": "Formát: RRRR-MM-DD/RRRR-MM-DD, RRRR-MM/RRRR/MM nebo RRRR/RRRR.",
"Select date range": "Vyberte časové období",
"Format: YYYY-MM-DD, YYYYY-MM or YYYY.": "Formát: RRRR-MM-DD, RRRR-MM nebo RRRR.",
"Select date": "Vyberte datum",
"Save": "Uložit",
"Preview": "Náhled",
"Publish": "Publikovat",
"Are you sure you wish to publish this draft?": "Jste si jistý, že chcete tento koncept publikovat?",
"Validate form": "Zkontrolovat formulář",
"Delete": "Smazat",
"Are you sure you wish delete this draft?": "Jste si jistý, že chcete smazat tento koncept?",
"If you delete the draft, the work you have done on it will be lost.": "Pokud koncept smažete, práce, kterou jste na něm vykonali, bude ztracena.",
"Cancel": "Zrušit"
}
{"api.draft":"API pracovního záznamu","api.latest":"API poslední verze záznamu","api.latest_html":"Stránka poslední verze záznamu","api.publish":"API pro publikování záznamu","api.record":"API této verze záznamu","api.self_html":"Stránka této verze záznamu","api.versions":"API všech verzí záznamu","JSON":"JSON","Record details":"Detaily záznamu","\n <a href=\"%(link)s\">Invenio</a>":"\n <a href=\"%(link)s\">Invenio</a>","New item":"Nový záznam","Edit item ":"Editace záznamu","Menu":"Menu","Close menu":"Zavřít menu","Requests":"Žádosti","Inbox":"Příchozí","Log in":"Přihlásit se","Sign up":"Registrovat se","My account":"Můj účet","Log out":"Odhlásit se","Search results":"Výsledky vyhledávání","Powered by\n <a href=\"%(link)s\">Invenio</a>":"Založeno na repozitářové platformě\n <a href=“%(link)s”>Invenio</a>","Remove field":"Odstranit položku","Language":"Jazyk","Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")":"Hledat jazyk dle jména","Add another language":"Přidat další jazyk","We couldn't find any matches for ":"Nenašli jsme žádné shody pro ","search":"hledat","Choose":"Vybrat","Selected records":"Vybrané záznamy","Something went wrong...":"Stala se nějaká chyba …","Search...":"Hledat …","No results found":"Nenalezeny žádné výsledky","Loading...":"Nahrávám …","Search External Database":"Hledat v externím zdroji","Search results from external API":"Hledat v externím zdroji","Draft saved with validation errors. Fields listed below that failed validation were not saved to the server":"Pracovní verze záznamu byla uložena s chybami. Následující pole nebyla uložena, prosím, opravte je a uložte znovu","Draft saved successfully.":"Pracovní záznam byl uložen.","Draft published successfully. Redirecting to record's detail page ...":"Pracovní záznam byl úspěšně publikován. Budete přesměrováni na stránku s detailem záznamu …","Draft deleted successfully. Redirecting to the main page ...":"Pracovní verze záznamu byla smazána. Za okamžik Vás přesměrujeme na hlavní stránku.","Draft was saved but could not be published due to following validation errors":"Koncept byl uložen, ale nemohl být publikován kvůli následujícím chybám ověření:","Start over":"Začít znovu","resultsPerPage":"Výsledků na stránku","Filters":"Filtry","Filter results":"Filtrovat výsledky","Sort by":"Řazení","Sort":"Řazení","Value":"Hodnota","totalResults_one":"{{count}} výsledek","totalResults_few":"{{count}} výsledky","totalResults_many":"{{count}} výsledků","totalResults_other":"{{count}} výsledků","Clear all filters":"Vymazat všechny filtry","totalResults_0":"{{count}} výsledek","totalResults_1":"{{count}} výsledky","totalResults_2":"{{count}} výsledků","Open definition":"Otevřít definici","YYYY":"RRRR","YYYY-MM":"RRRR-MM","YYYY-MM-DD":"RRRR-MM-DD","Format: YYYY-MM-DD/YYYY-MM-DD, YYYYY-MM/YYYY/MM or YYYY/YYYY.":"Formát: RRRR-MM-DD/RRRR-MM-DD, RRRR-MM/RRRR/MM nebo RRRR/RRRR.","Select date range":"Vyberte časové období","Format: YYYY-MM-DD, YYYYY-MM or YYYY.":"Formát: RRRR-MM-DD, RRRR-MM nebo RRRR.","Select date":"Vyberte datum","Actions":"Akce","Delete":"Zmazat","Cancel":"Zrušit","Are you sure you wish delete this draft?":"Jste si jisti chcete tento koncept smazat?","If you delete the draft, the work you have done on it will be lost.":"Pokud koncept smažete, práce, kterou jste na něm vykonali, bude ztracena.","Previous Month":"Předchozí měsíc","Next Month":"Příští měsíc","Choose a date range":"Vyberte časové období","Write a date range or click on the calendar icon to select it":"Napište časové období nebo jej vyberte kliknutím na ikonu kalendáře.","Write a date or click on the calendar icon to select it":"Napište datum nebo jej vyberte kliknutím na ikonu kalendáře.","Preview":"Náhled","Publish":"Publikovat","Are you sure you wish to publish this draft?":"Jste si jisti že chcete tento koncept publikovat?","Save":"Uložit","Validate form":"Zkontrolovat formulář"}
Original file line number Diff line number Diff line change
@@ -1,62 +1 @@
{
"api.draft": "Draft record API",
"api.latest": "Latest version API",
"api.latest_html": "Latest version",
"api.publish": "Publish API",
"api.record": "This record version API",
"api.self_html": "This record",
"api.versions": "All record versions API",
"JSON": "JSON",
"Record details": "",
"\n <a href=\"%(link)s\">Invenio</a>": "\n <a href=\"%(link)s\">Invenio</a>",
"New item": "",
"Edit item ": "Edit item ",
"Menu": "",
"Close menu": "Close menu",
"Requests": "",
"Inbox": "Inbox",
"Log in": "Log in",
"Sign up": "",
"My account": "",
"Log out": "Log out",
"Search results": "",
"Powered by\n <a href=\"%(link)s\">Invenio</a>": "",
"Remove field": "Remove field",
"Language": "Language",
"Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")": "Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")",
"Add another language": "Add another language",
"We couldn't find any matches for ": "We couldn't find any matches for ",
"search": "search",
"Choose": "Choose",
"Selected records": "Selected records",
"Something went wrong...": "Something went wrong...",
"Search...": "Search...",
"No results found": "No results found",
"Loading...": "Loading...",
"Search External Database": "Search External Database",
"Search results from external API": "Search results from external API",
"Draft saved with validation errors. Fields listed below that failed validation were not saved to the server": "Draft saved with validation errors. Fields listed below that failed validation were not saved to the server",
"Draft saved successfully.": "Draft saved successfully.",
"Draft published successfully. Redirecting to record's detail page ...": "Draft published successfully. Redirecting to record's detail page ...",
"Draft deleted successfully. Redirecting to the main page ...": "Draft deleted successfully. Redirecting to the main page ...",
"Draft was saved but could not be published due to following validation errors": "Draft was saved but could not be published due to following validation errors:",
"Start over": "Start over",
"resultsPerPage": "Results per page",
"Filters": "Filters",
"Filter results": "Filter results",
"Sort by": "Sort by",
"Sort": "Sort",
"totalResults_one": "{{count}} result",
"totalResults_other": "{{count}} results",
"Clear all filters": "Clear all filters",
"totalResults": "{{count}} result",
"totalResults_plural": "{{count}} results",
"Open definition": "Open definition",
"YYYY": "YYYY",
"YYYY-MM": "YYYY-MM",
"YYYY-MM-DD": "YYYY-MM-DD",
"Format: YYYY-MM-DD/YYYY-MM-DD, YYYYY-MM/YYYY/MM or YYYY/YYYY.": "Format: YYYY-MM-DD/YYYY-MM-DD, YYYY-MM/YYYY/MM or YYYY/YYYY.",
"Select date range": "Select date range",
"Format: YYYY-MM-DD, YYYYY-MM or YYYY.": "Format: YYYY-MM-DD, YYYY-MM or YYYY.",
"Select date": "Select date"
}
{"api.draft":"Draft record API","api.latest":"Latest version API","api.latest_html":"Latest version","api.publish":"Publish API","api.record":"This record version API","api.self_html":"This record","api.versions":"All record versions API","JSON":"JSON","\n <a href=\"%(link)s\">Invenio</a>":"\n <a href=\"%(link)s\">Invenio</a>","Edit item ":"Edit item ","Close menu":"Close menu","Inbox":"Inbox","Log in":"Log in","Log out":"Log out","Remove field":"Remove field","Language":"Language","Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")":"Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")","Add another language":"Add another language","We couldn't find any matches for ":"We couldn't find any matches for ","search":"search","Choose":"Choose","Selected records":"Selected records","Something went wrong...":"Something went wrong...","Search...":"Search...","No results found":"No results found","Loading...":"Loading...","Search External Database":"Search External Database","Search results from external API":"Search results from external API","Draft saved with validation errors. Fields listed below that failed validation were not saved to the server":"Draft saved with validation errors. Fields listed below that failed validation were not saved to the server","Draft saved successfully.":"Draft saved successfully.","Draft published successfully. Redirecting to record's detail page ...":"Draft published successfully. Redirecting to record's detail page ...","Draft deleted successfully. Redirecting to the main page ...":"Draft deleted successfully. Redirecting to the main page ...","Draft was saved but could not be published due to following validation errors":"Draft was saved but could not be published due to following validation errors:","Start over":"Start over","resultsPerPage":"Results per page","Filters":"Filters","Filter results":"Filter results","Sort by":"Sort by","Sort":"Sort","totalResults_one":"{{count}} result","totalResults_other":"{{count}} results","Clear all filters":"Clear all filters","totalResults":"{{count}} result","totalResults_plural":"{{count}} results","Open definition":"Open definition","YYYY":"YYYY","YYYY-MM":"YYYY-MM","YYYY-MM-DD":"YYYY-MM-DD","Format: YYYY-MM-DD/YYYY-MM-DD, YYYYY-MM/YYYY/MM or YYYY/YYYY.":"Format: YYYY-MM-DD/YYYY-MM-DD, YYYY-MM/YYYY/MM or YYYY/YYYY.","Select date range":"Select date range","Format: YYYY-MM-DD, YYYYY-MM or YYYY.":"Format: YYYY-MM-DD, YYYY-MM or YYYY.","Select date":"Select date"}
76 changes: 76 additions & 0 deletions oarepo_ui/translations/cs/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,79 @@ msgstr "Formát: RRRR-MM-DD, RRRR-MM nebo RRRR."

msgid "Select date"
msgstr "Vyberte datum"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:5
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:6
msgid "All document records"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:6
msgid "in"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:14
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:15
msgid "Search"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/footer.html:15
msgid "Contact"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/footer.html:33
#, python-format
msgid ""
"Powered by\n"
" <a href=\"%(link)s\">Invenio</a>"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header_login.html:36
msgid "Quick create"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header_login.html:53
msgid "Actions"
msgstr "Akce"

msgid "Delete"
msgstr "Zmazat"

msgid "Cancel"
msgstr "Zrušit"

msgid "Are you sure you wish delete this draft?"
msgstr "Jste si jisti chcete tento koncept smazat?"

msgid "If you delete the draft, the work you have done on it will be lost."
msgstr ""
"Pokud koncept smažete, práce, kterou jste na něm vykonali, bude ztracena."

msgid "Previous Month"
msgstr "Předchozí měsíc"

msgid "Next Month"
msgstr "Příští měsíc"

msgid "Choose a date range"
msgstr "Vyberte časové období"

msgid "Write a date range or click on the calendar icon to select it"
msgstr "Napište časové období nebo jej vyberte kliknutím na ikonu kalendáře."

msgid "Write a date or click on the calendar icon to select it"
msgstr "Napište datum nebo jej vyberte kliknutím na ikonu kalendáře."

msgid "Preview"
msgstr "Náhled"

msgid "Publish"
msgstr "Publikovat"

msgid "Are you sure you wish to publish this draft?"
msgstr "Jste si jisti že chcete tento koncept publikovat?"

msgid "Save"
msgstr "Uložit"

msgid "Validate form"
msgstr "Zkontrolovat formulář"
75 changes: 75 additions & 0 deletions oarepo_ui/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,78 @@ msgstr "Format: YYYY-MM-DD, YYYY-MM or YYYY."

msgid "Select date"
msgstr "Select date"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:5
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:6
msgid "All document records"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:6
msgid "in"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:14
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/Searchbar.jinja:15
msgid "Search"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/footer.html:15
msgid "Contact"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/footer.html:33
#, python-format
msgid ""
"Powered by\n"
" <a href=\"%(link)s\">Invenio</a>"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header_login.html:36
msgid "Quick create"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header_login.html:53
msgid "Actions"
msgstr ""

msgid "Delete"
msgstr ""

msgid "Cancel"
msgstr ""

msgid "Are you sure you wish delete this draft?"
msgstr ""

msgid "If you delete the draft, the work you have done on it will be lost."
msgstr ""

msgid "Previous Month"
msgstr ""

msgid "Next Month"
msgstr ""

msgid "Choose a date range"
msgstr ""

msgid "Write a date range or click on the calendar icon to select it"
msgstr ""

msgid "Write a date or click on the calendar icon to select it"
msgstr ""

msgid "Preview"
msgstr ""

msgid "Publish"
msgstr ""

msgid "Are you sure you wish to publish this draft?"
msgstr ""

msgid "Save"
msgstr ""

msgid "Validate form"
msgstr ""
Empty file.
Loading

0 comments on commit 8e885ea

Please sign in to comment.