Changeset 18002
- Timestamp:
- 05/23/2011 05:33:33 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/credits.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/credits.php
r18001 r18002 64 64 echo '<p>' . sprintf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ), 65 65 'http://wordpress.org/about/', 66 _x( 'http://codex.wordpress.org/Contributing_to_WordPress', 'Url to the codex documentation on contributing to WordPress used on the credits page' ) ) . '</p>'; 66 /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ 67 __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '</p>'; 67 68 include( './admin-footer.php' ); 68 69 exit; … … 87 88 88 89 foreach ( (array) $results['lists'] as $group_slug => $members ) { 89 $title = translate( $results['groups'][ $group_slug ] ); 90 if ( isset( $results['data']['placeholders'][ $group_slug ] ) ) 91 $title = vsprintf( $title, $results['data']['placeholders'][ $group_slug ] ); 90 if ( $group_slug === 'translators' ) { 91 // Considered a special slug in the API response. (Also, will never be returned for en_US.) 92 /* translators: use the name of your own language here */ 93 $title = __( 'English Translators' ); 94 if ( 'English Translators' == $title ) 95 $title = __( 'Translators' ); 96 } else { 97 $title = translate( $results['groups'][ $group_slug ] ); 98 if ( isset( $results['data']['placeholders'][ $group_slug ] ) ) 99 $title = vsprintf( $title, $results['data']['placeholders'][ $group_slug ] ); 100 } 101 92 102 echo '<h3 class="wp-props-group">' . $title . "</h3>\n\n"; 93 103 array_walk( $members, '_wp_credits_add_profile_link', $results['data']['profile_prefix'] ); … … 98 108 ?> 99 109 <p class="clear"><?php printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ), 100 _x( 'http://codex.wordpress.org/Contributing_to_WordPress', 'Url to the codex documentation on contributing to WordPress used on the credits page' ) ); ?></p> 110 /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ 111 __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ); ?></p> 101 112 102 113 </div> … … 111 122 __( 'Recent Rockstars' ); 112 123 __( 'Core Contributors to WordPress %s' ); 113 __( 'Translators for %s' );114 124 __( 'Cofounder, Project Lead' ); 115 125 __( 'Lead Developer' ); … … 120 130 __( 'XML-RPC Developer' ); 121 131 __( 'Internationalization' ); 122 __( 'Twenty Eleven' );123 132 124 133 ?>
Note: See TracChangeset
for help on using the changeset viewer.