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

I18n - Merge with similar string #60

Merged
merged 5 commits into from Apr 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions functions.php
Expand Up @@ -809,10 +809,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 @@ -933,7 +933,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 @@ -948,10 +948,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