-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AD-288 Implement Translation Support in Adyen Library for Spartacus S…
…torefront - change to translations kept in ts files
- Loading branch information
Showing
4 changed files
with
31 additions
and
32 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ssets/translations/en/adyen-checkout.json → .../assets/translations/en/adyen-checkout.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
projects/adyen-payments/src/lib/assets/translations/en/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
projects/adyen-payments/src/lib/assets/translations/en/payment-errors.json
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
projects/adyen-payments/src/lib/assets/translations/en/payment-errors.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export const paymentErrors = { | ||
"checkout": { | ||
"error": { | ||
"authorization": { | ||
"payment": { | ||
"refused": "The payment is REFUSED.", | ||
"detail": { | ||
"not": { | ||
"found": "The payment is REFUSED because the saved card is removed. Please try an other payment method." | ||
} | ||
} | ||
}, | ||
"restricted": { | ||
"card": "The card is restricted." | ||
}, | ||
"cvc": { | ||
"declined": "The payment is REFUSED. Please check your Card details." | ||
}, | ||
"transaction": { | ||
"not": { | ||
"permitted": "The transaction is not permitted." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |