diff --git a/src/controllers/trustpub/github_configs/create/snapshots/crates_io__controllers__trustpub__github_configs__create__tests__happy_path-3.snap b/src/controllers/trustpub/github_configs/create/snapshots/crates_io__controllers__trustpub__github_configs__create__tests__happy_path-3.snap index e796331ee3..dadd5bc243 100644 --- a/src/controllers/trustpub/github_configs/create/snapshots/crates_io__controllers__trustpub__github_configs__create__tests__happy_path-3.snap +++ b/src/controllers/trustpub/github_configs/create/snapshots/crates_io__controllers__trustpub__github_configs__create__tests__happy_path-3.snap @@ -4,13 +4,13 @@ expression: app.emails_snapshot().await --- To: foo@example.com From: crates.io -Subject: crates.io: Trusted Publishing configration added to foo +Subject: crates.io: Trusted Publishing configuration added to foo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello foo! -crates.io user foo has added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically. +crates.io user foo added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically. Trusted Publishing configuration: diff --git a/src/controllers/trustpub/github_configs/delete/snapshots/crates_io__controllers__trustpub__github_configs__delete__tests__happy_path-2.snap b/src/controllers/trustpub/github_configs/delete/snapshots/crates_io__controllers__trustpub__github_configs__delete__tests__happy_path-2.snap index 64519958df..8f5b1e18aa 100644 --- a/src/controllers/trustpub/github_configs/delete/snapshots/crates_io__controllers__trustpub__github_configs__delete__tests__happy_path-2.snap +++ b/src/controllers/trustpub/github_configs/delete/snapshots/crates_io__controllers__trustpub__github_configs__delete__tests__happy_path-2.snap @@ -4,13 +4,13 @@ expression: app.emails_snapshot().await --- To: foo@example.com From: crates.io -Subject: crates.io: Trusted Publishing configration removed from foo +Subject: crates.io: Trusted Publishing configuration removed from foo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello foo! -crates.io user foo has remove a "Trusted Publishing" configuration for GitHub Actions from a crate that you manage (foo). +crates.io user foo removed a "Trusted Publishing" configuration for GitHub Actions from a crate that you manage (foo). Trusted Publishing configuration: diff --git a/src/controllers/trustpub/github_configs/emails.rs b/src/controllers/trustpub/github_configs/emails.rs index 84af545c15..b3a89a28d2 100644 --- a/src/controllers/trustpub/github_configs/emails.rs +++ b/src/controllers/trustpub/github_configs/emails.rs @@ -16,7 +16,7 @@ pub struct ConfigCreatedEmail<'a> { impl Email for ConfigCreatedEmail<'_> { fn subject(&self) -> String { let Self { krate, .. } = self; - format!("crates.io: Trusted Publishing configration added to {krate}") + format!("crates.io: Trusted Publishing configuration added to {krate}") } fn body(&self) -> String { @@ -33,7 +33,7 @@ impl Email for ConfigCreatedEmail<'_> { format!( "Hello {recipient}! -crates.io user {user} has added a new \"Trusted Publishing\" configuration for GitHub Actions to a crate that you manage ({krate}). Trusted publishers act as trusted users and can publish new versions of the crate automatically. +crates.io user {user} added a new \"Trusted Publishing\" configuration for GitHub Actions to a crate that you manage ({krate}). Trusted publishers act as trusted users and can publish new versions of the crate automatically. Trusted Publishing configuration: @@ -65,7 +65,7 @@ pub struct ConfigDeletedEmail<'a> { impl Email for ConfigDeletedEmail<'_> { fn subject(&self) -> String { let Self { krate, .. } = self; - format!("crates.io: Trusted Publishing configration removed from {krate}") + format!("crates.io: Trusted Publishing configuration removed from {krate}") } fn body(&self) -> String { @@ -82,7 +82,7 @@ impl Email for ConfigDeletedEmail<'_> { format!( "Hello {recipient}! -crates.io user {user} has remove a \"Trusted Publishing\" configuration for GitHub Actions from a crate that you manage ({krate}). +crates.io user {user} removed a \"Trusted Publishing\" configuration for GitHub Actions from a crate that you manage ({krate}). Trusted Publishing configuration: diff --git a/src/tests/krate/publish/snapshots/crates_io__tests__krate__publish__trustpub__full_flow-11.snap b/src/tests/krate/publish/snapshots/crates_io__tests__krate__publish__trustpub__full_flow-11.snap index 337951e30e..9d6aa6ebeb 100644 --- a/src/tests/krate/publish/snapshots/crates_io__tests__krate__publish__trustpub__full_flow-11.snap +++ b/src/tests/krate/publish/snapshots/crates_io__tests__krate__publish__trustpub__full_flow-11.snap @@ -17,13 +17,13 @@ If you have questions or security concerns, you can contact us at help@crates.io To: foo@example.com From: crates.io -Subject: crates.io: Trusted Publishing configration added to foo +Subject: crates.io: Trusted Publishing configuration added to foo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello foo! -crates.io user foo has added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically. +crates.io user foo added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically. Trusted Publishing configuration: