-
Notifications
You must be signed in to change notification settings - Fork 18
i18n: Merge similar translation strings #35
Conversation
mukeshpanchal27
commented
Mar 26, 2020
•
edited
Loading
edited
wp-autoupdates.php
Outdated
@@ -731,15 +731,15 @@ function wp_autoupdates_debug_information( $info ) { | |||
/* translators: %s: Latest plugin version number. */ | |||
$plugin_version_string .= ' ' . sprintf( __( '(Latest version: %s)', 'wp-autoupdates' ), $plugin_updates[ $plugin_path ]->update->new_version ); | |||
/* translators: %s: Latest plugin version number. */ | |||
$plugin_version_string_debug .= ' ' . sprintf( __( '(latest version: %s)', 'wp-autoupdates' ), $plugin_updates[ $plugin_path ]->update->new_version ); | |||
$plugin_version_string_debug .= ' ' . sprintf( __( '(Latest version: %s)', 'wp-autoupdates' ), $plugin_updates[ $plugin_path ]->update->new_version ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not completely collapse this into $plugin_version_string
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jeffpaul,
$plugin_version_string and $plugin_version_string_debug both variable used for diffrent pepose.
$plugin_version_string in value and $plugin_version_string_debug use for debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.
However @mukeshpanchal27 I think it would be better to use the lowercase version 😃
Can you please update the patch accordingly?
Thank you!
wp-autoupdates.php
Outdated
@@ -731,15 +731,15 @@ function wp_autoupdates_debug_information( $info ) { | |||
/* translators: %s: Latest plugin version number. */ | |||
$plugin_version_string .= ' ' . sprintf( __( '(Latest version: %s)', 'wp-autoupdates' ), $plugin_updates[ $plugin_path ]->update->new_version ); | |||
/* translators: %s: Latest plugin version number. */ | |||
$plugin_version_string_debug .= ' ' . sprintf( __( '(latest version: %s)', 'wp-autoupdates' ), $plugin_updates[ $plugin_path ]->update->new_version ); | |||
$plugin_version_string_debug .= ' ' . sprintf( __( '(Latest version: %s)', 'wp-autoupdates' ), $plugin_updates[ $plugin_path ]->update->new_version ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.
However @mukeshpanchal27 I think it would be better to use the lowercase version 😃
Can you please update the patch accordingly?
Thank you!