Add about.php maintenance/security release strings for translation. see #19346.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-12-01 23:13:56 +00:00
parent 46efcf6fdb
commit d0c1dfcaf3
3 changed files with 30 additions and 3 deletions

View File

@ -25,7 +25,7 @@ include( './admin-header.php' );
<h2 class="nav-tab-wrapper">
<a href="about.php" class="nav-tab nav-tab-active">
<?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
<?php _e( 'What&#8217;s New' ); ?>
</a><a href="credits.php" class="nav-tab">
<?php _e( 'Credits' ); ?>
</a><a href="freedoms.php" class="nav-tab">
@ -172,3 +172,30 @@ include( './admin-header.php' );
<?php
include( './admin-footer.php' );
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
return;
_n_noop( 'Maintenance Release', 'Maintenance Releases' );
_n_noop( 'Security Release', 'Security Releases' );
_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
/* translators: 1: WordPress version number. */
_n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.' );
/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). */
_n_noop( '<strong>Version %1$s</strong> addressed %2$s bugs.',
'<strong>Version %1$s</strong> addressed %2$s bugs.' );
/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). Singular security issue. */
_n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). More than one security issue. */
_n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
__( 'For more information, see <a href="%s">the release post</a>.' );
?>

View File

@ -56,7 +56,7 @@ include( './admin-header.php' );
<h2 class="nav-tab-wrapper">
<a href="about.php" class="nav-tab">
<?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
<?php _e( 'What&#8217;s New' ); ?>
</a><a href="credits.php" class="nav-tab nav-tab-active">
<?php _e( 'Credits' ); ?>
</a><a href="freedoms.php" class="nav-tab">

View File

@ -25,7 +25,7 @@ include( './admin-header.php' );
<h2 class="nav-tab-wrapper">
<a href="about.php" class="nav-tab">
<?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
<?php _e( 'What&#8217;s New' ); ?>
</a><a href="credits.php" class="nav-tab">
<?php _e( 'Credits' ); ?>
</a><a href="freedoms.php" class="nav-tab nav-tab-active">