@dhis2/ui-forms 8.2.5 → 8.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,27 +41,29 @@ var _translations16 = _interopRequireDefault(require("./pt/translations.json"));
41
41
 
42
42
  var _translations17 = _interopRequireDefault(require("./pt_BR/translations.json"));
43
43
 
44
- var _translations18 = _interopRequireDefault(require("./ru/translations.json"));
44
+ var _translations18 = _interopRequireDefault(require("./ro/translations.json"));
45
45
 
46
- var _translations19 = _interopRequireDefault(require("./sv/translations.json"));
46
+ var _translations19 = _interopRequireDefault(require("./ru/translations.json"));
47
47
 
48
- var _translations20 = _interopRequireDefault(require("./tet/translations.json"));
48
+ var _translations20 = _interopRequireDefault(require("./sv/translations.json"));
49
49
 
50
- var _translations21 = _interopRequireDefault(require("./tg/translations.json"));
50
+ var _translations21 = _interopRequireDefault(require("./tet/translations.json"));
51
51
 
52
- var _translations22 = _interopRequireDefault(require("./uk/translations.json"));
52
+ var _translations22 = _interopRequireDefault(require("./tg/translations.json"));
53
53
 
54
- var _translations23 = _interopRequireDefault(require("./ur/translations.json"));
54
+ var _translations23 = _interopRequireDefault(require("./uk/translations.json"));
55
55
 
56
- var _translations24 = _interopRequireDefault(require("./uz/translations.json"));
56
+ var _translations24 = _interopRequireDefault(require("./ur/translations.json"));
57
57
 
58
- var _translations25 = _interopRequireDefault(require("./uz_Latn/translations.json"));
58
+ var _translations25 = _interopRequireDefault(require("./uz/translations.json"));
59
59
 
60
- var _translations26 = _interopRequireDefault(require("./vi/translations.json"));
60
+ var _translations26 = _interopRequireDefault(require("./uz_Latn/translations.json"));
61
61
 
62
- var _translations27 = _interopRequireDefault(require("./zh/translations.json"));
62
+ var _translations27 = _interopRequireDefault(require("./vi/translations.json"));
63
63
 
64
- var _translations28 = _interopRequireDefault(require("./zh_CN/translations.json"));
64
+ var _translations28 = _interopRequireDefault(require("./zh/translations.json"));
65
+
66
+ var _translations29 = _interopRequireDefault(require("./zh_CN/translations.json"));
65
67
 
66
68
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
67
69
 
@@ -109,27 +111,29 @@ _d2I18n.default.addResources('pt', namespace, _translations16.default);
109
111
 
110
112
  _d2I18n.default.addResources('pt_BR', namespace, _translations17.default);
111
113
 
112
- _d2I18n.default.addResources('ru', namespace, _translations18.default);
114
+ _d2I18n.default.addResources('ro', namespace, _translations18.default);
115
+
116
+ _d2I18n.default.addResources('ru', namespace, _translations19.default);
113
117
 
114
- _d2I18n.default.addResources('sv', namespace, _translations19.default);
118
+ _d2I18n.default.addResources('sv', namespace, _translations20.default);
115
119
 
116
- _d2I18n.default.addResources('tet', namespace, _translations20.default);
120
+ _d2I18n.default.addResources('tet', namespace, _translations21.default);
117
121
 
118
- _d2I18n.default.addResources('tg', namespace, _translations21.default);
122
+ _d2I18n.default.addResources('tg', namespace, _translations22.default);
119
123
 
120
- _d2I18n.default.addResources('uk', namespace, _translations22.default);
124
+ _d2I18n.default.addResources('uk', namespace, _translations23.default);
121
125
 
122
- _d2I18n.default.addResources('ur', namespace, _translations23.default);
126
+ _d2I18n.default.addResources('ur', namespace, _translations24.default);
123
127
 
124
- _d2I18n.default.addResources('uz', namespace, _translations24.default);
128
+ _d2I18n.default.addResources('uz', namespace, _translations25.default);
125
129
 
126
- _d2I18n.default.addResources('uz_Latn', namespace, _translations25.default);
130
+ _d2I18n.default.addResources('uz_Latn', namespace, _translations26.default);
127
131
 
128
- _d2I18n.default.addResources('vi', namespace, _translations26.default);
132
+ _d2I18n.default.addResources('vi', namespace, _translations27.default);
129
133
 
130
- _d2I18n.default.addResources('zh', namespace, _translations27.default);
134
+ _d2I18n.default.addResources('zh', namespace, _translations28.default);
131
135
 
132
- _d2I18n.default.addResources('zh_CN', namespace, _translations28.default);
136
+ _d2I18n.default.addResources('zh_CN', namespace, _translations29.default);
133
137
 
134
138
  var _default = _d2I18n.default;
135
139
  exports.default = _default;
