Skip to content

Commit

Permalink
Fix translations
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Nov 8, 2024
1 parent 4bcc9ad commit 130ed51
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 18 deletions.
2 changes: 0 additions & 2 deletions backend/donations/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@


class UpdateFromNgohub(BaseTemplateView):
title = _("Update from ")

def post(self, request, *args, **kwargs):
redirect_success = redirect(reverse("organization"))
redirect_error = redirect(reverse("organization"))
Expand Down
60 changes: 53 additions & 7 deletions backend/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-07 12:57+0200\n"
"POT-Creation-Date: 2024-11-08 13:01+0200\n"
"PO-Revision-Date: 2024-02-28 15:45+0000\n"
"Last-Translator: Tudor Amariei <tudor.amariei@commitglobal.org>\n"
"Language-Team: English <https://translate.commitglobal.org/projects/act4good/"
Expand Down Expand Up @@ -433,6 +433,12 @@ msgstr "donor"
msgid "donors"
msgstr "donors"

#: donations/views/account_management.py:30
#, fuzzy
#| msgid "old password"
msgid "Reset password"
msgstr "old password"

#: donations/views/account_management.py:52
msgid ""
"If the email address is valid, you will receive an email with instructions."
Expand All @@ -456,16 +462,36 @@ msgstr "sign up"
msgid "It seems that this email and password combination is incorrect."
msgstr "It seems that this email and password combination is incorrect."

#: donations/views/account_management.py:181
#: donations/views/account_management.py:148
#, fuzzy
#| msgid "Sign In"
msgid "Sign Out"
msgstr "Sign In"

#: donations/views/account_management.py:157
msgid "Set New Password"
msgstr ""

#: donations/views/account_management.py:184
#, fuzzy
#| msgid "bank account"
msgid "New account"
msgstr "bank account"

#: donations/views/account_management.py:247
#: donations/views/account_management.py:250
msgid "Welcome to redirectioneaza.ro"
msgstr "Welcome to redirectioneaza.ro"

#: donations/views/account_management.py:272
#, fuzzy
#| msgid "description"
msgid "Verification"
msgstr "description"

#: donations/views/api.py:30
msgid "Update from "
msgstr ""

#: donations/views/dashboard/admin_dashboard.py:63
msgid "Donations this year"
msgstr "Donations this year"
Expand Down Expand Up @@ -574,19 +600,39 @@ msgstr "date"
msgid "duration"
msgstr "duration"

#: donations/views/my_account.py:302
#: donations/views/my_account.py:32
msgid "My Account Details"
msgstr ""

#: donations/views/my_account.py:58
msgid "Download archive"
msgstr ""

#: donations/views/my_account.py:95
#, fuzzy
#| msgid "bank account"
msgid "My Account"
msgstr "bank account"

#: donations/views/my_account.py:190
#, fuzzy
#| msgid "NGO Hub organization ID"
msgid "Organization details"
msgstr "NGO Hub organization ID"

#: donations/views/my_account.py:307
msgid "The URL is already used"
msgstr "The URL is already used"

#: donations/views/my_account.py:357
#: donations/views/my_account.py:362
msgid "The IBAN number must have 24 characters"
msgstr "The IBAN number must have 24 characters"

#: donations/views/my_account.py:360
#: donations/views/my_account.py:365
msgid "The IBAN number must contain only letters and digits"
msgstr "The IBAN number must contain only letters and digits"

#: donations/views/my_account.py:363
#: donations/views/my_account.py:368
msgid "The IBAN number must start with 'RO'"
msgstr "The IBAN number must start with 'RO'"

Expand Down
51 changes: 42 additions & 9 deletions backend/locale/ro/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-07 12:57+0200\n"
"POT-Creation-Date: 2024-11-08 13:01+0200\n"
"PO-Revision-Date: 2024-03-07 11:27+0000\n"
"Last-Translator: Tudor Amariei <tudor.amariei@commitglobal.org>\n"
"Language-Team: Romanian <https://translate.commitglobal.org/projects/"
Expand Down Expand Up @@ -436,6 +436,10 @@ msgstr "donator"
msgid "donors"
msgstr "donatori"

#: donations/views/account_management.py:30
msgid "Reset password"
msgstr "Resetare parolă"

#: donations/views/account_management.py:52
msgid ""
"If the email address is valid, you will receive an email with instructions."
Expand All @@ -458,14 +462,26 @@ msgstr "înregistrare"
msgid "It seems that this email and password combination is incorrect."
msgstr "Se pare că această combinație de email și parolă este incorectă."

#: donations/views/account_management.py:181
#: donations/views/account_management.py:148
msgid "Sign Out"
msgstr "Deconectare"

#: donations/views/account_management.py:157
msgid "Set New Password"
msgstr "Setare parolă nouă"

#: donations/views/account_management.py:184
msgid "New account"
msgstr "Cont nou"

#: donations/views/account_management.py:247
#: donations/views/account_management.py:250
msgid "Welcome to redirectioneaza.ro"
msgstr "Confirmare cont redirectioneaza.ro"

#: donations/views/account_management.py:272
msgid "Verification"
msgstr "Verificare"

#: donations/views/dashboard/admin_dashboard.py:63
msgid "Donations this year"
msgstr "Donații anul acesta"
Expand Down Expand Up @@ -574,19 +590,35 @@ msgstr "data completării"
msgid "duration"
msgstr "perioadă"

#: donations/views/my_account.py:302
#: donations/views/my_account.py:32
msgid "My Account Details"
msgstr "Detaliile contului meu"

#: donations/views/my_account.py:58
msgid "Download archive"
msgstr "Descarcă arhiva"

#: donations/views/my_account.py:95
msgid "My Account"
msgstr "Contul meu"

#: donations/views/my_account.py:190
msgid "Organization details"
msgstr "Detalii organizație"

#: donations/views/my_account.py:307
msgid "The URL is already used"
msgstr "URL-ul este deja folosit"

#: donations/views/my_account.py:357
#: donations/views/my_account.py:362
msgid "The IBAN number must have 24 characters"
msgstr "IBAN-ul trebuie să aibă 24 de cifre"

#: donations/views/my_account.py:360
#: donations/views/my_account.py:365
msgid "The IBAN number must contain only letters and digits"
msgstr "IBAN-ul trebuie să conțină doar litere și cifre"

#: donations/views/my_account.py:363
#: donations/views/my_account.py:368
msgid "The IBAN number must start with 'RO'"
msgstr "IBAN-ul trebuie să înceapă cu 'RO'"

Expand Down Expand Up @@ -877,13 +909,14 @@ msgid "To access your account, you need to authenticate through NGO Hub."
msgstr "Pentru a accesa contul, trebuie să te autentifici prin NGO Hub."

#: templates/v2/account/snippets/third-party.html:24
#, python-format
#, python-format
msgid ""
"To access your account, click the <strong>%(account_button)s</strong> button "
"and you will be able to enter the platform using your NGO Hub credentials."
msgstr ""
"Pentru a accesa contul, apasă butonul <strong>%(account_button)s</strong> și "
"vei putea intra pe platformă folosind datele tale de autentificare din NGO Hub."
"vei putea intra pe platformă folosind datele tale de autentificare din NGO "
"Hub."

#: templates/v2/account/snippets/third-party.html:33
msgid "After authentication, you will be redirected to your account."
Expand Down

0 comments on commit 130ed51

Please sign in to comment.