Some errors and suggestions
-
During the translation of the plug-in, the following problems were detected:
FILE …/classes/es-register.php
Line 141-142I propose to change the icons on the standard dashicons (and in passing – textdomain). Here and further – already corrected lines, you have the originals.
add_menu_page( __( 'Email Subscribers', ES_TDOMAIN ), __( 'Email Subscribers', ES_TDOMAIN ), 'admin_dashboard', 'email-subscribers', array( 'es_cls_registerhook', 'es_admin_option'), 'dashicons-email', 51 );
Line 162
Correct mistake – add a missing tag </span>__( '<span style="color:#f18500;font-weight:bolder;">Help & Info</span>', 'email-subscribers' ), $es_roles_help, 'es-general-information', array( 'es_cls_intermediate', 'es_information' ));
Line 964
I propose to change Name on Your name and Email * on * Your E-mail (or Your E-mail *) in the widget. This will allow us to distinguish the Name and Address in the widget from the others.<div class="es_lablebox"><label class="es_widget_form_name"><?php echo __( 'Your name', ES_TDOMAIN ); ?></label></div>
Line 969
<div class="es_lablebox"><label class="es_widget_form_email"><?php echo __( '* Your E-mail', ES_TDOMAIN ); ?></label></div>
Similarly in
FILE …/classes/es-loadwidget.php
Line 28 and 33 – The same replacement Name и Email *
- The topic ‘Some errors and suggestions’ is closed to new replies.