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
|
@ -293,13 +293,13 @@ function parse_contributors( $contributors ) {
|
|||
|
||||
if ( ! empty( $invalid_contributors ) ) {
|
||||
/* translators: Used between sponsor names in a list, there is a space after the comma. */
|
||||
$item_separator = _x( ', ', 'list item separator', 'wporg' );
|
||||
$item_separator = _x( ', ', 'list item separator', 'wporg-5ftf' );
|
||||
|
||||
return new WP_Error(
|
||||
'invalid_contributor',
|
||||
sprintf(
|
||||
/* translators: %s is a list of usernames. */
|
||||
__( 'The following contributor usernames are not valid: %s', 'wporg' ),
|
||||
__( 'The following contributor usernames are not valid: %s', 'wporg-5ftf' ),
|
||||
implode( $item_separator, $invalid_contributors )
|
||||
)
|
||||
);
|
||||
|
@ -308,7 +308,7 @@ function parse_contributors( $contributors ) {
|
|||
if ( empty( $sanitized_contributors ) ) {
|
||||
return new WP_Error(
|
||||
'contributor_required',
|
||||
__( 'The pledge must have at least one contributor username.', 'wporg' )
|
||||
__( 'The pledge must have at least one contributor username.', 'wporg-5ftf' )
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -338,7 +338,7 @@ function check_invalid_submission( $submission ) {
|
|||
if ( has_existing_pledge( $email, 'email' ) ) {
|
||||
return new WP_Error(
|
||||
'existing_pledge_email',
|
||||
__( 'This email address is already connected to an existing pledge.', 'wporg' )
|
||||
__( 'This email address is already connected to an existing pledge.', 'wporg-5ftf' )
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -347,7 +347,7 @@ function check_invalid_submission( $submission ) {
|
|||
if ( has_existing_pledge( $domain, 'domain' ) ) {
|
||||
return new WP_Error(
|
||||
'existing_pledge_domain',
|
||||
__( 'A pledge already exists for this domain.', 'wporg' )
|
||||
__( 'A pledge already exists for this domain.', 'wporg-5ftf' )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue