Skip to content

Commit

Permalink
added translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducica committed Sep 29, 2024
1 parent 5b0bb41 commit 818aa8e
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const DeleteButton = React.memo(
onClick={openModal}
icon="delete"
labelPosition="left"
content={i18next.t("Delete")}
content={i18next.t("Delete draft")}
type="button"
disabled={isSubmitting}
loading={isSubmitting}
Expand All @@ -59,7 +59,7 @@ export const DeleteButton = React.memo(
}}
icon="delete"
labelPosition="left"
content={i18next.t("Delete")}
content={i18next.t("Delete draft")}
type="button"
/>
</>
Expand Down

Large diffs are not rendered by default.

Binary file modified oarepo_ui/translations/cs/LC_MESSAGES/messages.mo
Binary file not shown.
38 changes: 38 additions & 0 deletions oarepo_ui/translations/cs/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -588,3 +588,41 @@ msgstr ""

msgid "Change"
msgstr "Změnit"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:9
msgid "ORCID profile"
msgstr "ORCID profil"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:14
msgid "Scopus ID profile"
msgstr "Scopus ID profil"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:19
msgid "ROR profile"
msgstr "ROR profil"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:24
msgid "WOS Researcher ID"
msgstr "WOS Researcher ID"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:29
msgid "ISNI profile"
msgstr "ISNI profil"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:34
msgid "DOI profile"
msgstr "DOI profil"

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:39
msgid "GND profile"
msgstr "GND profil"

msgid "Your draft has validation errors. Please correct them and try again:"
msgstr ""
"Váš koncept obsahuje validační chyby. Opravte je prosím a zkuste to znovu."

msgid "Draft deleted successfully. Redirecting to your dashboard ..."
msgstr "Koncept byl úspěšně smazán. Přesměrování na vaši nástěnku..."

msgid "Delete draft"
msgstr "Smazat koncept"
37 changes: 37 additions & 0 deletions oarepo_ui/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -628,3 +628,40 @@ msgid ""
"If you are certain that you wish to proceed with the generic community, "
"please click on it below."
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:9
msgid "ORCID profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:14
msgid "Scopus ID profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:19
msgid "ROR profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:24
msgid "WOS Researcher ID"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:29
msgid "ISNI profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:34
msgid "DOI profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:39
msgid "GND profile"
msgstr ""

msgid "Your draft has validation errors. Please correct them and try again:"
msgstr ""

msgid "Draft deleted successfully. Redirecting to your dashboard ..."
msgstr ""

msgid "Delete draft"
msgstr ""
Binary file modified oarepo_ui/translations/messages.mo
Binary file not shown.
52 changes: 39 additions & 13 deletions oarepo_ui/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-26 11:34+0200\n"
"POT-Creation-Date: 2024-09-29 14:05+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -49,7 +49,7 @@ msgstr ""
msgid "api.versions"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/resources/config.py:126
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/resources/config.py:140
msgid "JSON"
msgstr ""

Expand Down Expand Up @@ -77,6 +77,34 @@ msgstr ""
msgid "Edit item"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:9
msgid "ORCID profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:14
msgid "Scopus ID profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:19
msgid "ROR profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:24
msgid "WOS Researcher ID"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:29
msgid "ISNI profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:34
msgid "DOI profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifierBadge.jinja:39
msgid "GND profile"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifiersAndLinks.jinja:3
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/components/IdentifiersAndLinks.jinja:4
msgid "Identifiers and links"
Expand Down Expand Up @@ -183,19 +211,19 @@ msgstr ""
msgid "Version: %(version)s"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:45
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:42
msgid "Menu"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:64
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:61
msgid "Close menu"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:114
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:111
msgid "Requests"
msgstr ""

#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:116
#: /home/dusanst/oarepo-ui/oarepo-ui/oarepo_ui/templates/oarepo_ui/header.html:113
msgid "Inbox"
msgstr ""

Expand Down Expand Up @@ -248,6 +276,9 @@ msgstr ""
msgid "Remove field"
msgstr ""

msgid "Your draft has validation errors. Please correct them and try again:"
msgstr ""

msgid "Community website"
msgstr ""

Expand Down Expand Up @@ -288,7 +319,7 @@ msgstr ""
msgid "Community website."
msgstr ""

msgid "Delete"
msgid "Delete draft"
msgstr ""

msgid "Cancel"
Expand Down Expand Up @@ -409,12 +440,7 @@ msgstr ""
msgid "Draft published successfully. Redirecting to record's detail page ..."
msgstr ""

msgid "Draft deleted successfully. Redirecting to the main page ..."
msgstr ""

msgid ""
"Your draft was saved. If you wish to preview it, please correct the "
"following validation errors and click preview again:"
msgid "Draft deleted successfully. Redirecting to your dashboard ..."
msgstr ""

msgid "Your draft was saved. Redirecting to the preview page..."
Expand Down

0 comments on commit 818aa8e

Please sign in to comment.