Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some string improvements #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion inc/admin/enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function wptxu_load_admin_assets() {

$translation_array = array(
'ajax_loading' => __( 'Check for update...', 'wpt-tx-updater' ),
'license_deactivate' => 'WPT tx updater : '.__( 'License deactivate', 'wpt-tx-updater' ),
'license_deactivate' => 'WPT tx updater : '.__( 'Deactivate License', 'wpt-tx-updater' ),
'ajax_fail' => __( 'Please try again soon.', 'wpt-tx-updater' ),
);

Expand Down
2 changes: 1 addition & 1 deletion inc/api/wptxu-sl-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function wptxu_sl_call( $action, $key ) {

// Make sure the response came back okay.
if ( is_wp_error( $remote_call ) ) {
$error_message = sprintf( __( '<p class="wptxu-error"><span class="dashicons dashicons-info"></span>There is a problem with remote site, please try again. %s</p>', 'wpt-tx-updater' ), $remote_call->get_error_message() );
$error_message = '<p class="wptxu-error"><span class="dashicons dashicons-info"></span>' . __( 'There is a problem with remote site, please try again.', 'wpt-tx-updater' ) . ' ' . $remote_call->get_error_message() . '</p>';
return $error_message;
} else {
// Decode the license data.
Expand Down