echo __ => _e

This commit is contained in:
Brian Miyaji
2014-06-23 16:59:28 +10:00
parent 55e3dbb3be
commit 10ad135093
10 changed files with 13 additions and 14 deletions

View File

@@ -359,7 +359,7 @@ if ( class_exists( 'WP_Importer' ) ) {
else:
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
$this->footer();
die();

View File

@@ -126,7 +126,7 @@ if ( class_exists( 'WP_Importer' ) ) {
else:
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
$this->footer();
die();

View File

@@ -119,7 +119,7 @@ if ( class_exists( 'WP_Importer' ) ) {
else:
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
$this->footer();
die();

View File

@@ -83,7 +83,7 @@ if ( class_exists( 'WP_Importer' ) ) {
else:
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'sportspress' ) . '</strong><br />';
echo __( 'The CSV is invalid.', 'sportspress' ) . '</p>';
_e( 'The CSV is invalid.', 'sportspress' ) . '</p>';
$this->footer();
die();

View File

@@ -34,7 +34,7 @@
</tr>
<tr>
<td><?php _e( 'WP Multisite Enabled','sportspress' ); ?>:</td>
<td><?php if ( is_multisite() ) echo __( 'Yes', 'sportspress' ); else echo __( 'No', 'sportspress' ); ?></td>
<td><?php if ( is_multisite() ) _e( 'Yes', 'sportspress' ); else _e( 'No', 'sportspress' ); ?></td>
</tr>
<tr>
<td><?php _e( 'Web Server Info','sportspress' ); ?>:</td>

View File

@@ -531,7 +531,7 @@ class SP_Install {
if ( preg_match( $regexp, $response['body'], $matches ) ) {
$changelog = (array) preg_split( '~[\r\n]+~', trim( $matches[2] ) );
echo __( 'What\'s new:', 'sportspress' ) . '<div style="font-weight: normal;">';
_e( 'What\'s new:', 'sportspress' ) . '<div style="font-weight: normal;">';
$ul = false;