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

Add l10n support and complete missing translations. #281

Merged
merged 3 commits into from
Apr 16, 2019
Merged

Add l10n support and complete missing translations. #281

merged 3 commits into from
Apr 16, 2019

Conversation

Sonic853
Copy link
Contributor

I created a two-factor.pot file using wp-cli to make it easy to generate mo files.

includes/function.login-header.php Outdated Show resolved Hide resolved
class.two-factor-core.php Outdated Show resolved Hide resolved
@@ -337,7 +341,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 );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding these!

@kasparsd kasparsd mentioned this pull request Apr 16, 2019
Copy link
Collaborator

@kasparsd kasparsd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you @Sonic853!

@kasparsd kasparsd merged commit ebbdaf3 into WordPress:master Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants