Skip to content

Commit e487e47

Browse files
authored
apps/notifications: update comment notification text (#3037)
1 parent 363d9df commit e487e47

File tree

17 files changed

+97
-97
lines changed

17 files changed

+97
-97
lines changed

apps/notifications/strategies/comment_strategies.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ def create_notification_data(self, comment) -> dict:
162162

163163
return {
164164
"notification_type": NotificationType.COMMENT_REPLY,
165-
"message_template": "{user} replied to your {comment}",
166-
"translated_message_template": _("{user} replied to your {comment}"),
165+
"message_template": "{user} {replied} to your comment",
166+
"translated_message_template": _("{user} {replied} to your comment"),
167167
"context": {
168168
"user": comment.creator.username,
169169
"user_url": comment.creator.get_absolute_url(),
170-
"comment": "comment",
171-
"comment_url": comment.get_absolute_url(),
170+
"replied": "replied",
171+
"replied_url": comment.get_absolute_url(),
172172
"project": comment.project.name,
173173
"project_url": comment.project.get_absolute_url(),
174174
},

locale-source/locale/de/LC_MESSAGES/django.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: adhocracy-plus\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2026-01-29 17:29+0100\n"
20+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
2121
"PO-Revision-Date: 2020-11-12 13:23+0000\n"
2222
"Last-Translator: Tietje, 2026\n"
2323
"Language-Team: German (https://app.transifex.com/liqd/teams/109316/de/)\n"
@@ -3221,23 +3221,23 @@ msgstr "Benachrichtigungen"
32213221

32223222
#: apps/notifications/strategies/base.py:36
32233223
msgid "Your submission was accepted"
3224-
msgstr "Ihr Beitrag wurde angenommen."
3224+
msgstr "Ihr Beitrag wurde angenommen"
32253225

32263226
#: apps/notifications/strategies/base.py:37
32273227
msgid "Your submission was approved"
32283228
msgstr "Ihr Beitrag wird umgesetzt. "
32293229

32303230
#: apps/notifications/strategies/base.py:38
32313231
msgid "Your submission was rejected"
3232-
msgstr "Ihr Beitrag wird nicht umgesetzt."
3232+
msgstr "Ihr Beitrag wird nicht umgesetzt"
32333233

32343234
#: apps/notifications/strategies/base.py:39
32353235
msgid "Your submission was reviewed"
32363236
msgstr "Ihr Beitrag wurde überprüft. "
32373237

32383238
#: apps/notifications/strategies/base.py:40
32393239
msgid "Your submission is under consideration"
3240-
msgstr "Ihr Beitrag wird überprüft."
3240+
msgstr "Ihr Beitrag wird überprüft"
32413241

32423242
#: apps/notifications/strategies/comment_strategies.py:29
32433243
#: apps/notifications/strategies/comment_strategies.py:90
@@ -3343,8 +3343,8 @@ msgstr ""
33433343

33443344
#: apps/notifications/strategies/comment_strategies.py:166
33453345
#, python-brace-format
3346-
msgid "{user} replied to your {comment}"
3347-
msgstr "{user} hat auf \"{comment}\" geantwortet"
3346+
msgid "{user} {replied} to your comment"
3347+
msgstr "{user} {replied} auf ihren Kommentar "
33483348

33493349
#: apps/notifications/strategies/event_strategies.py:22
33503350
#, python-brace-format
@@ -3684,29 +3684,29 @@ msgstr "Neuer Vorschlag im Projekt {project_name}"
36843684
msgid "A map idea was added to the project {project_name}"
36853685
msgstr "Neue Idee im Projekt {project_name}"
36863686

3687-
#: apps/notifications/strategies/project_strategies.py:314
3687+
#: apps/notifications/strategies/project_strategies.py:313
36883688
#, python-brace-format
36893689
msgid "{creator_name} created an idea on the project {project_name}"
36903690
msgstr "{creator_name} hat im Projekt {project_name} eine neue Idee angelegt"
36913691

3692-
#: apps/notifications/strategies/project_strategies.py:316
3692+
#: apps/notifications/strategies/project_strategies.py:315
36933693
#, python-brace-format
36943694
msgid "{creator_name} created a proposal on the project {project_name}"
36953695
msgstr ""
36963696
"{creator_name} hat im Projekt {project_name} einen neuen Vorschlag angelegt"
36973697

3698-
#: apps/notifications/strategies/project_strategies.py:319
3698+
#: apps/notifications/strategies/project_strategies.py:318
36993699
#, python-brace-format
37003700
msgid "{creator_name} created a map idea on the project {project_name}"
37013701
msgstr "{creator_name} hat im Projekt {project_name} eine neue Idee angelegt"
37023702

3703-
#: apps/notifications/strategies/project_strategies.py:326
3703+
#: apps/notifications/strategies/project_strategies.py:325
37043704
#, python-brace-format
37053705
msgid "{article} {content_type} was added to the project {project_name}"
37063706
msgstr ""
37073707
"{article} {content_type} wurde zum Projekt {project_name} hinzugefügt. "
37083708

3709-
#: apps/notifications/strategies/project_strategies.py:331
3709+
#: apps/notifications/strategies/project_strategies.py:330
37103710
#, python-brace-format
37113711
msgid ""
37123712
"{creator_name} created {article_lower} {content_type} on the project "
@@ -3715,12 +3715,12 @@ msgstr ""
37153715
"{creator_name} hat {article_lower} {content_type} im Projekt {project_name} "
37163716
"erstellt"
37173717

3718-
#: apps/notifications/strategies/project_strategies.py:338
3718+
#: apps/notifications/strategies/project_strategies.py:337
37193719
#, python-brace-format
37203720
msgid "Check the {content_type_display}"
37213721
msgstr "Überprüfen Sie {content_type_display}"
37223722

3723-
#: apps/notifications/strategies/project_strategies.py:340
3723+
#: apps/notifications/strategies/project_strategies.py:339
37243724
#, python-brace-format
37253725
msgid ""
37263726
"This email was sent to {receiver_email}. This email was sent to you because "
@@ -3729,7 +3729,7 @@ msgstr ""
37293729
"Diese E-Mail wurde an {receiver_email} gesendet. Sie erhalten diese E-Mail, "
37303730
"weil Sie Moderator:in im Projekt sind."
37313731

3732-
#: apps/notifications/strategies/project_strategies.py:360
3732+
#: apps/notifications/strategies/project_strategies.py:359
37333733
#, python-brace-format
37343734
msgid ""
37353735
"A new {content_type} \"{content}\" has been created in project {project}."

locale-source/locale/de/LC_MESSAGES/djangojs.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: PACKAGE VERSION\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2026-01-29 17:29+0100\n"
19+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
2020
"PO-Revision-Date: 2020-11-12 13:23+0000\n"
2121
"Last-Translator: Tietje, 2026\n"
2222
"Language-Team: German (https://app.transifex.com/liqd/teams/109316/de/)\n"

locale-source/locale/en/LC_MESSAGES/django.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: adhocracy-plus\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-01-29 17:29+0100\n"
11+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -3182,8 +3182,8 @@ msgstr "Join the conversation and continue the discussion."
31823182

31833183
#: apps/notifications/strategies/comment_strategies.py:166
31843184
#, python-brace-format
3185-
msgid "{user} replied to your {comment}"
3186-
msgstr "{user} replied to your {comment}"
3185+
msgid "{user} {replied} to your comment"
3186+
msgstr "{user} {replied} to your comment"
31873187

31883188
#: apps/notifications/strategies/event_strategies.py:22
31893189
#, python-brace-format
@@ -3518,27 +3518,27 @@ msgstr "A proposal was added to the project {project_name}"
35183518
msgid "A map idea was added to the project {project_name}"
35193519
msgstr "A map idea was added to the project {project_name}"
35203520

3521-
#: apps/notifications/strategies/project_strategies.py:314
3521+
#: apps/notifications/strategies/project_strategies.py:313
35223522
#, python-brace-format
35233523
msgid "{creator_name} created an idea on the project {project_name}"
35243524
msgstr "{creator_name} created an idea on the project {project_name}"
35253525

3526-
#: apps/notifications/strategies/project_strategies.py:316
3526+
#: apps/notifications/strategies/project_strategies.py:315
35273527
#, python-brace-format
35283528
msgid "{creator_name} created a proposal on the project {project_name}"
35293529
msgstr "{creator_name} created a proposal on the project {project_name}"
35303530

3531-
#: apps/notifications/strategies/project_strategies.py:319
3531+
#: apps/notifications/strategies/project_strategies.py:318
35323532
#, python-brace-format
35333533
msgid "{creator_name} created a map idea on the project {project_name}"
35343534
msgstr "{creator_name} created a map idea on the project {project_name}"
35353535

3536-
#: apps/notifications/strategies/project_strategies.py:326
3536+
#: apps/notifications/strategies/project_strategies.py:325
35373537
#, python-brace-format
35383538
msgid "{article} {content_type} was added to the project {project_name}"
35393539
msgstr "{article} {content_type} was added to the project {project_name}"
35403540

3541-
#: apps/notifications/strategies/project_strategies.py:331
3541+
#: apps/notifications/strategies/project_strategies.py:330
35423542
#, python-brace-format
35433543
msgid ""
35443544
"{creator_name} created {article_lower} {content_type} on the project "
@@ -3547,12 +3547,12 @@ msgstr ""
35473547
"{creator_name} created {article_lower} {content_type} on the project "
35483548
"{project_name}"
35493549

3550-
#: apps/notifications/strategies/project_strategies.py:338
3550+
#: apps/notifications/strategies/project_strategies.py:337
35513551
#, python-brace-format
35523552
msgid "Check the {content_type_display}"
35533553
msgstr "Check the {content_type_display}"
35543554

3555-
#: apps/notifications/strategies/project_strategies.py:340
3555+
#: apps/notifications/strategies/project_strategies.py:339
35563556
#, python-brace-format
35573557
msgid ""
35583558
"This email was sent to {receiver_email}. This email was sent to you because "
@@ -3561,7 +3561,7 @@ msgstr ""
35613561
"This email was sent to {receiver_email}. This email was sent to you because "
35623562
"you are a moderator in the project."
35633563

3564-
#: apps/notifications/strategies/project_strategies.py:360
3564+
#: apps/notifications/strategies/project_strategies.py:359
35653565
#, python-brace-format
35663566
msgid ""
35673567
"A new {content_type} \"{content}\" has been created in project {project}."

locale-source/locale/en/LC_MESSAGES/djangojs.po

Lines changed: 1 addition & 1 deletion
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: 2026-01-29 17:29+0100\n"
10+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: LANGUAGE <[email protected]>\n"

locale-source/locale/hu/LC_MESSAGES/django.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: adhocracy-plus\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-01-29 17:29+0100\n"
15+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
1616
"PO-Revision-Date: 2020-11-12 13:23+0000\n"
1717
"Last-Translator: János Gerzson <[email protected]>, 2025\n"
1818
"Language-Team: Hungarian (https://app.transifex.com/liqd/teams/109316/hu/)\n"
@@ -3115,7 +3115,7 @@ msgstr ""
31153115

31163116
#: apps/notifications/strategies/comment_strategies.py:166
31173117
#, python-brace-format
3118-
msgid "{user} replied to your {comment}"
3118+
msgid "{user} {replied} to your comment"
31193119
msgstr ""
31203120

31213121
#: apps/notifications/strategies/event_strategies.py:22
@@ -3438,46 +3438,46 @@ msgstr ""
34383438
msgid "A map idea was added to the project {project_name}"
34393439
msgstr ""
34403440

3441-
#: apps/notifications/strategies/project_strategies.py:314
3441+
#: apps/notifications/strategies/project_strategies.py:313
34423442
#, python-brace-format
34433443
msgid "{creator_name} created an idea on the project {project_name}"
34443444
msgstr ""
34453445

3446-
#: apps/notifications/strategies/project_strategies.py:316
3446+
#: apps/notifications/strategies/project_strategies.py:315
34473447
#, python-brace-format
34483448
msgid "{creator_name} created a proposal on the project {project_name}"
34493449
msgstr ""
34503450

3451-
#: apps/notifications/strategies/project_strategies.py:319
3451+
#: apps/notifications/strategies/project_strategies.py:318
34523452
#, python-brace-format
34533453
msgid "{creator_name} created a map idea on the project {project_name}"
34543454
msgstr ""
34553455

3456-
#: apps/notifications/strategies/project_strategies.py:326
3456+
#: apps/notifications/strategies/project_strategies.py:325
34573457
#, python-brace-format
34583458
msgid "{article} {content_type} was added to the project {project_name}"
34593459
msgstr ""
34603460

3461-
#: apps/notifications/strategies/project_strategies.py:331
3461+
#: apps/notifications/strategies/project_strategies.py:330
34623462
#, python-brace-format
34633463
msgid ""
34643464
"{creator_name} created {article_lower} {content_type} on the project "
34653465
"{project_name}"
34663466
msgstr ""
34673467

3468-
#: apps/notifications/strategies/project_strategies.py:338
3468+
#: apps/notifications/strategies/project_strategies.py:337
34693469
#, python-brace-format
34703470
msgid "Check the {content_type_display}"
34713471
msgstr ""
34723472

3473-
#: apps/notifications/strategies/project_strategies.py:340
3473+
#: apps/notifications/strategies/project_strategies.py:339
34743474
#, python-brace-format
34753475
msgid ""
34763476
"This email was sent to {receiver_email}. This email was sent to you because "
34773477
"you are a moderator in the project."
34783478
msgstr ""
34793479

3480-
#: apps/notifications/strategies/project_strategies.py:360
3480+
#: apps/notifications/strategies/project_strategies.py:359
34813481
#, python-brace-format
34823482
msgid ""
34833483
"A new {content_type} \"{content}\" has been created in project {project}."

locale-source/locale/hu/LC_MESSAGES/djangojs.po

Lines changed: 1 addition & 1 deletion
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: 2026-01-29 17:29+0100\n"
10+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
1111
"PO-Revision-Date: 2020-11-12 13:23+0000\n"
1212
"Language-Team: Hungarian (https://app.transifex.com/liqd/teams/109316/hu/)\n"
1313
"Language: hu\n"

locale-source/locale/ky/LC_MESSAGES/django.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: adhocracy-plus\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2026-01-29 17:29+0100\n"
19+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
2020
"PO-Revision-Date: 2020-11-12 13:23+0000\n"
2121
"Last-Translator: Luca Thüer, 2023\n"
2222
"Language-Team: Kyrgyz (https://app.transifex.com/liqd/teams/109316/ky/)\n"
@@ -3263,7 +3263,7 @@ msgstr ""
32633263

32643264
#: apps/notifications/strategies/comment_strategies.py:166
32653265
#, python-brace-format
3266-
msgid "{user} replied to your {comment}"
3266+
msgid "{user} {replied} to your comment"
32673267
msgstr ""
32683268

32693269
#: apps/notifications/strategies/event_strategies.py:22
@@ -3586,46 +3586,46 @@ msgstr ""
35863586
msgid "A map idea was added to the project {project_name}"
35873587
msgstr ""
35883588

3589-
#: apps/notifications/strategies/project_strategies.py:314
3589+
#: apps/notifications/strategies/project_strategies.py:313
35903590
#, python-brace-format
35913591
msgid "{creator_name} created an idea on the project {project_name}"
35923592
msgstr ""
35933593

3594-
#: apps/notifications/strategies/project_strategies.py:316
3594+
#: apps/notifications/strategies/project_strategies.py:315
35953595
#, python-brace-format
35963596
msgid "{creator_name} created a proposal on the project {project_name}"
35973597
msgstr ""
35983598

3599-
#: apps/notifications/strategies/project_strategies.py:319
3599+
#: apps/notifications/strategies/project_strategies.py:318
36003600
#, python-brace-format
36013601
msgid "{creator_name} created a map idea on the project {project_name}"
36023602
msgstr ""
36033603

3604-
#: apps/notifications/strategies/project_strategies.py:326
3604+
#: apps/notifications/strategies/project_strategies.py:325
36053605
#, python-brace-format
36063606
msgid "{article} {content_type} was added to the project {project_name}"
36073607
msgstr ""
36083608

3609-
#: apps/notifications/strategies/project_strategies.py:331
3609+
#: apps/notifications/strategies/project_strategies.py:330
36103610
#, python-brace-format
36113611
msgid ""
36123612
"{creator_name} created {article_lower} {content_type} on the project "
36133613
"{project_name}"
36143614
msgstr ""
36153615

3616-
#: apps/notifications/strategies/project_strategies.py:338
3616+
#: apps/notifications/strategies/project_strategies.py:337
36173617
#, python-brace-format
36183618
msgid "Check the {content_type_display}"
36193619
msgstr ""
36203620

3621-
#: apps/notifications/strategies/project_strategies.py:340
3621+
#: apps/notifications/strategies/project_strategies.py:339
36223622
#, python-brace-format
36233623
msgid ""
36243624
"This email was sent to {receiver_email}. This email was sent to you because "
36253625
"you are a moderator in the project."
36263626
msgstr ""
36273627

3628-
#: apps/notifications/strategies/project_strategies.py:360
3628+
#: apps/notifications/strategies/project_strategies.py:359
36293629
#, python-brace-format
36303630
msgid ""
36313631
"A new {content_type} \"{content}\" has been created in project {project}."

locale-source/locale/ky/LC_MESSAGES/djangojs.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: PACKAGE VERSION\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-01-29 17:29+0100\n"
17+
"POT-Creation-Date: 2026-02-03 16:36+0100\n"
1818
"PO-Revision-Date: 2020-11-12 13:23+0000\n"
1919
"Last-Translator: Azamat Abdurakhmanov, 2023\n"
2020
"Language-Team: Kyrgyz (https://app.transifex.com/liqd/teams/109316/ky/)\n"

0 commit comments

Comments
 (0)