Skip to content

Commit

Permalink
add translator notes above _n calls
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidnelson committed Feb 3, 2025
1 parent 319452b commit f04d9ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AdminNotices.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public function admin_notices() {
if ( $archived ) {

$notices[] = sprintf(
// translators: %s is the number of posts moved to the Archive.
_n(
'%s post moved to the Archive.',
'%s posts moved to the Archive.',
Expand All @@ -98,6 +99,7 @@ public function admin_notices() {
if ( $unarchived ) {

$notices[] = sprintf(
// translators: %s is the number of posts restored from the Archive.
_n(
'%s post restored from the Archive.',
'%s posts restored from the Archive.',
Expand Down

0 comments on commit f04d9ad

Please sign in to comment.