Skip to content

Commit

Permalink
84 translate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglv committed Dec 12, 2024
1 parent 8f24302 commit 049143a
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ use Magento\Framework\View\Element\Template;
}

if (wire.get('requiresShipping')) {
methodHandler.renderMessage('Please select shipping method.');
methodHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ use Magento\Framework\View\Element\Template;
}

if (wire.get('requiresShipping')) {
amazonPayHandler.renderMessage('Please select shipping method.');
amazonPayHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ use Magento\Framework\View\Element\Template;
}

if (wire.get('requiresShipping')) {
applePayHandler.renderMessage('Please select shipping method.');
applePayHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ use Magento\Framework\View\Element\Template;
}

if (wire.get('requiresShipping')) {
methodHandler.renderMessage('Please select shipping method.');
methodHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ use Adyen\Hyva\Magewire\Payment\Method\CreditCard;
}

if (wire.get('requiresShipping')) {
creditCardHandler.renderMessage('Please select shipping method.');
creditCardHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $storedCard = $this->getData(ProcessingMetadataInterface::BLOCK_PROPERTY_STORED_
}

if (wire.get('requiresShipping')) {
creditCardHandler.renderMessage('Please select shipping method.');
creditCardHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ use Magento\Framework\View\Element\Template;
}

if (wire.get('requiresShipping')) {
methodHandler.renderMessage('Please select shipping method.');
methodHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ use Magento\Framework\View\Element\Template;
return;
}
if (wire.get('requiresShipping')) {
methodHandler.renderMessage('Please select shipping method.');
methodHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ use Magento\Framework\View\Element\Template;
}

if (wire.get('requiresShipping')) {
googlePayHandler.renderMessage('Please select shipping method.');
googlePayHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ use Magento\Framework\View\Element\Template;
}

if (wire.get('requiresShipping')) {
paypalHandler.renderMessage('Please select shipping method.');
paypalHandler.renderMessage("<?= __('Please select shipping method.') ?>");
} else {
let rawResponse = wire.get('paymentResponse');
let paymentMethods = JSON.parse(rawResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ $billingAddress = $block->getQuoteBillingAddress();
}

renderMethodUnavailableMessage() {
this.renderMessage('We are sorry, this method is temporarily unavailable');
this.renderMessage("<?= __('We are sorry, this method is temporarily unavailable') ?>");
}

renderMessage(message) {
Expand Down

0 comments on commit 049143a

Please sign in to comment.