mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
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:
parent
aec40e6c7e
commit
0754ae0b28
17 changed files with 108 additions and 108 deletions
|
@ -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 )
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue