mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Count resulting bulk invites correctly (#18461)
Skipped invites were not counted at all and some invites could generate more than one error and resulted in a grand total that was not equal to the count of bulk invites.
This commit is contained in:
@@ -3091,13 +3091,18 @@ en:
|
||||
bulk_invite_succeeded:
|
||||
title: "Bulk Invite Succeeded"
|
||||
subject_template: "Bulk user invite processed successfully"
|
||||
text_body_template: "Your bulk user invite file was processed, %{sent} invites mailed."
|
||||
text_body_template: |
|
||||
Your bulk user invite file was processed, %{sent} invites mailed, %{skipped} skipped and %{warnings} warning(s).
|
||||
|
||||
``` text
|
||||
%{logs}
|
||||
```
|
||||
|
||||
bulk_invite_failed:
|
||||
title: "Bulk Invite Failed"
|
||||
subject_template: "Bulk user invite processed with errors"
|
||||
text_body_template: |
|
||||
Your bulk user invite file was processed, %{sent} invites mailed with %{failed} error(s).
|
||||
Your bulk user invite file was processed, %{sent} invites mailed, %{skipped} skipped, %{warnings} warning(s) and %{failed} error(s).
|
||||
|
||||
Here's the log:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user