Skip to content

Commit 56ae908

Browse files
committed
update e-mails
1 parent 16df5e1 commit 56ae908

File tree

12 files changed

+361
-258
lines changed

12 files changed

+361
-258
lines changed

backend/donations/views/redirections.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ def post(self, request, ngo_url):
268268
{
269269
"ngo_address": ngo_address,
270270
"ngo_email": ngo.email,
271+
"month_limit": settings.DONATIONS_LIMIT_MONTH_NAME,
272+
"limit": settings.DONATIONS_LIMIT,
271273
}
272274
)
273275
send_email(

backend/locale/en/LC_MESSAGES/django.po

Lines changed: 108 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-02-05 13:25+0200\n"
10+
"POT-Creation-Date: 2025-02-05 18:28+0200\n"
1111
"PO-Revision-Date: 2024-02-28 15:45+0000\n"
1212
"Last-Translator: Tudor Amariei <tudor.amariei@commitglobal.org>\n"
1313
"Language-Team: English <https://translate.commitglobal.org/projects/act4good/"
@@ -256,7 +256,7 @@ msgid "Is accepting forms"
256256
msgstr "is accepting forms"
257257

258258
#: donations/forms/ngo_account.py:13 donations/models/ngos.py:105
259-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:25
259+
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:26
260260
#: templates/v2/ngo-account/my-organization/ngo-presentation.html:75
261261
#: templates/v2/ngo-account/redirections/list-header.html:8
262262
msgid "Name"
@@ -298,7 +298,7 @@ msgid "Display phone"
298298
msgstr "display ordering"
299299

300300
#: donations/forms/ngo_account.py:24
301-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:26
301+
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:27
302302
#, fuzzy
303303
#| msgid "address"
304304
msgid "Address"
@@ -334,18 +334,18 @@ msgstr "Your current role isn't supported."
334334
msgid "The logo size is too large."
335335
msgstr ""
336336

337-
#: donations/forms/ngo_account.py:77
337+
#: donations/forms/ngo_account.py:80
338338
msgid "Slug"
339339
msgstr ""
340340

341-
#: donations/forms/ngo_account.py:78
341+
#: donations/forms/ngo_account.py:81
342342
#: templates/v2/form/redirection-header.html:65
343343
#, fuzzy
344344
#| msgid "description"
345345
msgid "Description"
346346
msgstr "description"
347347

348-
#: donations/forms/ngo_account.py:79
348+
#: donations/forms/ngo_account.py:82
349349
msgid "IBAN"
350350
msgstr ""
351351

@@ -375,7 +375,7 @@ msgstr "initial"
375375

376376
#: donations/forms/redirection.py:18
377377
#: templates/v2/account/snippets/register-form.html:66
378-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:27
378+
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:28
379379
#: templates/v2/form/redirection-open.html:58
380380
#, fuzzy
381381
#| msgid "email"
@@ -526,7 +526,7 @@ msgid "PDF file"
526526
msgstr "PDF file"
527527

528528
#: donations/models/donors.py:126 donations/models/jobs.py:52
529-
#: donations/models/ngos.py:215 partners/models.py:54 users/models.py:84
529+
#: donations/models/ngos.py:215 partners/models.py:54 users/models.py:86
530530
msgid "date created"
531531
msgstr "date created"
532532

@@ -667,7 +667,7 @@ msgstr "form with prefilled ngo data"
667667
msgid "Filename cache"
668668
msgstr "Filename cache"
669669

670-
#: donations/models/ngos.py:216 partners/models.py:55 users/models.py:85
670+
#: donations/models/ngos.py:216 partners/models.py:55 users/models.py:87
671671
msgid "date updated"
672672
msgstr "date updated"
673673

@@ -959,11 +959,11 @@ msgstr ""
959959
msgid "Successful redirection"
960960
msgstr "Successful tasks"
961961

962-
#: donations/views/redirections.py:246
962+
#: donations/views/redirections.py:247
963963
msgid "Un nou formular de redirecționare"
964964
msgstr "Un nou formular de redirecționare"
965965

966-
#: donations/views/redirections.py:253 donations/views/redirections.py:274
966+
#: donations/views/redirections.py:254 donations/views/redirections.py:276
967967
msgid "Formularul tău de redirecționare"
968968
msgstr "Formularul tău de redirecționare"
969969

@@ -1103,7 +1103,7 @@ msgstr "has custom note"
11031103
msgid "display ordering"
11041104
msgstr "display ordering"
11051105

1106-
#: redirectioneaza/common/messaging.py:45
1106+
#: redirectioneaza/common/messaging.py:46
11071107
msgid "Invalid email send method. Must be 'async' or 'sync'."
11081108
msgstr "Invalid email send method. Must be 'async' or 'sync'."
11091109

@@ -1362,7 +1362,7 @@ msgstr ""
13621362
msgid "Donation exports"
13631363
msgstr "Donation exports"
13641364

1365-
#: redirectioneaza/settings/unfold.py:79 users/models.py:168
1365+
#: redirectioneaza/settings/unfold.py:79 users/models.py:170
13661366
msgid "Groups"
13671367
msgstr "Groups"
13681368

@@ -1799,6 +1799,62 @@ msgstr ""
17991799
msgid "Redirecționează logo"
18001800
msgstr "Welcome to redirectioneaza.ro"
18011801

1802+
#: templates/v2/emails/components/extra-hand.html:4
1803+
#: templates/v2/emails/components/extra-hand.txt:3
1804+
msgid "Do you want to give an extra helping hand?"
1805+
msgstr ""
1806+
1807+
#: templates/v2/emails/components/extra-hand.html:8
1808+
#: templates/v2/emails/components/extra-hand.txt:5
1809+
msgid ""
1810+
"If you want to be a true civic superhero, you can help the organization "
1811+
"collect more forms! Here's how:"
1812+
msgstr ""
1813+
1814+
#: templates/v2/emails/components/extra-hand.html:17
1815+
#, python-format
1816+
msgid ""
1817+
"Share the <a href=\"%(ngo_url)s\">organization's page</a> on social networks "
1818+
"and encourage your friends to complete the form online for the organization "
1819+
"you believe in, simply and safely, on redirectioneaza.ro."
1820+
msgstr ""
1821+
1822+
#: templates/v2/emails/components/extra-hand.html:27
1823+
#, python-format
1824+
msgid ""
1825+
"Download the form 230 template for <a href=\"%(ngo_url)s\">%(ngo_name)s</a>, "
1826+
"print multiple copies and convince your colleagues, friends or family to "
1827+
"complete it."
1828+
msgstr ""
1829+
1830+
#: templates/v2/emails/components/extra-hand.txt:10
1831+
msgid ""
1832+
"Share the organization's page on social networks and encourage your friends "
1833+
"to complete the form online for the organization you believe in, simply and "
1834+
"safely, on redirectioneaza.ro."
1835+
msgstr ""
1836+
1837+
#: templates/v2/emails/components/extra-hand.txt:19
1838+
#, python-format
1839+
msgid ""
1840+
"Download the form 230 template for %(ngo_name)s, print multiple copies and "
1841+
"convince your colleagues, friends or family to complete it."
1842+
msgstr ""
1843+
1844+
#: templates/v2/emails/components/misdelivered.html:4
1845+
#, python-format
1846+
msgid ""
1847+
"Did you receive this email by mistake? Please let us know at <a "
1848+
"href=\"mailto:%(contact_email)s\">%(contact_email)s</a>."
1849+
msgstr ""
1850+
1851+
#: templates/v2/emails/components/misdelivered.txt:3
1852+
#, python-format
1853+
msgid ""
1854+
"Did you receive this email by mistake? Please let us know at "
1855+
"%(contact_email)s."
1856+
msgstr ""
1857+
18021858
#: templates/v2/emails/components/subcopy.html:6
18031859
#, python-format
18041860
msgid ""
@@ -1838,70 +1894,58 @@ msgstr ""
18381894
#: templates/v2/emails/donor/redirection-sans-signature/main.html:26
18391895
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:15
18401896
msgid ""
1841-
"To complete the redirection, print and sign the form, then send it by "
1842-
"courier or mail to the NGO's address, and they will take care of the "
1843-
"submission, or you can hand it over personally to a representative of the "
1844-
"organization."
1897+
"To complete the redirection, all you need to do is print the form, sign it, "
1898+
"and then choose one of the following options:"
18451899
msgstr ""
18461900

1847-
#: templates/v2/emails/donor/redirection-sans-signature/main.html:36
1848-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:23
1849-
#, fuzzy
1850-
#| msgid "NGO Hub organization ID"
1851-
msgid "The organization's contact info"
1852-
msgstr "NGO Hub organization ID"
1901+
#: templates/v2/emails/donor/redirection-sans-signature/main.html:33
1902+
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:20
1903+
msgid ""
1904+
"Send it to the beneficiary NGO, which will then take care of submitting it "
1905+
"to ANAF."
1906+
msgstr ""
18531907

1854-
#: templates/v2/emails/donor/redirection-sans-signature/main.html:39
1908+
#: templates/v2/emails/donor/redirection-sans-signature/main.html:36
18551909
#, python-format
18561910
msgid ""
1857-
"<dl> <div> <dt>Name:</dt> <dd>%(ngo_name)s</dd> </div> <div> <dt>Address:</"
1858-
"dt> <dd>%(ngo_address)s</dd> </div> <div> <dt>Email:</dt> <dd><a "
1859-
"href=\"mailto:%(ngo_email)s\">%(ngo_email)s</a></dd> </div> </dl>"
1911+
"Send it or submit it directly to the tax office (ANAF) in the area where you "
1912+
"are domiciled, until <strong>%(limit.day)s %(month_limit)s %(limit.year)s</"
1913+
"strong>."
18601914
msgstr ""
18611915

1862-
#: templates/v2/emails/donor/redirection-sans-signature/main.html:61
1863-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:29
1864-
#: templates/v2/emails/donor/redirection-with-signature/main.html:24
1865-
#: templates/v2/emails/donor/redirection-with-signature/main.txt:15
1866-
msgid "Do you want to give an extra helping hand?"
1916+
#: templates/v2/emails/donor/redirection-sans-signature/main.html:44
1917+
msgid ""
1918+
"If you want a simpler option, you can always return to redirectioneaza.ro to "
1919+
"complete the form again and sign it online, in which case it will go "
1920+
"directly to the organization in digital format."
18671921
msgstr ""
18681922

1869-
#: templates/v2/emails/donor/redirection-sans-signature/main.html:65
1870-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:31
1871-
#: templates/v2/emails/donor/redirection-with-signature/main.html:28
1872-
#: templates/v2/emails/donor/redirection-with-signature/main.txt:17
1923+
#: templates/v2/emails/donor/redirection-sans-signature/main.html:50
1924+
#, python-format
18731925
msgid ""
1874-
"If you want to be a true civic superhero, you can help the organization "
1875-
"collect more forms! Here's how:"
1926+
"<dl> <div> <dt>Name:</dt> <dd>%(ngo_name)s</dd> </div> <div> <dt>Address:</"
1927+
"dt> <dd>%(ngo_address)s</dd> </div> <div> <dt>Email:</dt> <dd><a "
1928+
"href=\"mailto:%(ngo_email)s\">%(ngo_email)s</a></dd> </div> </dl>"
18761929
msgstr ""
18771930

18781931
#: templates/v2/emails/donor/redirection-sans-signature/main.html:74
1879-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:37
1880-
#: templates/v2/emails/donor/redirection-with-signature/main.html:37
1881-
#: templates/v2/emails/donor/redirection-with-signature/main.txt:23
1882-
#, python-format
1883-
msgid ""
1884-
"Share the <a href=\"%(ngo_url)s\">organization's page</a> on social networks "
1885-
"and encourage your friends to complete the form online for the organization "
1886-
"you believe in, simply and safely, on redirectioneaza.ro."
1932+
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:32
1933+
#: templates/v2/emails/donor/redirection-with-signature/main.html:26
1934+
#: templates/v2/emails/donor/redirection-with-signature/main.txt:16
1935+
msgid "Thank you for your involvement!"
18871936
msgstr ""
18881937

1889-
#: templates/v2/emails/donor/redirection-sans-signature/main.html:84
1890-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:46
1891-
#: templates/v2/emails/donor/redirection-with-signature/main.html:47
1892-
#: templates/v2/emails/donor/redirection-with-signature/main.txt:32
1893-
#, python-format
1938+
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:21
18941939
msgid ""
1895-
"Download the form 230 template for %(ngo_name)s, print multiple copies and "
1896-
"convince your colleagues, friends or family to complete it."
1940+
"Send it or submit it directly to the tax office (ANAF) in the area where you "
1941+
"are domiciled, until {{ limit.day }} {{ month_limit }} {{ limit.year }}."
18971942
msgstr ""
18981943

1899-
#: templates/v2/emails/donor/redirection-sans-signature/main.html:93
1900-
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:52
1901-
#: templates/v2/emails/donor/redirection-with-signature/main.html:56
1902-
#: templates/v2/emails/donor/redirection-with-signature/main.txt:38
1903-
msgid "Thank you for your involvement!"
1904-
msgstr ""
1944+
#: templates/v2/emails/donor/redirection-sans-signature/main.txt:24
1945+
#, fuzzy
1946+
#| msgid "NGO Hub organization ID"
1947+
msgid "The organization's contact info"
1948+
msgstr "NGO Hub organization ID"
19051949

19061950
#: templates/v2/emails/donor/redirection-with-signature/main.html:6
19071951
#: templates/v2/emails/donor/redirection-with-signature/main.txt:3
@@ -2650,13 +2694,14 @@ msgstr "validation token"
26502694
msgid "validation token timestamp"
26512695
msgstr "validation token timestamp"
26522696

2653-
#: users/models.py:167
2697+
#: users/models.py:84
2698+
msgid "old password"
2699+
msgstr "old password"
2700+
2701+
#: users/models.py:169
26542702
msgid "Group"
26552703
msgstr "Group"
26562704

2657-
#~ msgid "old password"
2658-
#~ msgstr "old password"
2659-
26602705
#, fuzzy
26612706
#~| msgid "The IBAN number must have 24 characters"
26622707
#~ msgid "IBAN must have 24 characters"

0 commit comments

Comments
 (0)