Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions inc/updater/class-lite.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ protected function append_theme_actions_content( $theme ) {
<?php
printf(
/* translators: %s: theme name */
esc_html__( 'There is a new version of %s available.', 'git-updater-lite' ),
esc_html__( 'There is a new version of %s available.', 'fair' ),
esc_attr( $theme->name )
);
printf(
Expand All @@ -396,25 +396,25 @@ protected function append_theme_actions_content( $theme ) {
if ( ! empty( $current->response[ $theme->slug ]['package'] ) ) {
printf(
/* translators: 1: version number, 2: closing anchor tag, 3: update URL */
esc_html__( 'View version %1$s details%2$s or %3$supdate now%2$s.', 'git-updater-lite' ),
esc_html__( 'View version %1$s details%2$s or %3$supdate now%2$s.', 'fair' ),
$theme->remote_version = isset( $theme->remote_version ) ? esc_attr( $theme->remote_version ) : null,
'</a>',
sprintf(
/* translators: %s: theme name */
'<a aria-label="' . esc_html__( 'Update %s now', 'git-updater-lite' ) . '" id="update-theme" data-slug="' . esc_attr( $theme->slug ) . '" href="' . esc_url( $nonced_update_url ) . '">',
'<a aria-label="' . esc_html__( 'Update %s now', 'fair' ) . '" id="update-theme" data-slug="' . esc_attr( $theme->slug ) . '" href="' . esc_url( $nonced_update_url ) . '">',
esc_attr( $theme->name )
)
);
} else {
printf(
/* translators: 1: version number, 2: closing anchor tag, 3: update URL */
esc_html__( 'View version %1$s details%2$s.', 'git-updater-lite' ),
esc_html__( 'View version %1$s details%2$s.', 'fair' ),
$theme->remote_version = isset( $theme->remote_version ) ? esc_attr( $theme->remote_version ) : null,
'</a>'
);
printf(
/* translators: %s: opening/closing paragraph and italic tags */
esc_html__( '%1$sAutomatic update is unavailable for this theme.%2$s', 'git-updater-lite' ),
esc_html__( '%1$sAutomatic update is unavailable for this theme.%2$s', 'fair' ),
'<p><i>',
'</i></p>'
);
Expand Down
2 changes: 1 addition & 1 deletion inc/version-check/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function get_browser_check_response( string $agent ) {
],
'body' => json_encode( [
'platform' => _x( 'your platform', 'browser version check', 'fair' ),
'name' => __( 'your browser', 'browser version check', 'fair' ),
'name' => _x( 'your browser', 'browser version check', 'fair' ),
'version' => '',
'current_version' => '',
'upgrade' => ! $supported,
Expand Down