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 #60 from pedro-mendonca/master
Browse files Browse the repository at this point in the history
I18n - Merge with similar string
  • Loading branch information
audrasjb committed Apr 6, 2020
2 parents 6972991 + 74f127e commit 00e544a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -878,10 +878,10 @@ function wp_autoupdates_debug_information( $info ) {

if ( in_array( $theme_path, $wp_auto_update_themes ) ) {
$theme_version_string .= ' | ' . sprintf( __( 'Auto-updates enabled', 'wp-autoupdates' ) );
$theme_version_string_debug .= sprintf( __( 'auto-updates enabled', 'wp-autoupdates' ) );
$theme_version_string_debug .= sprintf( __( 'Auto-updates enabled', 'wp-autoupdates' ) );
} else {
$theme_version_string .= ' | ' . sprintf( __( 'Auto-updates disabled', 'wp-autoupdates' ) );
$theme_version_string_debug .= sprintf( __( 'auto-updates disabled', 'wp-autoupdates' ) );
$theme_version_string_debug .= sprintf( __( 'Auto-updates disabled', 'wp-autoupdates' ) );
}

$theme_name = sanitize_text_field( $theme['Name'] );
Expand Down Expand Up @@ -1006,7 +1006,7 @@ function wp_autoupdates_send_email_notification( $type, $successful_updates, $fa
switch ( $type ) {
case 'success':
/* translators: %s: Site title. */
$subject = __( '[%s] Some plugins or themes have automatically updated', 'wp-autoupdates' );
$subject = __( '[%s] Some plugins or themes were automatically updated', 'wp-autoupdates' );
break;
case 'fail':
/* translators: %s: Site title. */
Expand All @@ -1021,10 +1021,10 @@ function wp_autoupdates_send_email_notification( $type, $successful_updates, $fa
break;
case 'mixed':
/* translators: %s: Site title. */
$subject = __( '[%s] Some plugins/themes have automatically updated', 'wp-autoupdates' );
$subject = __( '[%s] Some plugins or themes were automatically updated', 'wp-autoupdates' );
$body[] = sprintf(
/* translators: %s: Home URL. */
__( 'Howdy! There were some failures while attempting to update plugins/themes on your site at %s.', 'wp-autoupdates' ),
__( 'Howdy! Failures occurred when attempting to update plugins/themes on your site at %s.', 'wp-autoupdates' ),
home_url()
);
$body[] = "\n";
Expand Down

0 comments on commit 00e544a

Please sign in to comment.