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:
parent
501833e41e
commit
5fc07fcd15
|
@ -3,11 +3,11 @@
|
|||
<p><?php
|
||||
|
||||
$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>
|
||||
</div>
|
||||
<?php do_action('admin_footer', ''); ?>
|
||||
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -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 <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;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
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' );
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue