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

84 translate issue #85

Open
wants to merge 2 commits into
base: develop
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
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