@bigbinary/neeto-commons-frontend 3.0.4 → 3.0.5

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-commons-frontend",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -30,7 +30,8 @@
30
30
  "utils.*",
31
31
  "constants.*",
32
32
  "configs",
33
- "cypress-configs"
33
+ "cypress-configs",
34
+ "src/translations"
34
35
  ],
35
36
  "lint-staged": {
36
37
  "**/*.{js,jsx,json,mjs}": [
@@ -0,0 +1,100 @@
1
+ {
2
+ "generic": {
3
+ "error": "Something went wrong. Please try again later."
4
+ },
5
+ "authentication": {
6
+ "notLoggedIn": "Could not authenticate, please login to continue!",
7
+ "couldNotAuth": "Could not authenticate with the provided {{parameter}}.",
8
+ "incorrectPassword": "Current password is incorrect. Please try again.",
9
+ "incorrectEmailPassword": "Incorrect email or password. Please try again."
10
+ },
11
+ "authorization": {
12
+ "unauthorized": "You are not authorized to perform this action."
13
+ },
14
+ "resource": {
15
+ "add_one": "{{entity}} has been added successfully.",
16
+ "add_other": "{{entity}} have been added successfully.",
17
+ "save": "{{entity}} has been saved successfully.",
18
+ "save_one": "{{entity}} has been saved successfully.",
19
+ "save_other": "{{entity}} have been saved successfully.",
20
+ "update": "{{entity}} has been updated successfully.",
21
+ "update_one": "{{entity}} has been updated successfully.",
22
+ "update_other": "{{entity}} have been updated successfully.",
23
+ "delete_one": "{{entity}} has been deleted successfully.",
24
+ "delete_other": "{{entity}} have been deleted successfully.",
25
+ "clone": "{{entity}} has been cloned successfully.",
26
+ "notFound": "{{entity}} does not exist.",
27
+ "remove_one": "{{entity}} has been removed successfully.",
28
+ "remove_other": "{{entity}} have been removed successfully.",
29
+ "sent": "{{entity}} sent successfully.",
30
+ "merged": "{{entity}} have been successfully merged.",
31
+ "disconnected": "{{entity}} has been successfully disconnected."
32
+ },
33
+ "otp": {
34
+ "sent": "OTP has been sent successfully.",
35
+ "invalid": "Invalid OTP",
36
+ "verified": "OTP has been verified successfully."
37
+ },
38
+ "upload": {
39
+ "error": "An error occurred while uploading the file"
40
+ },
41
+ "image": {
42
+ "profile": {
43
+ "removalFailed": "Failed to remove profile picture",
44
+ "removalSuccess": "Profile picture successfully removed"
45
+ },
46
+ "contentTypeInvalid": "Other than jpg, png, svg are not supported",
47
+ "sizeOutOfRange": "Should not be more than {{maxSize, number}} MB"
48
+ },
49
+ "userRole": {
50
+ "deactivateActiveAdmin": "You cannot deactivate active admin from the organization!"
51
+ },
52
+ "activeRecord": {
53
+ "error": {
54
+ "blankName": "Name can't be blank",
55
+ "blankDescription": "Description can't be blank",
56
+ "blankValue": "Value can't be blank",
57
+ "prefixType": "Prefix type {{value}} is not valid",
58
+ "minimumEntryLimit": "Minimum entry limit must be less than or equal to {{maximumEntryLimit, number}}",
59
+ "maximumEntryLimit": "Maximum entry limit must be greater than or equal to {{minimumEntryLimit, number}}"
60
+ }
61
+ },
62
+ "sessions": {
63
+ "expiry": "Your session has expired. Please login again."
64
+ },
65
+ "payment": {
66
+ "error": {
67
+ "incomplete": "Your payment could not be completed"
68
+ }
69
+ },
70
+ "invitations": {
71
+ "deleted_one": "Invitation has been deleted successfully",
72
+ "deleted_other": "{{count, number}} Invitations have been deleted successfully",
73
+ "sent_one": "Invitation has been sent successfully",
74
+ "sent_other": "{{count, number}} Invitations have been sent successfully",
75
+ "notFound": "{{email}} was not invited to test this website."
76
+ },
77
+ "github": {
78
+ "error": {
79
+ "webhookPermissionDenied": "Permission denied. Ensure you have permission to create webhooks for the repository.",
80
+ "primaryNonDeletable": "Primary Github account cannot be deleted."
81
+ }
82
+ },
83
+ "neetoCommons": {
84
+ "fallbackComponent": {
85
+ "somethingWentWrong": "Sorry, something went wrong.",
86
+ "description": "Please try <reloading>reloading</reloading> the page.<br> If the problem persists, <contactus>contact us</contactus>."
87
+ },
88
+ "toastr": {
89
+ "success": {
90
+ "copiedToClipboard": "Copied to clipboard!"
91
+ },
92
+ "error": {
93
+ "networkError": "No Internet Connection"
94
+ }
95
+ },
96
+ "notice": {
97
+ "errorOccurred": "Some error occurred."
98
+ }
99
+ }
100
+ }