diff --git a/classes/helpers/class-member-auth.php b/classes/helpers/class-member-auth.php
index 5e160c4..cf1e874 100644
--- a/classes/helpers/class-member-auth.php
+++ b/classes/helpers/class-member-auth.php
@@ -183,10 +183,10 @@ public static function authenticate_username_password($member, $username, $passw
$error = new WP_Error();
if ( empty($username) ) {
- $error->add('empty_username', __('ERROR: The username field is empty.'));
+ $error->add('empty_username', __('ERROR: The username field is empty.', 'mpt'));
}
if ( empty($password) ) {
- $error->add('empty_password', __('ERROR: The password field is empty.'));
+ $error->add('empty_password', __('ERROR: The password field is empty.', 'mpt'));
}
return $error;
@@ -196,7 +196,7 @@ public static function authenticate_username_password($member, $username, $passw
$member->fill_by( 'username', $username );
if ( !$member->exists() ) {
- return new WP_Error('invalid_username', sprintf(__('ERROR: Invalid username. Lost your password?'), mpt_get_lost_password_permalink() ) );
+ return new WP_Error('invalid_username', sprintf(__('ERROR: Invalid username. Lost your password?', 'mpt'), mpt_get_lost_password_permalink() ) );
}
$member = apply_filters('mpt_authenticate_member', $member, $password);
@@ -205,7 +205,7 @@ public static function authenticate_username_password($member, $username, $passw
}
if ( !wp_check_password($password, $member->password, false) ) {
- return new WP_Error( 'incorrect_password', sprintf( __( 'ERROR: The password you entered for the username %1$s is incorrect. Lost your password?' ),
+ return new WP_Error( 'incorrect_password', sprintf( __( 'ERROR: The password you entered for the username %1$s is incorrect. Lost your password?', 'mpt' ),
$username, mpt_get_lost_password_permalink() ) );
}