diff --git a/includes/abilities-api/class-wp-ability-category.php b/includes/abilities-api/class-wp-ability-category.php index 957ce5e..091b0bd 100644 --- a/includes/abilities-api/class-wp-ability-category.php +++ b/includes/abilities-api/class-wp-ability-category.php @@ -88,7 +88,7 @@ public function __construct( string $slug, array $args ) { _doing_it_wrong( __METHOD__, sprintf( - /* translators: %s: Property name. */ + /* translators: %1$s: Property name, %2$s: Ability category slug, %3$s: Class name. */ __( 'Property "%1$s" is not a valid property for ability category "%2$s". Please check the %3$s class for allowed properties.' ), '' . esc_html( $property_name ) . '', '' . esc_html( $this->slug ) . '', diff --git a/includes/abilities-api/class-wp-ability.php b/includes/abilities-api/class-wp-ability.php index d116080..de1a40f 100644 --- a/includes/abilities-api/class-wp-ability.php +++ b/includes/abilities-api/class-wp-ability.php @@ -174,7 +174,7 @@ public function __construct( string $name, array $args ) { _doing_it_wrong( __METHOD__, sprintf( - /* translators: %s: Property name. */ + /* translators: %1$s: Property name, %2$s: Ability name, %3$s: Class name. */ __( 'Property "%1$s" is not a valid property for ability "%2$s". Please check the %3$s class for allowed properties.' ), '' . esc_html( $property_name ) . '', '' . esc_html( $this->name ) . '',