@@ -0,0 +1,30 @@
1
+ {
2
+ "Upload file": "",
3
+ "Upload files": "",
4
+ "Remove": "",
5
+ "Please provide an alpha-numeric value": "",
6
+ "Please provide a boolean value": "",
7
+ "Please enter between {{lowerBound}} and {{upperBound}} characters": "",
8
+ "Please make sure the value of this input matches the value in \"{{otherField}}\".": "",
9
+ "Please enter a maximum of {{upperBound}} characters": "",
10
+ "Please enter a number with a maximum of {{upperBound}}": "",
11
+ "Please enter at least {{lowerBound}} characters": "",
12
+ "Please enter a number of at least {{lowerBound}}": "",
13
+ "Number cannot be less than {{lowerBound}} or more than {{upperBound}}": "",
14
+ "Please make sure the value of this input matches the pattern {{patternString}}.": "",
15
+ "Password should be a string": "",
16
+ "Password should be at least 8 characters long": "",
17
+ "Password should be no longer than 34 characters": "",
18
+ "Password should contain at least one lowercase letter": "",
19
+ "Password should contain at least one UPPERCASE letter": "",
20
+ "Password should contain at least one number": "",
21
+ "Password should have at least one special character": "",
22
+ "Please provide a username between 4 and 255 characters": "",
23
+ "Please provide a valid email address": "Introduceți o adresă de e-mail validă",
24
+ "Please provide a value": "",
25
+ "Please provide a round number without decimals": "",
26
+ "Please provide a valid international phone number.": "",
27
+ "Please provide a number": "",
28
+ "Please provide a string": "",
29
+ "Please provide a valid url": "Introduceți o adresă URL validă"
30
+ }
@@ -24,6 +24,7 @@ import prsTranslations from './prs/translations.json';
24
24
  import psTranslations from './ps/translations.json';
25
25
  import ptTranslations from './pt/translations.json';
26
26
  import pt_BRTranslations from './pt_BR/translations.json';
27
+ import roTranslations from './ro/translations.json';
27
28
  import ruTranslations from './ru/translations.json';
28
29
  import svTranslations from './sv/translations.json';
29
30
  import tetTranslations from './tet/translations.json';
@@ -53,6 +54,7 @@ i18n.addResources('prs', namespace, prsTranslations);
53
54
  i18n.addResources('ps', namespace, psTranslations);
54
55
  i18n.addResources('pt', namespace, ptTranslations);
55
56
  i18n.addResources('pt_BR', namespace, pt_BRTranslations);
57
+ i18n.addResources('ro', namespace, roTranslations);
56
58
  i18n.addResources('ru', namespace, ruTranslations);
57
59
  i18n.addResources('sv', namespace, svTranslations);
58
60
  i18n.addResources('tet', namespace, tetTranslations);
@@ -0,0 +1,30 @@
1
+ {
2
+ "Upload file": "",
3
+ "Upload files": "",
4
+ "Remove": "",
5
+ "Please provide an alpha-numeric value": "",
6
+ "Please provide a boolean value": "",
7
+ "Please enter between {{lowerBound}} and {{upperBound}} characters": "",
8
+ "Please make sure the value of this input matches the value in \"{{otherField}}\".": "",
9
+ "Please enter a maximum of {{upperBound}} characters": "",
10
+ "Please enter a number with a maximum of {{upperBound}}": "",
11
+ "Please enter at least {{lowerBound}} characters": "",
12
+ "Please enter a number of at least {{lowerBound}}": "",
13
+ "Number cannot be less than {{lowerBound}} or more than {{upperBound}}": "",
14
+ "Please make sure the value of this input matches the pattern {{patternString}}.": "",
15
+ "Password should be a string": "",
16
+ "Password should be at least 8 characters long": "",
17
+ "Password should be no longer than 34 characters": "",
18
+ "Password should contain at least one lowercase letter": "",
19
+ "Password should contain at least one UPPERCASE letter": "",
20
+ "Password should contain at least one number": "",
21
+ "Password should have at least one special character": "",
22
+ "Please provide a username between 4 and 255 characters": "",
23
+ "Please provide a valid email address": "Introduceți o adresă de e-mail validă",
24
+ "Please provide a value": "",
25
+ "Please provide a round number without decimals": "",
26
+ "Please provide a valid international phone number.": "",
27
+ "Please provide a number": "",
28
+ "Please provide a string": "",
29
+ "Please provide a valid url": "Introduceți o adresă URL validă"
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/ui-forms",
3
- "version": "8.2.5",
3
+ "version": "8.3.1",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "sideEffects": [
@@ -33,16 +33,16 @@
33
33
  "react-dom": "^16.8"
34
34
  },
35
35
  "dependencies": {
36
- "@dhis2/prop-types": "^3.0.0-beta.1",
37
- "@dhis2-ui/button": "8.2.5",
38
- "@dhis2-ui/checkbox": "8.2.5",
39
- "@dhis2-ui/field": "8.2.5",
40
- "@dhis2-ui/file-input": "8.2.5",
41
- "@dhis2-ui/input": "8.2.5",
42
- "@dhis2-ui/radio": "8.2.5",
43
- "@dhis2-ui/select": "8.2.5",
44
- "@dhis2-ui/switch": "8.2.5",
45
- "@dhis2-ui/text-area": "8.2.5",
36
+ "@dhis2/prop-types": "^3.1.2",
37
+ "@dhis2-ui/button": "8.3.1",
38
+ "@dhis2-ui/checkbox": "8.3.1",
39
+ "@dhis2-ui/field": "8.3.1",
40
+ "@dhis2-ui/file-input": "8.3.1",
41
+ "@dhis2-ui/input": "8.3.1",
42
+ "@dhis2-ui/radio": "8.3.1",
43
+ "@dhis2-ui/select": "8.3.1",
44
+ "@dhis2-ui/switch": "8.3.1",
45
+ "@dhis2-ui/text-area": "8.3.1",
46
46
  "classnames": "^2.3.1",
47
47
  "final-form": "^4.20.2",
48
48
  "prop-types": "^15.7.2",