diff --git a/backend/locale/en/LC_MESSAGES/django.po b/backend/locale/en/LC_MESSAGES/django.po index e162c9999..c4b088fe6 100644 --- a/backend/locale/en/LC_MESSAGES/django.po +++ b/backend/locale/en/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-02-19 15:49+0200\n" +"POT-Creation-Date: 2026-02-27 16:45+0200\n" "PO-Revision-Date: 2025-03-27 14:48+0000\n" "Last-Translator: Andrei Ioniță \n" "Language-Team: English \n" "Language-Team: Armenian \n" "Language-Team: Romanian Your organization is not accepting forms by e-mail. This means that " -#~ "users will have to download and print the form, fill it in, and send it " -#~ "to the organization's address or to their ANAF office.

" -#~ msgstr "" -#~ "

Organizația ta nu a activat momentan semnarea online a formularelor de " -#~ "redirecționare. Acum, utilizatorii vor trebui să descarce și să imprime " -#~ "formularul, să-l completeze manual și să-l trimită fie la adresa " -#~ "organizației, fie la un oficiu ANAF. Permite semnarea online, bifând " -#~ "opțiunea din pagina “Date formular”.

" - -#~ msgid "Organization URL" -#~ msgstr "URL-ul organizației" - -#~ msgid "Search" -#~ msgstr "Caută" - -#~ msgid "Registration numbers are clean." -#~ msgstr "Numerele de înregistrare sunt curate." - -#~ msgid "An image saying \"Thank you\" for your redirection" -#~ msgstr "O imagine care spune \"Mulțumim\" pentru redirecționare" - -#~ msgid "" -#~ "Thank you for your redirection! Your form has been sent to the NGO, and " -#~ "you have also received a copy of it by email." -#~ msgstr "" -#~ "Îți mulțumim! Formularul tău a fost trimis organizației și ai primit si " -#~ "tu o copie a acestuia pe email." - -#~ msgid "" -#~ "If you want to support the organization further, tell your friends to " -#~ "visit redirectioneaza.ro." -#~ msgstr "" -#~ "Dacă vrei să susții organizația mai departe, spune și prietenilor tăi să " -#~ "intre pe redirectioneaza.ro." - -#~ msgid "" -#~ "The first step was filling in the form. Now, here are the next steps:" -#~ msgstr "" -#~ "Primul pas a fost completarea formularului. Acum, iată pașii următori:" - -#~ msgid "Step 2." -#~ msgstr "Pasul 2." - -#~ msgid "Print the form and sign it." -#~ msgstr "Imprimă formularul și semnează-l." - -#~ msgid "Step 3." -#~ msgstr "Pasul 3." - -#~ msgid "Is accepting forms" -#~ msgstr "Acceptă formulare" - -#~ msgid "The URL is blocked" -#~ msgstr "URL-ul este blocat" - -#~ msgid "The URL is already used" -#~ msgstr "URL-ul este deja folosit" - -#~ msgid "PNG, JPG, GIF up to 2MB" -#~ msgstr "PNG, JPG, GIF până la 2MB" - -#~ msgid "Archives history " -#~ msgstr "Istoric arhive" - -#~ msgid "" -#~ "We have received your request and have created an archive with all the " -#~ "information you need." -#~ msgstr "" -#~ "Am primit cererea ta și am creat un arhivă cu toate informațiile de care " -#~ "ai nevoie." - -#~ msgid "" -#~ "Some of the settings here are managed by the NGO Hub platform. If you " -#~ "need to change them, make the updates on NGO Hub." -#~ msgstr "" -#~ "Unele dintre setările de aici sunt gestionate de platforma NGO Hub. Dacă " -#~ "ai nevoie să le modifici, fă actualizările pe NGO Hub." - -#~ msgid "User Guide" -#~ msgstr "Ghidul utilizatorului" - -#~ msgid "We have succesfully verified your account" -#~ msgstr "Contul tău a fost validat cu succes" - -#~ msgid "Go to the login page to access your account." -#~ msgstr "Mergi la pagina de autentificare pentru a accesa contul tău." - -#~ msgid "Go to login" -#~ msgstr "Mergi la autentificare" - -#~ msgid "Please check your email for a confirmation link, then log in." -#~ msgstr "" -#~ "Te rugăm să verifici emailul pentru un link de confirmare, apoi te poți " -#~ "conecta." - -#~ msgid "" -#~ "In NGO Hub, each of your colleagues can have their own account. Make sure " -#~ "you give your colleagues access to the applications they work with every " -#~ "day." -#~ msgstr "" -#~ "În NGO Hub fiecare coleg de-al tău poate avea propriul său cont. Asigură-" -#~ "te că le oferi acces colegilor tăi la aplicațiile cu care lucrează zi de " -#~ "zi." - -#~ msgid "" -#~ "Look for the Redirecționează application in the All applications section. " -#~ "It is one of the many applications offered for free to non-profit " -#~ "organizations in Romania." -#~ msgstr "" -#~ "Caută aplicația Redirecționează în secțiunea Toate aplicațiile. Este una " -#~ "dintre multele aplicații oferite gratuit organizațiilor nonprofit din " -#~ "România" - -#~ msgid "FAQ" -#~ msgstr "Întrebări frecvente" - -#~ msgid "If you didn't request a password reset, you can ignore this email." -#~ msgstr "Dacă nu ai cerut resetarea parolei, poți ignora acest email." - -#~ msgid "" -#~ "To log in to your account or manage your password, you will have to log " -#~ "in through your NGO Hub account." -#~ msgstr "" -#~ "Pentru a te conecta la contul tău sau a-ți gestiona parola, va trebui să " -#~ "te conectezi prin contul tău NGO Hub." - -#, python-format -#~ msgid "" -#~ "To log in to your account or manage your password, you will have to log " -#~ "in through your NGO Hub account." -#~ msgstr "" -#~ "Pentru a te conecta la contul tău sau a-ți gestiona parola, va trebui să " -#~ "te conectezi prin contul tău NGO Hub." - -#~ msgid "" -#~ "We received a request to reset your password on redirectioneaza.ro, but " -#~ "your account is connected through NGO Hub." -#~ msgstr "" -#~ "Am primit o cerere de resetare a parolei tale pe redirectioneaza.ro, dar " -#~ "contul tău este conectat prin NGO Hub." - -#~ msgid "" -#~ "If your organization doesn't have an account on NGO Hub, you can log in " -#~ "to redirectioneaza.ro using the same login details as in previous years." -#~ msgstr "" -#~ "Dacă organizația ta nu are cont în NGO Hub, te poți autentifica pe " -#~ "redirectioneaza.ro folosind aceleași date de logare ca anii trecuți." - -#~ msgid "" -#~ "You can choose to create an account on NGO Hub at any time, without " -#~ "losing the data and forms collected in previous years." -#~ msgstr "" -#~ "Poți alege oricând să-ți creezi cont în NGO Hub, fără a pierde datele și " -#~ "formularele strânse anii trecuți. " - -#~ msgid "supported by" -#~ msgstr "susținute de" - -#~ msgid "All rights reserved." -#~ msgstr "Toate drepturile rezervate." - -#~ msgid "" -#~ "If you're a non-profit organization, you can benefit from all the " -#~ "solutions in the NGO-dedicated ecosystem through NGO Hub. To access " -#~ "redirectioneaza.ro through your NGO Hub account, make sure:" -#~ msgstr "" -#~ "Dacă ești o organizație non-profit, poți beneficia de toate soluțiile din " -#~ "ecosistemul dedicat sectorului ONG prin NGO Hub. Pentru a accesa " -#~ "redirectioneaza.ro prin contul tău NGO Hub, asigură-te că:" - -#~ msgid "here" -#~ msgstr "aici" - -#~ msgid "" -#~ "If the button above does not work, you can also click on the following " -#~ "link:" -#~ msgstr "" -#~ "Dacă butonul de mai sus nu funcționează, poți apăsa și pe următorul link:" - -#~ msgid "" -#~ "If you want to fill in the form by hand, you can download the template. " -#~ "Print it, fill it in, sign it, and send it yourself." -#~ msgstr "" -#~ "Dacă vrei să completezi formularul de mână, poți descărca modelul. " -#~ "Imprimă-l, completează-l, semnează-l și trimite-l singur." - -#~ msgid "Check the FAQ for more details." -#~ msgstr "Verifică pagina de întrebări frecvente pentru mai multe detalii." - -#~ msgid "Download here" -#~ msgstr "Descarcă aici" - -#~ msgid "Active region:" -#~ msgstr "Regiune activă:" - -#, python-format -#~ msgid "%(ngo.county|to_county)s county" -#~ msgstr "județul %(ngo.county|to_county)s" - -#~ msgid "Submit form" -#~ msgstr "Trimite formularul" - -#~ msgid "Django Q" -#~ msgstr "Django Q" - -#~ msgid "My Account" -#~ msgstr "Contul meu" - -#~ msgid "Organization data" -#~ msgstr "Date organizație" - -#~ msgid "Close sidebar" -#~ msgstr "Închide bara laterală" - -#~ msgid "Terms" -#~ msgstr "Termeni" - -#~ msgid "Sign" -#~ msgstr "Semnează" - -#~ msgid "Forms export history " -#~ msgstr "Istoric export formulare" - -#~ msgid "Classic registration" -#~ msgstr "Înregistrare clasică" - -#, python-format -#~ msgid "" -#~ "To access your account, click the %(account_button)s " -#~ "button and you will be able to enter the platform using your NGO Hub " -#~ "credentials." -#~ msgstr "" -#~ "Pentru a accesa contul, apasă butonul %(account_button)s " -#~ "și vei putea intra pe platformă folosind datele tale de autentificare din " -#~ "NGO Hub." - -#~ msgid "After authentication, you will be redirected to your account." -#~ msgstr "După autentificare, vei fi redirecționat către contul tău." - -#~ msgid "sign up" -#~ msgstr "înregistrare" - -#~ msgid "" -#~ "Click the \"Go to account\" button and you will be redirected to the page " -#~ "where you need to authenticate using your NGO Hub credentials." -#~ msgstr "" -#~ "Apasă butonul „Mergi la cont” și vei fi redirecționat către pagina unde " -#~ "trebuie să te autentifici folosind datele tale de autentificare din NGO " -#~ "Hub." - -#~ msgid "PDF URL" -#~ msgstr "URL PDF" - -#~ msgid "Process the selected import jobs" -#~ msgstr "Procesează job-urile de import selectate" - -#~ msgid "Schedule the transfer of logos to the current storage" -#~ msgstr "Programează transferul logourilor în stocarea curentă" - -#~ msgid "The logos have been transferred." -#~ msgstr "Logourile au fost transferate." - -#~ msgid "Transfer of donor forms to the current storage (dry run)" -#~ msgstr "Transferă formularele de donare în stocarea curentă (rulare test)" - -#~ msgid "The donor forms have been transferred." -#~ msgstr "Formularele de donare au fost transferate." - -#~ msgid "Transfer of donor forms to the current storage" -#~ msgstr "Transferă formularele de donare în stocarea curentă" - -#~ msgid "Schedule the transfer of donor forms to the current storage" -#~ msgstr "Programează transferul formularelor de donare în stocarea curentă" - -#~ msgid "Pending" -#~ msgstr "În așteptare" - -#~ msgid "Import type" -#~ msgstr "Tip import" - -#~ msgid "Has header" -#~ msgstr "Are antet" - -#~ msgid "Import" -#~ msgstr "Import" - -#~ msgid "logo url" -#~ msgstr "url logo" - -#~ msgid "image url" -#~ msgstr "url imagine" - -#~ msgid "image" -#~ msgstr "imagine" - -#~ msgid "other emails" -#~ msgstr "alte emailuri" - -#~ msgid "The address is not available yet. This field will be available soon." -#~ msgstr "" -#~ "Adresa nu este încă disponibilă. Acest câmp va fi disponibil în curând." - -#~ msgid "" -#~ "If you want a simpler option, you can always return to redirectioneaza.ro " -#~ "to complete the form again and sign it online, in which case it will go " -#~ "directly to the organization in digital format." -#~ msgstr "" -#~ "Dacă vrei o variantă mai simplă, te poți întoarce oricând pe " -#~ "redirectioneaza.ro. să recompletezi formularul și să-l semnezi online, " -#~ "caz în care va ajunge direct la organizație în format digital." - -#~ msgid "Imports" -#~ msgstr "Importuri" - -#~ msgid "Sign In Error" -#~ msgstr "Eroare la autentificare" - -#~ msgid "Create an account" -#~ msgstr "Creează un cont" diff --git a/backend/redirectioneaza/context_processors/variables.py b/backend/redirectioneaza/context_processors/variables.py index 38db8f838..47b1d3b27 100644 --- a/backend/redirectioneaza/context_processors/variables.py +++ b/backend/redirectioneaza/context_processors/variables.py @@ -4,5 +4,6 @@ def main(_: HttpRequest) -> dict[str, dict[str, list[dict[str, str]]]]: return { + "CONTACT_EMAIL_ADDRESS": settings.CONTACT_EMAIL_ADDRESS, "GOOGLE_ANALYTICS_ID": settings.GOOGLE_ANALYTICS_ID, } diff --git a/backend/static_extras/images/error-illustration.svg b/backend/static_extras/images/error-illustration.svg new file mode 100644 index 000000000..26b83eb8d --- /dev/null +++ b/backend/static_extras/images/error-illustration.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/backend/templates/v2/account/errors/base.html b/backend/templates/v2/account/errors/base.html index a93a893b3..8bab19ce5 100644 --- a/backend/templates/v2/account/errors/base.html +++ b/backend/templates/v2/account/errors/base.html @@ -2,17 +2,46 @@ {% load static %} {% load i18n %} + +{% block html_title %}{% trans "NGO Hub Authentication Error" %}{% endblock %} + + +{% block additional_headers %} + {{ block.super }} + +{% endblock %} + + {% block content %} -
+
+
+
+

