Natali_Z
Forum Replies Created
-
Forum: Plugins
In reply to: [Basic Comment Quicktags] Translation JavaScriptThank you very much!
Forum: Plugins
In reply to: [BackUpWordPress] Translation into Russian languageIn the file …//backupwordpress/admin/page.php not prepared for translation line 13 (the word “Extensions”).
Forum: Plugins
In reply to: [Basic Comment Quicktags] Translation JavaScriptThere is a function
wp_localize_script()
. It seems to me that it is using translate JS.Forum: Plugins
In reply to: [Admin Columns] Problems with the translationСпасибочки. )
Forum: Plugins
In reply to: [Heartbeat Control] Translations into other languagesOk.
Forum: Plugins
In reply to: [Admin Columns] Problems with the translation@sergeybiryukov, не поможете?
Forum: Plugins
In reply to: [Admin Columns] Problems with the translationWell, let’s see what the result is. Because the rows without textdomain remained untranslated everyone, including those where, in theory, should have worked his own translation of WordPress. I have translated in accordance with the standard translation.
I imported translation file here:
https://translate.www.ads-software.com/projects/wp-plugins/codepress-admin-columns/stable/ru/default
Someone has to approve. Or give me editor rights, I’ll watch for updates of the plugin and make the desired changes.Ok.
And the last. It seems to me that it is necessary to check the entire array of texts that need translation in order to eliminate duplicate lines.
The difference in the presence of a point or in the register of some letters. For example,Error: Special characters ([‘^$%&*()}{@#~?><>,|=_+\”]) are not allowed in the Group name. – subscribers/view-subscriber-add.php: 56
Error: Special characters ([‘^$%&*()}{@#~?><>,|=_+\”]) are not allowed in the group name. – subscribers/view-subscriber-import.php: 44Please select subscribers group – notification/notification-edit.php: 49
Please select subscribers group. – notification/notification-add.php: 33FILE …/job/es-optin.php
Line 14-40
Added<!DOCTYPE html>
, attribute language (<?php language_attributes(); ?>
) in<html>
and the style corresponding to the standard WP message pages in <head>`:<style type="text/css"> html { background: #f1f1f1; } body { margin: 50px auto; padding: 1em 2em; max-width: 700px; font-family: Arial, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #444; background: #fff; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); box-shadow: 0 1px 3px rgba(0,0,0,0.13); } .es_successfully_subscribed { margin: 25px 0 20px; font-size: 14px; line-height: 1.5; } </style>
Similarly in FILE …/job/es-unsubscribe.php
See here. This is how you click on the link to confirm your subscription.
FILE …/sendmail/sendmail.php
No preparation for translation: line: 17-19 and line 514 – ” – Cron Email scheduled”.FILE …/sentmail/sentmail-show.php
Replacement JPG on dashicons:
Line 149<a href="<?php echo ES_ADMINURL; ?>?page=es-sentmail&ac=preview&did=<?php echo $data['es_sent_id']; ?>&pagenum=<?php echo $pagenum; ?>"> <span class="dashicons dashicons-search"></span> </a>
Line 176
<a onClick="javascript:_es_delete('<?php echo $data['es_sent_id']; ?>')" href="javascript:void(0);"> <span class="dashicons dashicons-no"></span> </a>
FILE …settings/settings-edit.php
Line 380, fix a typo: cPanal -> cPanelFILE …/subscribers/view-subscriber-show.php
Line 403
delete title, it was not necessary, and it is not adjacent links<a href="<?php echo ES_ADMINURL; ?>?page=es-view-subscribers&ac=edit&did=<?php echo $data['es_email_id']; ?>">
FILE …/job/es-optin.php
Line 14-40
Added <!DOCTYPE html>, attribute language in <html> and the style corresponding to the standard WP message pages:<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <title><?php echo $blogname; ?></title> <meta http-equiv="refresh" content="10; url=<?php echo $home_url; ?>" charset="<?php echo esc_attr( get_option( 'blog_charset' ) ); ?>" /> <?php do_action( 'es_message_head' ); ?> <style type="text/css"> html { background: #f1f1f1; } body { margin: 50px auto; padding: 1em 2em; max-width: 700px; font-family: "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #444; background: #fff; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13); box-shadow: 0 1px 3px rgba(0,0,0,0.13); } .es_successfully_subscribed { margin: 25px 0 20px; font-size: 14px; line-height: 1.5; } </style> </head>
Similarly in FILE …/job/es-unsubscribe.php
FILE …/compose/compose-show.php
No preparation for translation: line 13-14FILE …help/help.php
No preparation for translation:
Line 57:
<input type="submit" name="submit" id="submit" class="button button-hero" value="<?php _e( 'Subscribe', ES_TDOMAIN ) ?>" />
Line 120-123
Error, the POT file picks up only part of the text, before $subbox_code. As a result, the entire text remains untranslated.<?php echo __( 'Use any of the following 3 methods to add subscription form to your website :<br> a) Use shortcode in any page/post : <strong>[email-subscribers namefield="YES" desc="" group="Public"]</strong> <i>Or</i><br> b) Go to Dashboard->Appearance->Widgets. Click on widget Email subscribers and click Add Widget button or drag it to the sidebar on the right <i>Or</i><br> c) Copy and past this php code to your desired template location : <strong>'. $subbox_code .'</strong>', ES_TDOMAIN ); ?>
FILE …/classes/es-sendmail.php
No preparation for translation:Line 62
es_cls_sendmail::es_sendmail( "notification", $template, $subscribers, __( "Post Notification", ES_TDOMAIN ), $post_id, $mailsenttype );
Line 74
es_cls_sendmail::es_sendmail( "newsletter", $template, $subscribers, __( "Newsletter", ES_TDOMAIN ), 0, $mailsenttype );
Line 298-304
I propose to add variables to output the category and the authors of posts:// Get category $category = get_the_category(); $post_cat = $category[0]->cat_name; // Get author $author = $post->post_author; $post_author = get_the_author_meta('display_name', $author);
And correspondingly:
Line 336-337:$content = str_replace('###CATEGORY###', $post_cat, $content); $content = str_replace('###AUTHOR###', $post_author, $content);
Line 420-422 and 453-455
I was forced to do so:/*else { $unsubtext = '\n\n' . $unsubtext; }*/
because otherwise the letters are displayed \n\n:
Forum: Plugins
In reply to: [Media Library Folders] Error: No files were foundThank you very much. It worked.