Skip to content

Commit 2b757c3

Browse files
authored
Merge pull request #10522 from Uriopass/patch-1
capitalize first sentence of crate delete mail
2 parents ffb9354 + a5e016a commit 2b757c3

4 files changed

+4
-4
lines changed

src/controllers/krate/delete.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl Email for CrateDeletionEmail<'_> {
207207
format!(
208208
"Hi {},
209209
210-
your \"{}\" crate has been deleted, per your request.
210+
Your \"{}\" crate has been deleted, per your request.
211211
212212
If you did not initiate this deletion, your account may have been compromised. Please contact us at [email protected].",
213213
self.user, self.krate

src/controllers/krate/snapshots/crates_io__controllers__krate__delete__tests__happy_path_new_crate-2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Content-Transfer-Encoding: quoted-printable
2626

2727
Hi foo,
2828

29-
your "foo" crate has been deleted, per your request.
29+
Your "foo" crate has been deleted, per your request.
3030

3131
If you did not initiate this deletion, your account may have been compromis=
3232
ed. Please contact us at help@crates.io.

src/controllers/krate/snapshots/crates_io__controllers__krate__delete__tests__happy_path_old_crate-2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Content-Transfer-Encoding: quoted-printable
2626

2727
Hi foo,
2828

29-
your "foo" crate has been deleted, per your request.
29+
Your "foo" crate has been deleted, per your request.
3030

3131
If you did not initiate this deletion, your account may have been compromis=
3232
ed. Please contact us at help@crates.io.

src/controllers/krate/snapshots/crates_io__controllers__krate__delete__tests__happy_path_really_old_crate-2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Content-Transfer-Encoding: quoted-printable
2626

2727
Hi foo,
2828

29-
your "foo" crate has been deleted, per your request.
29+
Your "foo" crate has been deleted, per your request.
3030

3131
If you did not initiate this deletion, your account may have been compromis=
3232
ed. Please contact us at help@crates.io.

0 commit comments

Comments
 (0)