Merged in fix/LOY-105-correct-translation-for-signup-tc (pull request #2167)
fix(LOY-105): use existing translation for t&c text * fix(LOY-105): use existing translation for t&c text in signup Approved-by: Christian Andolf
This commit is contained in:
@@ -6,7 +6,7 @@ export function getErrorMessage(intl: IntlShape, errorCode?: string) {
|
|||||||
switch (errorCode) {
|
switch (errorCode) {
|
||||||
case signupErrors.TERMS_REQUIRED:
|
case signupErrors.TERMS_REQUIRED:
|
||||||
return intl.formatMessage({
|
return intl.formatMessage({
|
||||||
defaultMessage: "Terms & conditions must be accepted",
|
defaultMessage: "You must accept the terms and conditions",
|
||||||
})
|
})
|
||||||
default:
|
default:
|
||||||
console.warn("Error code not supported:", errorCode)
|
console.warn("Error code not supported:", errorCode)
|
||||||
|
|||||||
Reference in New Issue
Block a user