From eb29ecbf69a3741441a782f011b531280fc75606 Mon Sep 17 00:00:00 2001 From: Mihan WordPress <56637478+mihanwp@users.noreply.github.com> Date: Sun, 10 Jan 2021 11:46:54 +0330 Subject: [PATCH] Fix translation text domain Fix translation text domain --- .../wp-security-rename-login-feature.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php b/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php index 2ee6075..77d1436 100644 --- a/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php +++ b/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php @@ -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', __( 'You have successfully updated WordPress! Please log back in to see what’s new.' ), 'message' ); + $errors->add( 'updated', __( 'You have successfully updated WordPress! Please log back in to see what’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' ); } }