diff --git a/class.two-factor-core.php b/class.two-factor-core.php index bf716932..bcaf438f 100644 --- a/class.two-factor-core.php +++ b/class.two-factor-core.php @@ -337,7 +337,7 @@ public static function backup_2fa() { if ( isset( $providers[ $_GET['provider'] ] ) ) { $provider = $providers[ $_GET['provider'] ]; } else { - wp_die( esc_html__( 'Cheatin’ uh?' ), 403 ); + wp_die( esc_html__( 'Cheatin’ uh?', 'two-factor' ), 403 ); } self::login_html( $user, $_GET['wp-auth-nonce'], $_GET['redirect_to'], '', $provider ); @@ -608,7 +608,7 @@ public static function login_form_validate_2fa() { if ( isset( $providers[ $_POST['provider'] ] ) ) { $provider = $providers[ $_POST['provider'] ]; } else { - wp_die( esc_html__( 'Cheatin’ uh?' ), 403 ); + wp_die( esc_html__( 'Cheatin’ uh?', 'two-factor' ), 403 ); } } else { $provider = self::get_primary_provider_for_user( $user->ID ); @@ -683,7 +683,7 @@ public static function login_form_validate_2fa() { * @return array Updated array of columns. */ public static function filter_manage_users_columns( array $columns ) { - $columns['two-factor'] = __( 'Two-Factor' ); + $columns['two-factor'] = __( 'Two-Factor', 'two-factor' ); return $columns; } @@ -738,7 +738,7 @@ public static function user_two_factor_options( $user ) {
- +