Gettext fixes from nbachiyski. fixes #4835

git-svn-id: http://svn.automattic.com/wordpress/trunk@5955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-08-28 18:57:55 +00:00
parent 501833e41e
commit 5fc07fcd15
2 changed files with 6 additions and 6 deletions

View File

@ -3,11 +3,11 @@
<p><?php <p><?php
$upgrade = apply_filters( 'update_footer', '' ); $upgrade = apply_filters( 'update_footer', '' );
printf( __( 'Thank you for creating with <a href="%s">WordPress</a> | <a href="%s">Documentation</a> | <a href="%s">Feedback</a> %s' ), 'http://wordpress.org/', 'http://codex.wordpress.org/', 'http://wordpress.org/support/forum/4', $upgrade ) echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade;
?></p> ?></p>
</div> </div>
<?php do_action('admin_footer', ''); ?> <?php do_action('admin_footer', ''); ?>
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script> <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
</body> </body>
</html> </html>

View File

@ -10,16 +10,16 @@ function core_update_footer( $msg ) {
switch ( $cur->response ) { switch ( $cur->response ) {
case 'development' : case 'development' :
return sprintf( __( '| You are using a development version (%s). Cool! Please <a href="%s">stay updated</a>.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' ); return sprintf( '| '.__( 'You are using a development version (%s). Cool! Please <a href="%s">stay updated</a>.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' );
break; break;
case 'upgrade' : case 'upgrade' :
return sprintf( __( '| <strong>Your WordPress %s is out of date. <a href="%s">Please update</a>.</strong>' ), $GLOBALS['wp_version'], $cur->url ); return sprintf( '| <strong>'.__( 'Your WordPress %s is out of date. <a href="%s">Please update</a>.' ).'</strong>', $GLOBALS['wp_version'], $cur->url );
break; break;
case 'latest' : case 'latest' :
return sprintf( __( '| Version %s' ), $GLOBALS['wp_version'] ); return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] );
break; break;
} }
} }
@ -112,4 +112,4 @@ function wp_plugin_update_row( $file ) {
} }
add_action( 'after_plugin_row', 'wp_plugin_update_row' ); add_action( 'after_plugin_row', 'wp_plugin_update_row' );
?> ?>