Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix translation text domain #104

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1017,24 +1017,24 @@ function retrieve_password() {

if ( $interim_login ) {
if ( ! $errors->has_errors() ) {
$errors->add( 'expired', __( 'Your session has expired. Please log in to continue where you left off.' ), 'message' );
$errors->add( 'expired', __( 'Your session has expired. Please log in to continue where you left off.','all-in-one-wp-security-and-firewall' ), 'message' );
}
} else {
// Some parts of this script use the main login form to display a message.
if ( isset( $_GET['loggedout'] ) && true == $_GET['loggedout'] ) {
$errors->add( 'loggedout', __( 'You are now logged out.' ), 'message' );
$errors->add( 'loggedout', __( 'You are now logged out.','all-in-one-wp-security-and-firewall' ), 'message' );
} elseif ( isset( $_GET['registration'] ) && 'disabled' == $_GET['registration'] ) {
$errors->add( 'registerdisabled', __( 'User registration is currently not allowed.' ) );
$errors->add( 'registerdisabled', __( 'User registration is currently not allowed.','all-in-one-wp-security-and-firewall' ) );
} elseif ( isset( $_GET['checkemail'] ) && 'confirm' == $_GET['checkemail'] ) {
$errors->add( 'confirm', __( 'Check your email for the confirmation link.' ), 'message' );
$errors->add( 'confirm', __( 'Check your email for the confirmation link.','all-in-one-wp-security-and-firewall' ), 'message' );
} elseif ( isset( $_GET['checkemail'] ) && 'newpass' == $_GET['checkemail'] ) {
$errors->add( 'newpass', __( 'Check your email for your new password.' ), 'message' );
$errors->add( 'newpass', __( 'Check your email for your new password.','all-in-one-wp-security-and-firewall' ), 'message' );
} elseif ( isset( $_GET['checkemail'] ) && 'registered' == $_GET['checkemail'] ) {
$errors->add( 'registered', __( 'Registration complete. Please check your email.' ), 'message' );
$errors->add( 'registered', __( 'Registration complete. Please check your email.','all-in-one-wp-security-and-firewall' ), 'message' );
} elseif ( strpos( $redirect_to, 'about.php?updated' ) ) {
$errors->add( 'updated', __( '<strong>You have successfully updated WordPress!</strong> Please log back in to see what&#8217;s new.' ), 'message' );
$errors->add( 'updated', __( '<strong>You have successfully updated WordPress!</strong> Please log back in to see what&#8217;s new.','all-in-one-wp-security-and-firewall' ), 'message' );
} elseif ( WP_Recovery_Mode_Link_Service::LOGIN_ACTION_ENTERED === $action ) {
$errors->add( 'enter_recovery_mode', __( 'Recovery Mode Initialized. Please log in to continue.' ), 'message' );
$errors->add( 'enter_recovery_mode', __( 'Recovery Mode Initialized. Please log in to continue.','all-in-one-wp-security-and-firewall' ), 'message' );
}
}

Expand Down