mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-06 18:55:44 +03:00
Fix plugin i18n strings
This commit is contained in:
parent
52fd2b08dc
commit
7e8c847471
13 changed files with 86 additions and 86 deletions
|
@ -299,7 +299,7 @@ function parse_contributors( $contributors ) {
|
|||
'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