Make plugin translation ready
-
Hey,
Great plugin but I’ve a hard time to translate all text string after the updates because many strings are hard coded.Please add a textdomain and wrap all strings into __() and _e() functions, especially
– the placeholder in
<input type="text" name="alert_me_email" class="alertme_input" id="alert_me_email" placeholder="email">
– The Subscribe button text
<button type="button" id="alert_me_submit" class="alertme_button"> Subscribe</button>
– The content of the $result[‘error’] variables.
– The content of the variables $alert_me_email_subject_line, $alert_me_form_success_message and $alert_me_form_heading_text.
– The content of the unsubscribe link:
$unsubscribe_link_html = "<a href='". $unsubscribe_link. "' target='_blank'>unsubscribe</a>";
Thank you!
- The topic ‘Make plugin translation ready’ is closed to new replies.