Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Commit

Permalink
localize admin screen. close #14
Browse files Browse the repository at this point in the history
  • Loading branch information
rohmann committed Sep 7, 2015
1 parent b62879f commit 7957da3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions global-smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,20 @@ public function render_admin_page() {

<div class="wrap">
<h1><?php echo $this->title; ?></h1>
<p>To test your configuration, we recommend installing the <a href="https://wordpress.org/plugins/check-email/">check email plugin</a>.
<p><strong>This page will no longer appear once a valid configuration is found.</strong></p>
<p><?php printf( __( 'To test your configuration, we recommend installing the <a href="%s">check email plugin', 'global-smtp' ), 'https://wordpress.org/plugins/check-email/' ); ?></a>.
<p><strong><?php _e( 'This page will no longer appear once a valid configuration is found.', 'global-smtp' ); ?></strong></p>

<div class="error">
<?php foreach ( $this->errors as $error ) : ?>
<p><?php echo $error->get_error_message(); ?></p>
<?php endforeach;?>
</div>
<p><strong>Example of minimum configuration</strong> (example for gmail)</p>
<p><?php _e( '<strong>Example of minimum configuration</strong> (example for gmail)', 'global-smtp' ) ?></p>
<p><textarea class="code" readonly="readonly" cols="50" rows="3"><?php echo $minimum; ?></textarea></p>
<p>It is assumed that TLS encryption will be used on port 587. The "from name" and "from address" will use the WordPress defaults, however many email providers may not allow them to be overriden.</p>
<p><?php _e( 'It is assumed that TLS encryption will be used on port 587. The "from name" and "from address" will use the WordPress defaults, however many email providers may not allow them to be overriden.', 'global-smtp' ) ?></p>
<hr>
<p><strong>Some optional statements</strong></p>
<p>For a complete list, view the plugin readme.</p>
<p><strong><?php _e( 'Some optional statements', 'global-smtp' ) ?></strong></p>
<p><?php _e( 'For a complete list, view the plugin readme.', 'global-smtp' ) ?></p>
<p><textarea class="code" readonly="readonly" cols="50" rows="4"><?php echo $optional; ?></textarea></p>
</div>

Expand Down

0 comments on commit 7957da3

Please sign in to comment.