Use a unique text-domain, wporg-5ftf (#110)

* Use a unique text-domain, wporg-5ftf

* Fix plugin i18n strings

* Remove unwanted text-domains from WPCS checks and fix missed old text-domains

* Remove type=array from phpcs

* Re-add type=array

* Small WPCS fix

* WPCS: replace  var with
This commit is contained in:
Jb Audras 2019-11-23 19:24:37 +01:00 committed by Kelly Dwan
parent aec40e6c7e
commit 0754ae0b28
17 changed files with 108 additions and 108 deletions

View file

@ -169,7 +169,7 @@ function update_all_cached_pledge_data() {
function add_meta_boxes() {
add_meta_box(
'pledge-email',
__( 'Pledge Email', 'wordpressorg' ),
__( 'Pledge Email', 'wporg-5ftf' ),
__NAMESPACE__ . '\render_meta_boxes',
Pledge\CPT_ID,
'normal',
@ -178,7 +178,7 @@ function add_meta_boxes() {
add_meta_box(
'org-info',
__( 'Organization Information', 'wordpressorg' ),
__( 'Organization Information', 'wporg-5ftf' ),
__NAMESPACE__ . '\render_meta_boxes',
Pledge\CPT_ID,
'normal',
@ -187,7 +187,7 @@ function add_meta_boxes() {
add_meta_box(
'pledge-contributors',
__( 'Contributors', 'wordpressorg' ),
__( 'Contributors', 'wporg-5ftf' ),
__NAMESPACE__ . '\render_meta_boxes',
Pledge\CPT_ID,
'normal',
@ -403,7 +403,7 @@ function has_required_pledge_meta( array $submission ) {
$error->add(
'required_field_empty',
sprintf(
__( 'The <code>%s</code> field does not have a value.', 'wporg' ),
__( 'The <code>%s</code> field does not have a value.', 'wporg-5ftf' ),
sanitize_key( $key )
)
);
@ -411,7 +411,7 @@ function has_required_pledge_meta( array $submission ) {
$error->add(
'required_field_invalid',
sprintf(
__( 'The <code>%s</code> field has an invalid value.', 'wporg' ),
__( 'The <code>%s</code> field has an invalid value.', 'wporg-5ftf' ),
sanitize_key( $key )
)
);