@bigbinary/neeto-payments-frontend 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-payments-frontend",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "To manage payments across the neeto products.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-payments-frontend#readme",
@@ -11,7 +11,8 @@
11
11
  "author": "BigBinary",
12
12
  "files": [
13
13
  "dist",
14
- "types.d.ts"
14
+ "types.d.ts",
15
+ "src/translations"
15
16
  ],
16
17
  "main": "dist/index.cjs.js",
17
18
  "module": "dist/index.js",
@@ -40,7 +41,7 @@
40
41
  "@bigbinary/babel-preset-neeto": "1.0.3",
41
42
  "@bigbinary/eslint-plugin-neeto": "1.1.9",
42
43
  "@bigbinary/neeto-audit-frontend": "1.0.7",
43
- "@bigbinary/neeto-commons-frontend": "2.0.115",
44
+ "@bigbinary/neeto-commons-frontend": "2.1.28",
44
45
  "@bigbinary/neeto-editor": "1.25.0",
45
46
  "@bigbinary/neeto-filters-frontend": "2.12.7",
46
47
  "@bigbinary/neeto-icons": "1.14.0",
@@ -132,12 +133,14 @@
132
133
  "axios": "^0.27.2",
133
134
  "classnames": "^2.3.2",
134
135
  "formik": "^2.2.9",
136
+ "i18next": "22.4.11",
135
137
  "js-logger": "^1.6.1",
136
138
  "mixpanel-browser": "^2.45.0",
137
139
  "ramda": "^0.29.0",
138
140
  "react": "17.0.2",
139
141
  "react-dom": "17.0.2",
140
142
  "react-helmet": "^6.1.0",
143
+ "react-i18next": "12.2.0",
141
144
  "react-query": "3.39.2",
142
145
  "react-router-dom": "5.3.0",
143
146
  "react-toastify": "8.2.0",
