Raphael Wiener
Forum Replies Created
-
AuthorPosts
-
Thank You!
Hi Paolo
This is to inform you that the translation is waiting ready for approval.
Hi Paolo
Can you give me a URL so that I can upload it?Dear Paolo
I have created the Japanese translation on the Github page of the usersWP plugin. You can find a new Japanese po file
https://github.com/UsersWP/userswp/compare/master…wienerr:patch-1I have no permission to upload hence I cant upload the compiled mo file.
Please look into it and let me know if I need to to add something.
Best regards
Raphael WienerI noticed the space and deleted it.
It did not help.Ok I will wait for the next release.
The error messages are not that big deal.
I will submit the current completed translation to WordPress you will be able to check it.Please note:
on the previous detailed message, some of the HTML tags are being interpreted instead of being displayed as text on the message.
Here I define the code clips properly:the po file:
#: includes/class-forms.php:365 includes/class-forms.php:469 msgid "<strong>Error</strong>: Invalid username or Password." msgstr "<strong>エラー</ strong>:ユーザー名またはパスワードが無効です。"
This is where the text appears in your class-forms.php the first line in this clip is line # 364
if (is_wp_error($res)) { $error = '<div class="uwp-alert-error text-center">'.__('<strong>Error</strong>: Invalid username or Password.', 'userswp').'</div>'; $uwp_notices[] = array('register' => $error); } else {
This is the translation as it apears in the po file:
#: includes/class-forms.php:365 includes/class-forms.php:469
msgid “Error: Invalid username or Password.”
msgstr “エラー</ strong>:ユーザー名またはパスワードが無効です。”This is where the text appears in your class-forms.php the first line in this clip is line # 364
if (is_wp_error($res)) {
$error = ‘<div class=”uwp-alert-error text-center”>’.__(‘Error: Invalid username or Password.’, ‘userswp’).'</div>’;
$uwp_notices[] = array(‘register’ => $error);
} else {
$reg_redirect_page_id = uwp_get_option(‘register_redirect_to’, ”);
$redirect_to = uwp_get_redirect_url($reg_redirect_page_id, $data);
$redirect = apply_filters(‘uwp_register_redirect’, $redirect_to);
do_action(‘uwp_after_process_register’, $data);
wp_redirect($redirect);
exit();
}The one which I translated and noticed not working is:
“Error: Invalid username or Password.”
It is in the file class-forms.php on line 365.Another issue in the same context.
On the login screen, the error messages are not translated inspite of the fact they are translated on the po file.FYI: I use loco for translation
-
AuthorPosts