@dhis2/analytics 4.5.39 → 4.5.43
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## [4.5.43](https://github.com/dhis2/analytics/compare/v4.5.42...v4.5.43) (2022-02-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **translations:** sync translations from transifex (4.x) ([28e5bed](https://github.com/dhis2/analytics/commit/28e5bed00a3c8deec69c9ed33879061c60e5b8f2))
|
|
7
|
+
|
|
8
|
+
## [4.5.42](https://github.com/dhis2/analytics/compare/v4.5.41...v4.5.42) (2022-01-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* fix hide empty categories with non-available data DHIS2-8174 ([#1122](https://github.com/dhis2/analytics/issues/1122)) ([6728f1e](https://github.com/dhis2/analytics/commit/6728f1e159eace4a1b6c18dbf3df7a223655eae8))
|
|
14
|
+
|
|
15
|
+
## [4.5.41](https://github.com/dhis2/analytics/compare/v4.5.40...v4.5.41) (2021-11-25)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **translations:** sync translations from transifex (4.x) ([6d351bf](https://github.com/dhis2/analytics/commit/6d351bfabad72dc24e48149515abe680e48a0ff9))
|
|
21
|
+
|
|
22
|
+
## [4.5.40](https://github.com/dhis2/analytics/compare/v4.5.39...v4.5.40) (2021-10-07)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **translations:** sync translations from transifex (4.x) ([d128c70](https://github.com/dhis2/analytics/commit/d128c70e0e0ae71bb0c4881d9a0adcfb54e72523))
|
|
28
|
+
|
|
1
29
|
## [4.5.39](https://github.com/dhis2/analytics/compare/v4.5.38...v4.5.39) (2021-09-15)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"Bi-Week {{biWeekNumber}}": "",
|
|
44
44
|
"Daily": "Diario",
|
|
45
45
|
"Weekly": "Semanal",
|
|
46
|
-
"Bi-weekly": "",
|
|
46
|
+
"Bi-weekly": "Quincenal",
|
|
47
47
|
"Weekly (Start Wednesday)": "",
|
|
48
48
|
"Weekly (Start Thursday)": "",
|
|
49
49
|
"Weekly (Start Saturday)": "",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"Last 12 weeks": "Últimas 12 semanas",
|
|
70
70
|
"Last 52 weeks": "Últimas 52 semanas",
|
|
71
71
|
"Weeks this year": "Semanas de este año",
|
|
72
|
-
"This bi-week": "",
|
|
73
|
-
"Last bi-week": "",
|
|
74
|
-
"Last 4 bi-weeks": "",
|
|
72
|
+
"This bi-week": "Esta quincena",
|
|
73
|
+
"Last bi-week": "Última quincena",
|
|
74
|
+
"Last 4 bi-weeks": "Últimas 4 quincenas",
|
|
75
75
|
"This month": "Este mes",
|
|
76
76
|
"Last month": "Mes anterior",
|
|
77
77
|
"Last 3 months": "Últimos 3 meses",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"This bi-month": "Este bimestre",
|
|
82
82
|
"Last bi-month": "Bimestre anterior",
|
|
83
83
|
"Last 6 bi-months": "Últimos 6 bimestres",
|
|
84
|
-
"Bi-months this year": "",
|
|
84
|
+
"Bi-months this year": "Bimestres de este año",
|
|
85
85
|
"This quarter": "Este trimestre",
|
|
86
86
|
"Last quarter": "El trimestre pasado",
|
|
87
87
|
"Last 4 quarters": "Últimos 4 trimestres",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"Last 5 years": "Últimos 5 años",
|
|
98
98
|
"Days": "Días",
|
|
99
99
|
"Weeks": "Semanas",
|
|
100
|
-
"Bi-weeks": "",
|
|
100
|
+
"Bi-weeks": "Quincenales",
|
|
101
101
|
"Months": "Meses",
|
|
102
102
|
"Bi-months": "Bimestres",
|
|
103
103
|
"Quarters": "Trimestral",
|
package/build/locales/index.js
CHANGED
|
@@ -37,37 +37,39 @@ var _translations13 = _interopRequireDefault(require("./my/translations.json"));
|
|
|
37
37
|
|
|
38
38
|
var _translations14 = _interopRequireDefault(require("./nb/translations.json"));
|
|
39
39
|
|
|
40
|
-
var _translations15 = _interopRequireDefault(require("./
|
|
40
|
+
var _translations15 = _interopRequireDefault(require("./nl/translations.json"));
|
|
41
41
|
|
|
42
|
-
var _translations16 = _interopRequireDefault(require("./
|
|
42
|
+
var _translations16 = _interopRequireDefault(require("./prs/translations.json"));
|
|
43
43
|
|
|
44
|
-
var _translations17 = _interopRequireDefault(require("./
|
|
44
|
+
var _translations17 = _interopRequireDefault(require("./ps/translations.json"));
|
|
45
45
|
|
|
46
|
-
var _translations18 = _interopRequireDefault(require("./
|
|
46
|
+
var _translations18 = _interopRequireDefault(require("./pt/translations.json"));
|
|
47
47
|
|
|
48
|
-
var _translations19 = _interopRequireDefault(require("./
|
|
48
|
+
var _translations19 = _interopRequireDefault(require("./pt_BR/translations.json"));
|
|
49
49
|
|
|
50
|
-
var _translations20 = _interopRequireDefault(require("./
|
|
50
|
+
var _translations20 = _interopRequireDefault(require("./ru/translations.json"));
|
|
51
51
|
|
|
52
|
-
var _translations21 = _interopRequireDefault(require("./
|
|
52
|
+
var _translations21 = _interopRequireDefault(require("./sv/translations.json"));
|
|
53
53
|
|
|
54
|
-
var _translations22 = _interopRequireDefault(require("./
|
|
54
|
+
var _translations22 = _interopRequireDefault(require("./tet/translations.json"));
|
|
55
55
|
|
|
56
|
-
var _translations23 = _interopRequireDefault(require("./
|
|
56
|
+
var _translations23 = _interopRequireDefault(require("./tg/translations.json"));
|
|
57
57
|
|
|
58
|
-
var _translations24 = _interopRequireDefault(require("./
|
|
58
|
+
var _translations24 = _interopRequireDefault(require("./uk/translations.json"));
|
|
59
59
|
|
|
60
|
-
var _translations25 = _interopRequireDefault(require("./
|
|
60
|
+
var _translations25 = _interopRequireDefault(require("./ur/translations.json"));
|
|
61
61
|
|
|
62
|
-
var _translations26 = _interopRequireDefault(require("./
|
|
62
|
+
var _translations26 = _interopRequireDefault(require("./uz/translations.json"));
|
|
63
63
|
|
|
64
|
-
var _translations27 = _interopRequireDefault(require("./
|
|
64
|
+
var _translations27 = _interopRequireDefault(require("./uz_Cyrl/translations.json"));
|
|
65
65
|
|
|
66
|
-
var _translations28 = _interopRequireDefault(require("./
|
|
66
|
+
var _translations28 = _interopRequireDefault(require("./uz_Latn/translations.json"));
|
|
67
67
|
|
|
68
|
-
var _translations29 = _interopRequireDefault(require("./
|
|
68
|
+
var _translations29 = _interopRequireDefault(require("./vi/translations.json"));
|
|
69
69
|
|
|
70
|
-
var _translations30 = _interopRequireDefault(require("./
|
|
70
|
+
var _translations30 = _interopRequireDefault(require("./zh/translations.json"));
|
|
71
|
+
|
|
72
|
+
var _translations31 = _interopRequireDefault(require("./zh_CN/translations.json"));
|
|
71
73
|
|
|
72
74
|
//------------------------------------------------------------------------------
|
|
73
75
|
// <auto-generated>
|
|
@@ -107,37 +109,39 @@ _d2I18n.default.addResources('my', namespace, _translations13.default);
|
|
|
107
109
|
|
|
108
110
|
_d2I18n.default.addResources('nb', namespace, _translations14.default);
|
|
109
111
|
|
|
110
|
-
_d2I18n.default.addResources('
|
|
112
|
+
_d2I18n.default.addResources('nl', namespace, _translations15.default);
|
|
113
|
+
|
|
114
|
+
_d2I18n.default.addResources('prs', namespace, _translations16.default);
|
|
111
115
|
|
|
112
|
-
_d2I18n.default.addResources('ps', namespace,
|
|
116
|
+
_d2I18n.default.addResources('ps', namespace, _translations17.default);
|
|
113
117
|
|
|
114
|
-
_d2I18n.default.addResources('pt', namespace,
|
|
118
|
+
_d2I18n.default.addResources('pt', namespace, _translations18.default);
|
|
115
119
|
|
|
116
|
-
_d2I18n.default.addResources('pt_BR', namespace,
|
|
120
|
+
_d2I18n.default.addResources('pt_BR', namespace, _translations19.default);
|
|
117
121
|
|
|
118
|
-
_d2I18n.default.addResources('ru', namespace,
|
|
122
|
+
_d2I18n.default.addResources('ru', namespace, _translations20.default);
|
|
119
123
|
|
|
120
|
-
_d2I18n.default.addResources('sv', namespace,
|
|
124
|
+
_d2I18n.default.addResources('sv', namespace, _translations21.default);
|
|
121
125
|
|
|
122
|
-
_d2I18n.default.addResources('tet', namespace,
|
|
126
|
+
_d2I18n.default.addResources('tet', namespace, _translations22.default);
|
|
123
127
|
|
|
124
|
-
_d2I18n.default.addResources('tg', namespace,
|
|
128
|
+
_d2I18n.default.addResources('tg', namespace, _translations23.default);
|
|
125
129
|
|
|
126
|
-
_d2I18n.default.addResources('uk', namespace,
|
|
130
|
+
_d2I18n.default.addResources('uk', namespace, _translations24.default);
|
|
127
131
|
|
|
128
|
-
_d2I18n.default.addResources('ur', namespace,
|
|
132
|
+
_d2I18n.default.addResources('ur', namespace, _translations25.default);
|
|
129
133
|
|
|
130
|
-
_d2I18n.default.addResources('uz', namespace,
|
|
134
|
+
_d2I18n.default.addResources('uz', namespace, _translations26.default);
|
|
131
135
|
|
|
132
|
-
_d2I18n.default.addResources('uz_Cyrl', namespace,
|
|
136
|
+
_d2I18n.default.addResources('uz_Cyrl', namespace, _translations27.default);
|
|
133
137
|
|
|
134
|
-
_d2I18n.default.addResources('uz_Latn', namespace,
|
|
138
|
+
_d2I18n.default.addResources('uz_Latn', namespace, _translations28.default);
|
|
135
139
|
|
|
136
|
-
_d2I18n.default.addResources('vi', namespace,
|
|
140
|
+
_d2I18n.default.addResources('vi', namespace, _translations29.default);
|
|
137
141
|
|
|
138
|
-
_d2I18n.default.addResources('zh', namespace,
|
|
142
|
+
_d2I18n.default.addResources('zh', namespace, _translations30.default);
|
|
139
143
|
|
|
140
|
-
_d2I18n.default.addResources('zh_CN', namespace,
|
|
144
|
+
_d2I18n.default.addResources('zh_CN', namespace, _translations31.default);
|
|
141
145
|
|
|
142
146
|
var _default = _d2I18n.default;
|
|
143
147
|
exports.default = _default;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Data": "",
|
|
3
|
+
"Data Type": "",
|
|
4
|
+
"Totals": "",
|
|
5
|
+
"Details": "",
|
|
6
|
+
"Detail": "",
|
|
7
|
+
"Move to {{axisName}}": "",
|
|
8
|
+
"Add to {{axisName}}": "",
|
|
9
|
+
"Remove": "",
|
|
10
|
+
"Not available for {{visualizationType}}": "",
|
|
11
|
+
"Requires 2 or more data items": "",
|
|
12
|
+
"Only available when data is in Series": "",
|
|
13
|
+
"Remove Assigned Categories": "",
|
|
14
|
+
"Add Assigned Categories": "",
|
|
15
|
+
"Manage chart axes": "",
|
|
16
|
+
"Filter dimensions": "",
|
|
17
|
+
"Main dimensions": "",
|
|
18
|
+
"Your dimensions": "",
|
|
19
|
+
"Dimension recommended with selected data": "",
|
|
20
|
+
"Search": "",
|
|
21
|
+
"Selected Data": "",
|
|
22
|
+
"Deselect All": "",
|
|
23
|
+
"Select all": "",
|
|
24
|
+
"Organisation units": "",
|
|
25
|
+
"Period": "Periode",
|
|
26
|
+
"Year": "",
|
|
27
|
+
"Relative periods": "",
|
|
28
|
+
"Fixed periods": "",
|
|
29
|
+
"Period type": "",
|
|
30
|
+
"January": "",
|
|
31
|
+
"February": "",
|
|
32
|
+
"March": "",
|
|
33
|
+
"April": "",
|
|
34
|
+
"May": "",
|
|
35
|
+
"June": "",
|
|
36
|
+
"July": "",
|
|
37
|
+
"August": "",
|
|
38
|
+
"September": "",
|
|
39
|
+
"October": "",
|
|
40
|
+
"November": "",
|
|
41
|
+
"December": "",
|
|
42
|
+
"Week {{weekNumber}}": "",
|
|
43
|
+
"Bi-Week {{biWeekNumber}}": "",
|
|
44
|
+
"Daily": "",
|
|
45
|
+
"Weekly": "",
|
|
46
|
+
"Bi-weekly": "",
|
|
47
|
+
"Weekly (Start Wednesday)": "",
|
|
48
|
+
"Weekly (Start Thursday)": "",
|
|
49
|
+
"Weekly (Start Saturday)": "",
|
|
50
|
+
"Weekly (Start Sunday)": "",
|
|
51
|
+
"Monthly": "",
|
|
52
|
+
"Bi-monthly": "",
|
|
53
|
+
"Quarterly": "",
|
|
54
|
+
"Six-monthly": "",
|
|
55
|
+
"Six-monthly April": "",
|
|
56
|
+
"Yearly": "",
|
|
57
|
+
"Financial year (Start November)": "",
|
|
58
|
+
"Financial year (Start October)": "",
|
|
59
|
+
"Financial year (Start July)": "",
|
|
60
|
+
"Financial year (Start April)": "",
|
|
61
|
+
"Today": "",
|
|
62
|
+
"Yesterday": "",
|
|
63
|
+
"Last 3 days": "",
|
|
64
|
+
"Last 7 days": "",
|
|
65
|
+
"Last 14 days": "",
|
|
66
|
+
"This week": "",
|
|
67
|
+
"Last week": "",
|
|
68
|
+
"Last 4 weeks": "",
|
|
69
|
+
"Last 12 weeks": "",
|
|
70
|
+
"Last 52 weeks": "",
|
|
71
|
+
"Weeks this year": "",
|
|
72
|
+
"This bi-week": "",
|
|
73
|
+
"Last bi-week": "",
|
|
74
|
+
"Last 4 bi-weeks": "",
|
|
75
|
+
"This month": "",
|
|
76
|
+
"Last month": "",
|
|
77
|
+
"Last 3 months": "",
|
|
78
|
+
"Last 6 months": "",
|
|
79
|
+
"Last 12 months": "",
|
|
80
|
+
"Months this year": "",
|
|
81
|
+
"This bi-month": "",
|
|
82
|
+
"Last bi-month": "",
|
|
83
|
+
"Last 6 bi-months": "",
|
|
84
|
+
"Bi-months this year": "",
|
|
85
|
+
"This quarter": "",
|
|
86
|
+
"Last quarter": "",
|
|
87
|
+
"Last 4 quarters": "",
|
|
88
|
+
"Quarters this year": "",
|
|
89
|
+
"This six-month": "",
|
|
90
|
+
"Last six-month": "",
|
|
91
|
+
"Last 2 six-month": "",
|
|
92
|
+
"This financial year": "",
|
|
93
|
+
"Last financial year": "",
|
|
94
|
+
"Last 5 financial years": "",
|
|
95
|
+
"This year": "",
|
|
96
|
+
"Last year": "",
|
|
97
|
+
"Last 5 years": "",
|
|
98
|
+
"Days": "",
|
|
99
|
+
"Weeks": "",
|
|
100
|
+
"Bi-weeks": "",
|
|
101
|
+
"Months": "",
|
|
102
|
+
"Bi-months": "",
|
|
103
|
+
"Quarters": "",
|
|
104
|
+
"Six-months": "",
|
|
105
|
+
"Financial Years": "",
|
|
106
|
+
"Years": "",
|
|
107
|
+
"Series": "",
|
|
108
|
+
"Category": "",
|
|
109
|
+
"Filter": "",
|
|
110
|
+
"Columns": "",
|
|
111
|
+
"Rows": "",
|
|
112
|
+
"Reporting rate": "",
|
|
113
|
+
"Reporting rate on time": "",
|
|
114
|
+
"Actual reports": "",
|
|
115
|
+
"Actual reports on time": "",
|
|
116
|
+
"Expected reports": "",
|
|
117
|
+
"Program": "",
|
|
118
|
+
"Indicators": "",
|
|
119
|
+
"Select indicator group": "",
|
|
120
|
+
"[ All groups ]": "",
|
|
121
|
+
"Data elements": "Gegevenselementen",
|
|
122
|
+
"Select data element group": "",
|
|
123
|
+
"[ All data elements ]": "",
|
|
124
|
+
"Data sets": "",
|
|
125
|
+
"Select data sets": "",
|
|
126
|
+
"[ All metrics ]": "",
|
|
127
|
+
"Event data items": "",
|
|
128
|
+
"Select a program": "",
|
|
129
|
+
"Program indicators": "",
|
|
130
|
+
"{{dynamicOuNames}} and {{lastOuName}}": "",
|
|
131
|
+
"{{allDynamicOuNames}} levels": "",
|
|
132
|
+
"{{allDynamicOuNames}} groups": "",
|
|
133
|
+
"{{allDynamicOuNames}} levels in {{staticOuNames}}": "",
|
|
134
|
+
"{{allDynamicOuNames}} groups in {{staticOuNames}}": "",
|
|
135
|
+
"Organisation Unit": "",
|
|
136
|
+
"Assigned Categories": "",
|
|
137
|
+
"Column": "",
|
|
138
|
+
"Stacked column": "",
|
|
139
|
+
"Bar": "",
|
|
140
|
+
"Stacked bar": "",
|
|
141
|
+
"Line": "",
|
|
142
|
+
"Area": "",
|
|
143
|
+
"Pie": "",
|
|
144
|
+
"Radar": "",
|
|
145
|
+
"Gauge": "",
|
|
146
|
+
"Year over year (line)": "",
|
|
147
|
+
"Year over year (column)": "",
|
|
148
|
+
"Single value": "",
|
|
149
|
+
"Pivot table": "",
|
|
150
|
+
"Target": "",
|
|
151
|
+
"Base": "",
|
|
152
|
+
"No data": ""
|
|
153
|
+
}
|
|
@@ -32,8 +32,11 @@ function getEmptySeriesIndexes(series) {
|
|
|
32
32
|
var seriesValues;
|
|
33
33
|
series[0].data.forEach(function (value, index) {
|
|
34
34
|
seriesValues = [];
|
|
35
|
-
series.forEach(function (
|
|
36
|
-
|
|
35
|
+
series.forEach(function (_ref) {
|
|
36
|
+
var data = _ref.data;
|
|
37
|
+
// handle undefined values due to empty (or shorter) serie data
|
|
38
|
+
// preserve 0 as valid value
|
|
39
|
+
seriesValues.push(data[index] === undefined ? null : data[index]);
|
|
37
40
|
});
|
|
38
41
|
|
|
39
42
|
if (arrayNullsOnly(seriesValues)) {
|