Skip to content

Commit f0560bc

Browse files
Plugin-directory: Sentence case meta details and remove ':'.
See: #312 Props: joen git-svn-id: https://meta.svn.wordpress.org/sites/trunk@13751 74240141-8908-4e6f-9713-ba540dce6ec7
1 parent cf1bc10 commit f0560bc

File tree

1 file changed

+9
-9
lines changed
  • wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets

1 file changed

+9
-9
lines changed

wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function widget( $args, $instance ) {
5252
<?php
5353
printf(
5454
/* translators: %s: version number */
55-
__( 'Version: %s', 'wporg-plugins' ),
55+
__( 'Version %s', 'wporg-plugins' ),
5656
'<strong>' . esc_html( get_post_meta( $post->ID, 'version', true ) ) . '</strong>'
5757
);
5858
?>
@@ -69,7 +69,7 @@ public function widget( $args, $instance ) {
6969

7070
printf(
7171
/* translators: %s: time since the last update */
72-
__( 'Last updated: %s', 'wporg-plugins' ),
72+
__( 'Last updated %s', 'wporg-plugins' ),
7373
/* translators: %s: time since the last update */
7474
'<strong>' . wp_kses( sprintf( __( '%s ago', 'wporg-plugins' ), '<span>' . human_time_diff( $modified_time ) . '</span>' ), array( 'span' => true ) ) . '</strong>'
7575
);
@@ -79,15 +79,15 @@ public function widget( $args, $instance ) {
7979
<?php
8080
printf(
8181
/* translators: %s: active installations count */
82-
__( 'Active installations: %s', 'wporg-plugins' ),
82+
__( 'Active installations %s', 'wporg-plugins' ),
8383
'<strong>' . esc_html( Template::active_installs( false ) ) . '</strong>'
8484
);
8585
?>
8686
</li>
8787

8888
<?php if ( $requires = (string) get_post_meta( $post->ID, 'requires', true ) ) : ?>
8989
<li>
90-
<?php esc_html_e( 'WordPress Version:', 'wporg-plugins' ); ?>
90+
<?php esc_html_e( 'WordPress version', 'wporg-plugins' ); ?>
9191
<strong>
9292
<?php
9393
printf(
@@ -105,7 +105,7 @@ public function widget( $args, $instance ) {
105105
<?php
106106
printf(
107107
/* translators: %s: version number */
108-
__( 'Tested up to: %s', 'wporg-plugins' ),
108+
__( 'Tested up to %s', 'wporg-plugins' ),
109109
'<strong>' . esc_html( $tested_up_to ) . '</strong>'
110110
);
111111
?>
@@ -114,7 +114,7 @@ public function widget( $args, $instance ) {
114114

115115
<?php if ( $requires_php = (string) get_post_meta( $post->ID, 'requires_php', true ) ) : ?>
116116
<li>
117-
<?php esc_html_e( 'PHP Version:', 'wporg-plugins' ); ?>
117+
<?php esc_html_e( 'PHP version', 'wporg-plugins' ); ?>
118118
<strong>
119119
<?php
120120
printf(
@@ -135,9 +135,9 @@ public function widget( $args, $instance ) {
135135
<li>
136136
<?php
137137
if ( 1 === $available_languages_count ) {
138-
esc_html_e( 'Language:', 'wporg-plugins' );
138+
esc_html_e( 'Language', 'wporg-plugins' );
139139
} else {
140-
esc_html_e( 'Languages:', 'wporg-plugins' );
140+
esc_html_e( 'Languages', 'wporg-plugins' );
141141
}
142142

143143
echo '<div class="languages">';
@@ -208,7 +208,7 @@ public function widget( $args, $instance ) {
208208
echo '<li class="clear">';
209209
printf(
210210
/* translators: %s: tag list */
211-
_n( 'Tag: %s', 'Tags: %s', count( $term_links ), 'wporg-plugins' ),
211+
_n( 'Tag %s', 'Tags %s', count( $term_links ), 'wporg-plugins' ),
212212
'<div class="tags">' . implode( $term_links ) . '</div>'
213213
);
214214
echo '</li>';

0 commit comments

Comments
 (0)