+ {% block title %} + {% trans "NGO Hub Authentication Error" %} + {% endblock %} +

+
+ {% block message %}{% endblock %} +
+ +
+

+ {% trans "Still encountering authentication problems?" %} +

-

- {% block title %}{% endblock %} -

-

- {% block message %}{% endblock %} -

+

+ {% trans "Check the support page" %} + {% trans "or contact us at" %} + {{ CONTACT_EMAIL_ADDRESS }} +

- {% block extra_content %}{% endblock %} +
+
+
+ {% trans +
+
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/backend/templates/v2/account/errors/login/app_missing.html b/backend/templates/v2/account/errors/login/app_missing.html index d109ac59c..d869b5b08 100644 --- a/backend/templates/v2/account/errors/login/app_missing.html +++ b/backend/templates/v2/account/errors/login/app_missing.html @@ -2,17 +2,34 @@ {% load i18n %} {% block title %} - {% trans "Application not activated" %} + {% trans "Oops! Application not enabled" %} {% endblock %} {% block message %} -

- {% trans "The application is not activated for this user/organization." %} -

- -

- {% trans "If you are the owner of the organization, please activate it in NGO Hub." %} -

+
+

+ {% trans "It looks like there was a problem opening the Redirecționează application." %} + {% trans "Check if you followed the steps below for a correct configuration." %} +

+
+
+

+ {% trans "To access Redirecționează through your NGO Hub account, make sure that:" %} +

+
    +
  • +
    {% trans "You have activated the Redirecționează app for your organization in NGO Hub" %}
    +
    {% trans "Check with your organization's administrator if Redirecționează app access is configured correctly for your organization." %}
    +
  • +
  • +
    {% trans "You have been granted the required permissions by the organization's NGO Hub administrator for the Redirecționează app" %}
    +
    + {% trans "Check with your organization's administrator to see if they have given you access to the Redirecționează app." %} + {% trans "Read more in" %} {% trans "the User Guide" %} +
    +
  • +
+
{% endblock %} diff --git a/backend/templates/v2/account/errors/login/multiple_ngos.html b/backend/templates/v2/account/errors/login/multiple_ngos.html index f9448d6a0..b79df26be 100644 --- a/backend/templates/v2/account/errors/login/multiple_ngos.html +++ b/backend/templates/v2/account/errors/login/multiple_ngos.html @@ -1,10 +1,9 @@ {% extends 'account/errors/login/base_login.html' %} {% load i18n %} -{% block title %} - {% trans 'Multiple NGOs for this CUI' %} -{% endblock %} {% block message %} - {% trans 'Multiple NGOs have been found during synchronization. Admins have been notified and will resolve the issue shortly.' %} +

+ {% trans 'Multiple NGOs with this registration number have been found during synchronization. Admins have been notified and will resolve the issue shortly.' %} +

{% endblock %} diff --git a/backend/templates/v2/account/errors/login/unknown_error.html b/backend/templates/v2/account/errors/login/unknown_error.html index d73c833c5..721dcbdd6 100644 --- a/backend/templates/v2/account/errors/login/unknown_error.html +++ b/backend/templates/v2/account/errors/login/unknown_error.html @@ -1,10 +1,8 @@ {% extends 'account/errors/login/base_login.html' %} {% load i18n %} -{% block title %} - {% trans 'Unknown role' %} -{% endblock %} - {% block message %} - {% trans "An unknown error occurred during authentication. Please try again later. The problem has been reported to the team." %} +

+ {% trans "An unknown error occurred during authentication. Please try again later. The problem has been reported to the team." %} +

{% endblock %} diff --git a/backend/templates/v2/account/errors/login/unknown_role.html b/backend/templates/v2/account/errors/login/unknown_role.html index 46860bb2d..6a3bc908f 100644 --- a/backend/templates/v2/account/errors/login/unknown_role.html +++ b/backend/templates/v2/account/errors/login/unknown_role.html @@ -1,10 +1,9 @@ {% extends 'account/errors/login/base_login.html' %} {% load i18n %} -{% block title %} - {% trans 'Unknown role' %} -{% endblock %} {% block message %} - {% trans "Your current role isn't supported." %} +

+ {% trans "Your current user role is not supported." %} +

{% endblock %}