Skip to content
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
28 changes: 14 additions & 14 deletions Model/System/Message/Kco/CheckoutConfig/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ public function getMessageInvalidTitle(array $stores)
$urlCustomer = $this->urlBuilder->getUrl('adminhtml/system_config/edit/section/customer');

$message = '<strong>';
$message .= __('Klarna Checkout title mandatory warning:');
$message .= __('Kustom Checkout title mandatory warning:');
$message .= '</strong><p>';
$message .= __(
'The title value from the Klarna Checkout and customer settings are incorrectly configured. ' .
'The title value from the Kustom Checkout and customer settings are incorrectly configured. ' .
'Either they should both be required or you can leave the setting as optional under customer ' .
'settings. However, if the setting is “required” under customer settings then it must be set to ' .
'“required” under Klarna Checkout as well.'
'“required” under Kustom Checkout as well.'
) . '</p><p>';
$message .= __('Store(s) affected: ');
$message .= implode(', ', $stores);
$message .= '</p><p>';
$message .= __(
'Click here to go to <a href="%1">Klarna Checkout Configuration</a> and ' .
'Click here to go to <a href="%1">Kustom Checkout Configuration</a> and ' .
'here to go to the <a href="%2">Customer Configuration</a> to change your settings.',
$urlKlarnaCheckout,
$urlCustomer
Expand All @@ -77,19 +77,19 @@ public function getMessageInvalidPhone(array $stores)
$urlCustomer = $this->urlBuilder->getUrl('adminhtml/system_config/edit/section/customer');

$message = '<strong>';
$message .= __('Klarna Checkout phone mandatory warning:');
$message .= __('Kustom Checkout phone mandatory warning:');
$message .= '</strong><p>';
$message .= __(
'The phone value from the Klarna Checkout and customer settings are incorrectly configured. ' .
'The phone value from the Kustom Checkout and customer settings are incorrectly configured. ' .
'Either they should both be required or you can leave the setting as optional under customer ' .
'settings. However, if the setting is “required” under customer settings then it must be set to ' .
'“required” under Klarna Checkout as well.'
'“required” under Kustom Checkout as well.'
) . '</p><p>';
$message .= __('Store(s) affected: ');
$message .= implode(', ', $stores);
$message .= '</p><p>';
$message .= __(
'Click here to go to <a href="%1">Klarna Checkout Configuration</a> and ' .
'Click here to go to <a href="%1">Kustom Checkout Configuration</a> and ' .
'here to go to the <a href="%2">Customer Configuration</a> to change your settings.',
$urlKlarnaCheckout,
$urlCustomer
Expand All @@ -111,19 +111,19 @@ public function getMessageInvalidDateOfBirth(array $stores)
$urlCustomer = $this->urlBuilder->getUrl('adminhtml/system_config/edit/section/customer');

$message = '<strong>';
$message .= __('Klarna Checkout date of birth mandatory warning:');
$message .= __('Kustom Checkout date of birth mandatory warning:');
$message .= '</strong><p>';
$message .= __(
'The date of birth value from the Klarna Checkout and customer settings are incorrectly configured. ' .
'The date of birth value from the Kustom Checkout and customer settings are incorrectly configured. ' .
'Either they should both be required or you can leave the setting as optional under customer ' .
'settings. However, if the setting is “required” under customer settings then it must be set to ' .
'“required” under Klarna Checkout as well.'
'“required” under Kustom Checkout as well.'
) . '</p><p>';
$message .= __('Store(s) affected: ');
$message .= implode(', ', $stores);
$message .= '</p><p>';
$message .= __(
'Click here to go to <a href="%1">Klarna Checkout Configuration</a> and ' .
'Click here to go to <a href="%1">Kustom Checkout Configuration</a> and ' .
'here to go to the <a href="%2">Customer Configuration</a> to change your settings.',
$urlKlarnaCheckout,
$urlCustomer
Expand All @@ -144,7 +144,7 @@ public function getMessageInvalidTermsUrl(array $stores): string
$urlKlarnaCheckout = $this->urlBuilder->getUrl('adminhtml/system_config/edit/section/checkout');

$message = '<strong>';
$message .= __('Klarna Checkout terms and conditions warning:');
$message .= __('Kustom Checkout terms and conditions warning:');
$message .= '</strong><p>';
$message .= __(
'No url for the terms and conditions is configured. ' .
Expand All @@ -154,7 +154,7 @@ public function getMessageInvalidTermsUrl(array $stores): string
$message .= implode(', ', $stores);
$message .= '</p><p>';
$message .= __(
'Click here to go to <a href="%1">Klarna Checkout Configuration</a> and ' .
'Click here to go to <a href="%1">Kustom Checkout Configuration</a> and ' .
'change your settings.',
$urlKlarnaCheckout
);
Expand Down
4 changes: 2 additions & 2 deletions Model/System/Message/Kco/DesignConfig/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function getMessageInvalidButtonColor(array $stores): string
private function getPrefixMessage(): string
{
$message = '<strong>';
$message .= __('Klarna Checkout design warning:');
$message .= __('Kustom Checkout design warning:');
$message .= '</strong><p>';

return $message;
Expand All @@ -155,7 +155,7 @@ private function getSuffixMessage(array $stores): string
$message .= implode(', ', $stores);
$message .= '</p><p>';
$message .= __(
'Click here to go to <a href="%1">Klarna Design Configuration</a> and ' .
'Click here to go to <a href="%1">Kustom Design Configuration</a> and ' .
'change your settings.',
$url
);
Expand Down
8 changes: 4 additions & 4 deletions Model/System/Message/Kco/TargetConfig/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function getMessageInvalidShippingCountries(array $stores): string
$urlPayments = $this->urlBuilder->getUrl('adminhtml/system_config/edit/section/payment');

$message = '<strong>';
$message .= __('Klarna Checkout shipping country configuration warning:');
$message .= __('Kustom Checkout shipping country configuration warning:');
$message .= '</strong><p>';
$message .= __(
'No shipping countries are enabled. ' .
Expand All @@ -52,7 +52,7 @@ public function getMessageInvalidShippingCountries(array $stores): string
$message .= implode(', ', $stores);
$message .= '</p><p>';
$message .= __(
'Click here to go to <a href="%1">Klarna Configuration</a> and change your settings.',
'Click here to go to <a href="%1">Kustom Configuration</a> and change your settings.',
$urlPayments
);
$message .= "</p>";
Expand All @@ -71,7 +71,7 @@ public function getMessageInvalidCustomerGroups(array $stores): string
$urlPayments = $this->urlBuilder->getUrl('adminhtml/system_config/edit/section/payment');

$message = '<strong>';
$message .= __('Klarna Checkout customer group configuration warning:');
$message .= __('Kustom Checkout customer group configuration warning:');
$message .= '</strong><p>';
$message .= __(
'All customer groups are disabled. ' .
Expand All @@ -81,7 +81,7 @@ public function getMessageInvalidCustomerGroups(array $stores): string
$message .= implode(', ', $stores);
$message .= '</p><p>';
$message .= __(
'Click here to go to <a href="%1">Klarna Configuration</a> and change your settings.',
'Click here to go to <a href="%1">Kustom Configuration</a> and change your settings.',
$urlPayments
);
$message .= "</p>";
Expand Down
Loading