Improve I18N Issues (Based on 1.1.3)
-
I don’t find thiss plugin’s GitHub repository so I paste modified code here to improve I18N issues.
\includes\class-change-wp-admin-login.php
Line 108, remind translators not to translate plugin’s name
echo '<div class="error"><p>' . sprintf( __( 'Please upgrade to the latest version of WordPress to activate %s.', 'change-wp-admin-login' ), '<strong>' . _x( 'Change wp-admin login', 'Plugin Name', 'change-wp-admin-login' ) . '</strong>' ) . '</p></div>';
Line 141, this is a menu item and it has own meaning so it can be translated.
$out .= '<h3>' . _x( 'Change wp-admin login', 'UI String', 'change-wp-admin-login' ) . '</h3>';
Line 168, this is a setting section name and it has own meaning so it can be translated.
_x( 'Change wp-admin login', 'UI String', 'change-wp-admin-login' ),
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Improve I18N Issues (Based on 1.1.3)’ is closed to new replies.