Commit 97c256f8 authored by Vincent Mrose's avatar Vincent Mrose 💬
Browse files

Defaulting to the original error message if we don't have a translation


Signed-off-by: Vincent Mrose's avatarVincent Mrose <v.mrose@crefopay.de>
parent d793440d
......@@ -63,11 +63,11 @@ define([
case 'error.paymentInstrument.number.field.invalid':
message = $.mage.__('error.paymentInstrument.number.field.invalid');
break;
case 'error.cvv.field.invalid':
case 'error.paymentInstrument.cvv.field.invalid':
message = $.mage.__('error.cvv.field.invalid');
break;
default:
message = '';
message = errorElement.message;
}
return message;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment