Skip to content

Commit 91d69b7

Browse files
committed
Add about.php maintenance/security release strings for translation. see #19346.
git-svn-id: https://develop.svn.wordpress.org/trunk@19536 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a61ece2 commit 91d69b7

3 files changed

Lines changed: 30 additions & 3 deletions

File tree

wp-admin/about.php

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<h2 class="nav-tab-wrapper">
2727
<a href="about.php" class="nav-tab nav-tab-active">
28-
<?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
28+
<?php _e( 'What&#8217;s New' ); ?>
2929
</a><a href="credits.php" class="nav-tab">
3030
<?php _e( 'Credits' ); ?>
3131
</a><a href="freedoms.php" class="nav-tab">
@@ -172,3 +172,30 @@
172172
<?php
173173

174174
include( './admin-footer.php' );
175+
176+
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
177+
return;
178+
179+
_n_noop( 'Maintenance Release', 'Maintenance Releases' );
180+
_n_noop( 'Security Release', 'Security Releases' );
181+
_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
182+
183+
/* translators: 1: WordPress version number. */
184+
_n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
185+
'<strong>Version %1$s</strong> addressed some security issues.' );
186+
187+
/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). */
188+
_n_noop( '<strong>Version %1$s</strong> addressed %2$s bugs.',
189+
'<strong>Version %1$s</strong> addressed %2$s bugs.' );
190+
191+
/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). Singular security issue. */
192+
_n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
193+
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
194+
195+
/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). More than one security issue. */
196+
_n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
197+
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
198+
199+
__( 'For more information, see <a href="%s">the release post</a>.' );
200+
201+
?>

wp-admin/credits.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function _wp_credits_build_object_link( &$data ) {
5656

5757
<h2 class="nav-tab-wrapper">
5858
<a href="about.php" class="nav-tab">
59-
<?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
59+
<?php _e( 'What&#8217;s New' ); ?>
6060
</a><a href="credits.php" class="nav-tab nav-tab-active">
6161
<?php _e( 'Credits' ); ?>
6262
</a><a href="freedoms.php" class="nav-tab">

wp-admin/freedoms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<h2 class="nav-tab-wrapper">
2727
<a href="about.php" class="nav-tab">
28-
<?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
28+
<?php _e( 'What&#8217;s New' ); ?>
2929
</a><a href="credits.php" class="nav-tab">
3030
<?php _e( 'Credits' ); ?>
3131
</a><a href="freedoms.php" class="nav-tab nav-tab-active">

0 commit comments

Comments
 (0)