@@ -0,0 +1,191 @@
1
+ {
2
+ "neetoPayments": {
3
+ "common": {
4
+ "payments": "Payments",
5
+ "id": "ID",
6
+ "identifier": "Identifier",
7
+ "amount": "Amount",
8
+ "status": "Status",
9
+ "paymentTime": "Payment time",
10
+ "all": "All",
11
+ "pending": "Pending",
12
+ "successful": "Successful",
13
+ "declined": "Declined",
14
+ "refunded": "Refunded",
15
+ "cancelled": "Cancelled",
16
+ "kind": "Kind",
17
+ "refundAmount": "Refund amount",
18
+ "refundTime": "Refund time",
19
+ "splits": "Splits",
20
+ "platformTransaction": "Platform transaction",
21
+ "connectedTransaction": "Connected transaction",
22
+ "transferTime": "Transfer time",
23
+ "paymentIdentifier": "Payment identifier",
24
+ "notAvailable": "-",
25
+ "rejected": "Rejected",
26
+ "squarePayments": "Square Payments",
27
+ "completed": "Completed",
28
+ "failed": "Failed",
29
+ "accountIdentifier": "Destination Account Identifier",
30
+ "download": "Download",
31
+ "export": "Export",
32
+ "cancel": "Cancel",
33
+ "paymentAmount": "Payment amount"
34
+ },
35
+ "alert": {
36
+ "stripe": {
37
+ "connectRestrictionTitle": "Already connected to Stripe split payment",
38
+ "connectRestrictionMessage": "You have already integrated Stripe split payment. Please disconnect from Stripe split payment to connect with Stripe standard payment"
39
+ },
40
+ "stripePlatform": {
41
+ "connectRestrictionTitle": "Already connected to Stripe standard payment",
42
+ "connectRestrictionMessage": "You have already integrated Stripe standard payment. Please disconnect from Stripe standard payment to connect with Stripe split payment"
43
+ }
44
+ },
45
+ "title": {
46
+ "connected": "Payments",
47
+ "platform": "Platform payments",
48
+ "split": "Split payments",
49
+ "transfer": "Transfer payments",
50
+ "refund": "Refunds",
51
+ "squarePayment": "Square payments",
52
+ "squareRefund": "Square refunds"
53
+ },
54
+ "emptyState": {
55
+ "payment": "There are no payments to show.",
56
+ "refund": "There are no refunds to show."
57
+ },
58
+ "tagLabels": {
59
+ "refund": {
60
+ "full": "refunded",
61
+ "partial": "partially refunded",
62
+ "successful": "successfully refunded",
63
+ "pending": "refund pending",
64
+ "requires_action": "requires action",
65
+ "failed": "refund failed",
66
+ "canceled": "refund canceled",
67
+ "initiated": "refund initiated",
68
+ "completed": "refund completed",
69
+ "rejected": "refund rejected"
70
+ },
71
+ "title": {
72
+ "connected": "Payments",
73
+ "platform": "Platform payments",
74
+ "split": "Split payments",
75
+ "transfer": "Transfer payments",
76
+ "refund": "Refunds",
77
+ "squarePayment": "Square payments",
78
+ "squareRefund": "Square refunds"
79
+ },
80
+ "emptyState": {
81
+ "payment": "There are no payments to show.",
82
+ "refund": "There are no refunds to show."
83
+ },
84
+ "tagLabels": {
85
+ "refund": {
86
+ "full": "refunded",
87
+ "partial": "partially refunded",
88
+ "successful": "successfully refunded",
89
+ "pending": "refund pending",
90
+ "requires_action": "requires action",
91
+ "failed": "refund failed",
92
+ "canceled": "refund canceled",
93
+ "initiated": "refund initiated",
94
+ "completed": "refund completed",
95
+ "rejected": "refund rejected"
96
+ },
97
+ "transaction": {
98
+ "connected": "standard",
99
+ "transfer": "split",
100
+ "declined": "declined",
101
+ "successful": "successful",
102
+ "refunded": "refunded",
103
+ "pending": "pending",
104
+ "initiated": "initiated"
105
+ },
106
+ "payment": {
107
+ "completed": "completed",
108
+ "failed": "failed"
109
+ },
110
+ "split": {
111
+ "successful": "successful",
112
+ "pending": "pending",
113
+ "cancelled": "cancelled",
114
+ "initiated": "initiated"
115
+ }
116
+ },
117
+ "tooltipContent": {
118
+ "identifierUnavailable": "Identifier will be available once splitting is completed successfully",
119
+ "dateUnavailable": "Payment time will be shown once splitting is completed successfully",
120
+ "connectedTransactionUnavailable": "Connected transaction is available once splitting is completed successfully",
121
+ "transaction": {
122
+ "successful": "The payment is complete",
123
+ "declined": "This payment failed because the issuing bank declined it",
124
+ "initiated": "The customer has not entered their payment method.",
125
+ "pending": "Transaction has been authorized, but the funds have not been captured yet",
126
+ "refunded": "Transaction has been refunded"
127
+ },
128
+ "refund": {
129
+ "successful": "The refund has been successfully processed",
130
+ "pending": "Refund request has been initiated but is still being processed by the payment provider",
131
+ "failed": "The refund process has failed",
132
+ "requires_action": "The process requires further action from the customer to complete",
133
+ "canceled": "The refund process has been canceled",
134
+ "initiated": "The refund request hasn't yet been submitted to the bank for processing",
135
+ "completed": "The refund has been successfully processed",
136
+ "rejected": "The refund request has been rejected by the bank"
137
+ },
138
+ "split": {
139
+ "successful": "Successful split",
140
+ "pending": "Pending split",
141
+ "cancelled": "The split transaction is cancelled"
142
+ },
143
+ "payment": {
144
+ "completed": "The payment is complete",
145
+ "failed": "The payment process has failed"
146
+ }
147
+ },
148
+ "transactionPane": {
149
+ "transactionId": "Transaction ID:",
150
+ "amount": "Amount:",
151
+ "status": "Status:",
152
+ "netAmount": "Net amount:",
153
+ "paidOn": "Paid on:"
154
+ },
155
+ "countOf": {
156
+ "platform": "{{count}} platform payment",
157
+ "platform_other": "{{count}} platform payments",
158
+ "split": "{{count}} transfer",
159
+ "split_other": "{{count}} transfers",
160
+ "transfer": "{{count}} transaction",
161
+ "transfer_other": "{{count}} transactions",
162
+ "connected": "{{count}} transaction",
163
+ "connected_other": "{{count}} transactions",
164
+ "refund": "{{count}} refund",
165
+ "refund_other": "{{count}} refunds",
166
+ "squarePayment": "{{count}} payment",
167
+ "squarePayment_other": "{{count}} payments",
168
+ "squareRefund": "{{count}} refund",
169
+ "squareRefund_other": "{{count}} refunds"
170
+ },
171
+ "export": {
172
+ "title": {
173
+ "refund": "Export refunds",
174
+ "split": "Export split payments",
175
+ "platform": "Export platform payments",
176
+ "connected": "Export payments",
177
+ "transfer": "Export payments"
178
+ },
179
+ "pleaseWait": "Export request received. Please wait while we generate your report.",
180
+ "fileReady": "The file is ready to be downloaded",
181
+ "download": {
182
+ "refund": "Download a single CSV file containing the refunds.",
183
+ "platform": "Download a single CSV file containing the platform payments.",
184
+ "connected": "Download a single CSV file containing the payments.",
185
+ "transfer": "Download a single CSV file containing the payments",
186
+ "split": "Download a single CSV file containing the split payments."
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
@@ -0,0 +1,3 @@
1
+ import en from "./en.json";
2
+
3
+ export { en };