Skip to content

Commit f74616c

Browse files
Post rebase fixup
1 parent 90a117d commit f74616c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/backend/src/couchers/email/emails.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ def get_body_blocks(self, loc_context: LocalizationContext) -> list[EmailBlock]:
791791
updated_items_text = loc_context.localize_list(
792792
[self._localize(loc_context, key) for key in updated_items_string_keys]
793793
)
794-
builder.para(".purpose_specific", {"user": self.updating_user.name, "items_list": updated_items_text})
794+
builder.para(".purpose_with_items", {"user": self.updating_user.name, "items_list": updated_items_text})
795795
else:
796796
builder.para(".purpose_generic", {"user": self.updating_user.name})
797797

app/backend/src/couchers/email/locales/en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@
166166
"updated": {
167167
"subject": "{{user}} updated {{title}}",
168168
"purpose_generic": "<b>{{user}}</b> updated an event you are subscribed to:",
169-
"purpose_specific": "<b>{{user}}</b> updated an event you are subscribed to ({{items_list}}):",
170-
"updated_generic": "Here is the updated event:",
169+
"purpose_with_items": "<b>{{user}}</b> updated an event you are subscribed to ({{items_list}}):",
171170
"item_names": {
172171
"title": "title",
173172
"content": "content",

0 commit comments

Comments
 (0)