Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #35 from mukeshpanchal27/update/strings
Browse files Browse the repository at this point in the history
i18n: Merge similar translation strings
  • Loading branch information
audrasjb committed Mar 27, 2020
2 parents 1e3777c + 791054a commit 0d9b89d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-autoupdates.php
Original file line number Diff line number Diff line change
Expand Up @@ -729,17 +729,17 @@ function wp_autoupdates_debug_information( $info ) {

if ( array_key_exists( $plugin_path, $plugin_updates ) ) {
/* translators: %s: Latest plugin version number. */
$plugin_version_string .= ' ' . sprintf( __( '(Latest version: %s)', 'wp-autoupdates' ), $plugin_updates[ $plugin_path ]->update->new_version );
$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 );
}

if ( in_array( $plugin_path, $wp_auto_update_plugins ) ) {
$plugin_version_string .= ' | ' . sprintf( __( 'Auto-updates enabled', 'wp-autoupdates' ) );
$plugin_version_string_debug .= sprintf( __( 'auto-updates enabled', 'wp-autoupdates' ) );
$plugin_version_string_debug .= sprintf( __( 'Auto-updates enabled', 'wp-autoupdates' ) );
} else {
$plugin_version_string .= ' | ' . sprintf( __( 'Auto-updates disabled', 'wp-autoupdates' ) );
$plugin_version_string_debug .= sprintf( __( 'auto-updates disabled', 'wp-autoupdates' ) );
$plugin_version_string_debug .= sprintf( __( 'Auto-updates disabled', 'wp-autoupdates' ) );
}

$info[ $plugin_part ]['fields'][ sanitize_text_field( $plugin['Name'] ) ] = array(
Expand Down

0 comments on commit 0d9b89d

Please sign in to comment.