generated from atls-lab/template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(payment-widget): translation and emotion
- Loading branch information
Showing
10 changed files
with
48 additions
and
29 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
import type { Locale } from './locale.interaces.js' | ||
|
||
export const EnLocale: Locale = { | ||
'payment_widget.pay': 'Pay', | ||
'payment_widget.order_price': 'Order amount', | ||
'payment_widget.email': 'E-mail', | ||
'payment_widget.error_required': 'Required field', | ||
'payment_widget.error_amount': 'The amount must be greater than zero', | ||
'payment_widget.error_email': 'Incorrect e-mail', | ||
'payment_widget.error_phone': 'Incorrect phone', | ||
} |
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,2 @@ | ||
export * from './en.locale.js' | ||
export * from './ru.locale.js' |
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,9 @@ | ||
export interface Locale { | ||
'payment_widget.pay': string | ||
'payment_widget.order_price': string | ||
'payment_widget.email': string | ||
'payment_widget.error_required': string | ||
'payment_widget.error_amount': string | ||
'payment_widget.error_email': string | ||
'payment_widget.error_phone': string | ||
} |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
import { Locale } from './locale.interaces.js' | ||
|
||
export const RuLocale: Locale = { | ||
'payment_widget.pay': 'Оплатить', | ||
'payment_widget.order_price': 'Сумма заказа', | ||
'payment_widget.email': 'E-mail', | ||
'payment_widget.error_required': 'Обязательное поле', | ||
'payment_widget.error_amount': 'Сумма должна быть больше нуля', | ||
'payment_widget.error_email': 'Некорректный e-mail', | ||
'payment_widget.error_phone': 'Некорректный номер', | ||
} |
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
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
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