From 5fc07fcd15e6367b04062c2dfbdf195a1df53e89 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 28 Aug 2007 18:57:55 +0000 Subject: [PATCH] Gettext fixes from nbachiyski. fixes #4835 git-svn-id: http://svn.automattic.com/wordpress/trunk@5955 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-footer.php | 4 ++-- wp-admin/includes/update.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index dbf76a2856..a70ff78a76 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -3,11 +3,11 @@

WordPress | Documentation | Feedback %s' ), 'http://wordpress.org/', 'http://codex.wordpress.org/', 'http://wordpress.org/support/forum/4', $upgrade ) +echo __('Thank you for creating with WordPress').' | '.__('Documentation').' | '.__('Feedback').' '.$upgrade; ?>

- \ No newline at end of file + diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 3f297eaab1..394204cc7d 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -10,16 +10,16 @@ function core_update_footer( $msg ) { switch ( $cur->response ) { case 'development' : - return sprintf( __( '| You are using a development version (%s). Cool! Please stay updated.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' ); + return sprintf( '| '.__( 'You are using a development version (%s). Cool! Please stay updated.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' ); break; case 'upgrade' : - return sprintf( __( '| Your WordPress %s is out of date. Please update.' ), $GLOBALS['wp_version'], $cur->url ); + return sprintf( '| '.__( 'Your WordPress %s is out of date. Please update.' ).'', $GLOBALS['wp_version'], $cur->url ); break; case 'latest' : - return sprintf( __( '| Version %s' ), $GLOBALS['wp_version'] ); + return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] ); break; } } @@ -112,4 +112,4 @@ function wp_plugin_update_row( $file ) { } add_action( 'after_plugin_row', 'wp_plugin_update_row' ); -?> \ No newline at end of file +?>