mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 10:32:01 +08:00
Improve comments to translators and removing indirect formatting (#63)
Signed-off-by: Tor-Björn Fjellner <tobifjellner@users.noreply.github.com>
This commit is contained in:
parent
82f372431c
commit
8a7efe0ed2
1 changed files with 4 additions and 7 deletions
|
@ -398,7 +398,7 @@ if ( ! class_exists( 'Fragen\\Git_Updater\\Lite' ) ) {
|
|||
);
|
||||
if ( ! empty( $current->response[ $theme->slug ]['package'] ) ) {
|
||||
printf(
|
||||
/* translators: 1: version number, 2: closing anchor tag, 3: update URL */
|
||||
/* translators: 1: opening anchor with version number, 2: closing anchor tag, 3: opening anchor with update URL */
|
||||
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>',
|
||||
|
@ -410,16 +410,13 @@ if ( ! class_exists( 'Fragen\\Git_Updater\\Lite' ) ) {
|
|||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: version number, 2: closing anchor tag, 3: update URL */
|
||||
/* translators: 1: opening anchor with version number, 2: closing anchor tag, 3: opening anchor with update URL */
|
||||
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', 'fair' ),
|
||||
'<p><i>',
|
||||
'</i></p>'
|
||||
echo(
|
||||
'<p><i>' . esc_html__( 'Automatic update is unavailable for this theme.', 'fair' ) . '</i></p>'
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue