Skip to content

Commit 8bd2dc1

Browse files
committed
Add the $t to translate the message
1 parent 2ae3d5e commit 8bd2dc1

File tree

1 file changed

+2
-3
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/view

1 file changed

+2
-3
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/shipping.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,10 @@ define(
245245
var shippingAddress,
246246
addressData,
247247
loginFormSelector = 'form[data-role=email-with-possible-login]',
248-
emailValidationResult = customer.isLoggedIn(),
249-
errortext = $t('Please specify a shipping method.');
248+
emailValidationResult = customer.isLoggedIn();
250249

251250
if (!quote.shippingMethod()) {
252-
this.errorValidationMessage(errortext);
251+
this.errorValidationMessage($t('Please specify a shipping method.'));
253252

254253
return false;
255254
}

0 commit comments

Comments
 (0)