@dhis2/analytics 24.3.2 → 24.3.4

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,17 @@
1
+ ## [24.3.4](https://github.com/dhis2/analytics/compare/v24.3.3...v24.3.4) (2022-11-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **translations:** sync translations from transifex (master) ([f09cc94](https://github.com/dhis2/analytics/commit/f09cc94f6e04ce04ac0192de402da42960c13af5))
7
+
8
+ ## [24.3.3](https://github.com/dhis2/analytics/compare/v24.3.2...v24.3.3) (2022-11-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * require onSaveAs function to enable save as in file menu (DHIS2-14087) ([#1372](https://github.com/dhis2/analytics/issues/1372)) ([11c9dca](https://github.com/dhis2/analytics/commit/11c9dca19d8e605cec7f9fa40268e2d324506a93))
14
+
1
15
  ## [24.3.2](https://github.com/dhis2/analytics/compare/v24.3.1...v24.3.2) (2022-11-01)
2
16
 
3
17
 
@@ -132,7 +132,7 @@ const FileMenu = _ref => {
132
132
  return /*#__PURE__*/_react.default.createElement(_SaveAsDialog.SaveAsDialog, {
133
133
  type: fileType,
134
134
  object: fileObject,
135
- onSaveAs: onSaveAs,
135
+ onSaveAs: onSaveAs || Function.prototype,
136
136
  onClose: onDialogClose
137
137
  });
138
138
 
@@ -208,9 +208,9 @@ const FileMenu = _ref => {
208
208
  }), /*#__PURE__*/_react.default.createElement(_ui.MenuItem, {
209
209
  label: _index.default.t('Save as…'),
210
210
  icon: /*#__PURE__*/_react.default.createElement(_ui.IconSave24, {
211
- color: fileObject !== null && fileObject !== void 0 && fileObject.id ? iconActiveColor : iconInactiveColor
211
+ color: !(onSaveAs && fileObject !== null && fileObject !== void 0 && fileObject.id) ? iconInactiveColor : iconActiveColor
212
212
  }),
213
- disabled: !(fileObject !== null && fileObject !== void 0 && fileObject.id),
213
+ disabled: !(onSaveAs && fileObject !== null && fileObject !== void 0 && fileObject.id),
214
214
  onClick: onMenuItemClick('saveas'),
215
215
  dataTest: "file-menu-saveas"
216
216
  }), /*#__PURE__*/_react.default.createElement(_ui.MenuItem, {
@@ -264,7 +264,6 @@ FileMenu.defaultProps = {
264
264
  onNew: Function.prototype,
265
265
  onOpen: Function.prototype,
266
266
  onRename: Function.prototype,
267
- onSaveAs: Function.prototype,
268
267
  onShare: Function.prototype,
269
268
  onTranslate: Function.prototype
270
269
  };
@@ -0,0 +1,368 @@
1
+ {
2
+ "view only": "",
3
+ "view and edit": "",
4
+ "all users ({{accessLevel}})": "",
5
+ "{{userOrGroup}} ({{accessLevel}})": "",
6
+ "Shared with {{commaSeparatedListOfUsersAndGroups}}": "",
7
+ "Not shared with any users or groups": "",
8
+ "No description": "",
9
+ "Last updated {{time}}": "",
10
+ "Created {{time}} by {{author}}": "",
11
+ "Created {{time}}": "",
12
+ "Viewed {{count}} times": "",
13
+ "Viewed {{count}} times_plural": "",
14
+ "Notifications": "",
15
+ "You're subscribed and getting updates about new interpretations.": "",
16
+ "Unsubscribe": "",
17
+ "Subscribe to get updates about new interpretations.": "",
18
+ "Subscribe": "",
19
+ "About this map": "",
20
+ "About this line list": "",
21
+ "About this visualization": "",
22
+ "This app could not retrieve required data.": "",
23
+ "Network error": "",
24
+ "Data Type": "",
25
+ "All types": "",
26
+ "Totals only": "",
27
+ "Details only": "",
28
+ "Disaggregation": "",
29
+ "No data": "No hay datos",
30
+ "Loading": "",
31
+ "Search by data item name": "",
32
+ "No items selected": "",
33
+ "Selected Items": "",
34
+ "No indicators found": "",
35
+ "No data elements found": "",
36
+ "No data sets found": "",
37
+ "No event data items found": "",
38
+ "No program indicators found": "",
39
+ "No indicators found for \"{{- searchTerm}}\"": "",
40
+ "No data elements found for \"{{- searchTerm}}\"": "",
41
+ "No data sets found for \"{{- searchTerm}}\"": "",
42
+ "No event data items found for \"{{- searchTerm}}\"": "",
43
+ "No program indicators found for \"{{- searchTerm}}\"": "",
44
+ "Nothing found for \"{{- searchTerm}}\"": "",
45
+ "Metric type": "",
46
+ "All metrics": "",
47
+ "Move to {{axisName}}": "",
48
+ "Add to {{axisName}}": "",
49
+ "Not available for {{visualizationType}}": "",
50
+ "Remove Assigned Categories": "",
51
+ "Add Assigned Categories": "",
52
+ "Remove": "",
53
+ "Filter dimensions": "",
54
+ "Main dimensions": "",
55
+ "Your dimensions": "",
56
+ "Dimension recommended with selected data": "",
57
+ "All items": "",
58
+ "Automatically include all items": "",
59
+ "Select all {{- dimensionTitle}} items. With this option, new items added in the future will be automatically included.": "",
60
+ "Manually select items...": "",
61
+ "Nothing found in {{- dimensionTitle}}": "",
62
+ "Search": "Buscar",
63
+ "Nothing found for {{- searchTerm}}": "",
64
+ "Delete {{fileType}}": "",
65
+ "This {{fileType}} and related interpretations will be deleted. Continue?": "",
66
+ "Cancel": "Cancelar",
67
+ "Delete": "Borrar",
68
+ "File": "",
69
+ "New": "",
70
+ "Open…": "",
71
+ "Save": "Guardar",
72
+ "Save…": "",
73
+ "Save as…": "",
74
+ "Rename…": "",
75
+ "Translate…": "",
76
+ "Share…": "",
77
+ "Get link…": "",
78
+ "Open in this app": "",
79
+ "Close": "Cerrar",
80
+ "Rename {{fileType}}": "",
81
+ "Name": "Nombre",
82
+ "Description": "",
83
+ "Rename": "",
84
+ "{{objectName}} (copy)": "",
85
+ "Save {{fileType}} as": "",
86
+ "event report": "",
87
+ "line list": "",
88
+ "map": "",
89
+ "visualization": "",
90
+ "Edit": "",
91
+ "Write a reply": "",
92
+ "Post reply": "",
93
+ "Could not update comment": "",
94
+ "Enter comment text": "",
95
+ "Update": "Actualizar",
96
+ "Viewing interpretation: {{- visualisationName}}": "",
97
+ "Could not load interpretation": "",
98
+ "The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
99
+ "Hide interpretation": "",
100
+ "Write an interpretation": "",
101
+ "Post interpretation": "",
102
+ "Interpretations": "",
103
+ "Unlike": "",
104
+ "Like": "",
105
+ "Reply": "",
106
+ "Share": "Compartir",
107
+ "See interpretation": "",
108
+ "Manage sharing": "",
109
+ "Could not update interpretation": "",
110
+ "Enter interpretation text": "",
111
+ "Bold text": "",
112
+ "Italic text": "",
113
+ "Link to a URL": "",
114
+ "Mention a user": "",
115
+ "Add emoji": "",
116
+ "Preview": "",
117
+ "Back to write mode": "",
118
+ "Too many results. Try refining the search.": "",
119
+ "Search for a user": "",
120
+ "Searching for \"{{- searchText}}\"": "",
121
+ "No results found": "",
122
+ "Not available offline": "",
123
+ "Created by": "",
124
+ "Anyone": "",
125
+ "Only you": "",
126
+ "Others": "",
127
+ "Not supported by this app yet": "",
128
+ "Filter by name": "",
129
+ "Created": "",
130
+ "Last updated": "",
131
+ "Type": "",
132
+ "Clear filters": "Limpiar filtros",
133
+ "{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "",
134
+ "Open": "Abierto",
135
+ "Couldn't load items": "",
136
+ "There was a problem loading items. Try again or contact your system administrator.": "",
137
+ "No items found. Create a new to get started.": "",
138
+ "No items found. Try adjusting your search or filter options to find what you're looking for.": "",
139
+ "Create new": "Crear nuevo",
140
+ "Open a visualization": "",
141
+ "Loading visualizations": "",
142
+ "Couldn't load visualizations": "",
143
+ "There was a problem loading visualizations. Try again or contact your system administrator.": "",
144
+ "No visualizations found. Click New visualization to get started.": "",
145
+ "No visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
146
+ "New visualization": "",
147
+ "Open a map": "",
148
+ "Loading maps": "",
149
+ "Couldn't load maps": "",
150
+ "There was a problem loading maps. Try again or contact your system administrator.": "",
151
+ "No maps found. Click New map to get started.": "",
152
+ "No maps found. Try adjusting your search or filter options to find what you're looking for.": "",
153
+ "New map": "",
154
+ "Open a line list": "",
155
+ "Loading line lists": "",
156
+ "Couldn't load line lists": "",
157
+ "There was a problem loading line lists. Try again or contact your system administrator.": "",
158
+ "No line lists found. Click New line list to get started.": "",
159
+ "No line lists found. Try adjusting your search or filter options to find what you're looking for.": "",
160
+ "New line list": "",
161
+ "Options": "",
162
+ "Hide": "",
163
+ "{{count}} org units": "",
164
+ "{{count}} org units_plural": "",
165
+ "{{count}} levels": "",
166
+ "{{count}} levels_plural": "",
167
+ "{{count}} groups": "",
168
+ "{{count}} groups_plural": "",
169
+ "Selected: {{commaSeparatedListOfOrganisationUnits}}": "",
170
+ "Nothing selected": "",
171
+ "User organisation unit": "",
172
+ "User sub-units": "",
173
+ "User sub-x2-units": "",
174
+ "Select a level": "",
175
+ "Select a group": "",
176
+ "Deselect all": "",
177
+ "Period type": "",
178
+ "Year": "",
179
+ "Select year": "",
180
+ "Period": "Periodo",
181
+ "Relative periods": "",
182
+ "Fixed periods": "",
183
+ "Selected Periods": "",
184
+ "No periods selected": "",
185
+ "January": "",
186
+ "February": "",
187
+ "March": "",
188
+ "April": "",
189
+ "May": "",
190
+ "June": "",
191
+ "July": "",
192
+ "August": "",
193
+ "September": "",
194
+ "October": "",
195
+ "November": "",
196
+ "December": "",
197
+ "Week {{weekNumber}}": "",
198
+ "Bi-Week {{biWeekNumber}}": "",
199
+ "Daily": "Diario",
200
+ "Weekly": "Semanal",
201
+ "Weekly (Start Wednesday)": "",
202
+ "Weekly (Start Thursday)": "",
203
+ "Weekly (Start Saturday)": "",
204
+ "Weekly (Start Sunday)": "",
205
+ "Bi-weekly": "",
206
+ "Monthly": "Mensual",
207
+ "Bi-monthly": "",
208
+ "Quarterly": "",
209
+ "Six-monthly": "",
210
+ "Six-monthly April": "",
211
+ "Yearly": "Anual",
212
+ "Financial year (Start November)": "",
213
+ "Financial year (Start October)": "",
214
+ "Financial year (Start July)": "",
215
+ "Financial year (Start April)": "",
216
+ "Today": "Hoy",
217
+ "Yesterday": "Ayer",
218
+ "Last 3 days": "",
219
+ "Last 7 days": "",
220
+ "Last 14 days": "",
221
+ "Last 30 days": "",
222
+ "Last 60 days": "",
223
+ "Last 90 days": "",
224
+ "Last 180 days": "",
225
+ "This week": "Esta semana",
226
+ "Last week": "Última semana",
227
+ "Last 4 weeks": "",
228
+ "Last 12 weeks": "",
229
+ "Last 52 weeks": "",
230
+ "Weeks this year": "Semanas de este año",
231
+ "This bi-week": "",
232
+ "Last bi-week": "",
233
+ "Last 4 bi-weeks": "",
234
+ "This month": "Este mes",
235
+ "Last month": "Mes anterior",
236
+ "Last 3 months": "",
237
+ "Last 6 months": "",
238
+ "Last 12 months": "",
239
+ "Months this year": "Meses este año",
240
+ "This bi-month": "",
241
+ "Last bi-month": "",
242
+ "Last 6 bi-months": "",
243
+ "Bi-months this year": "",
244
+ "This quarter": "Este trimestre",
245
+ "Last quarter": "El trimestre pasado",
246
+ "Last 4 quarters": "",
247
+ "Quarters this year": "Trimestres de este año",
248
+ "This six-month": "",
249
+ "Last six-month": "",
250
+ "Last 2 six-month": "",
251
+ "This financial year": "Este año fiscal",
252
+ "Last financial year": "Último ejercicio financiero",
253
+ "Last 5 financial years": "",
254
+ "This year": "Este año",
255
+ "Last year": "El año pasado",
256
+ "Last 5 years": "",
257
+ "Last 10 years": "",
258
+ "Days": "Días",
259
+ "Weeks": "Semanas",
260
+ "Bi-weeks": "",
261
+ "Months": "Meses",
262
+ "Bi-months": "",
263
+ "Quarters": "",
264
+ "Six-months": "",
265
+ "Financial Years": "",
266
+ "Years": "Años",
267
+ "Translating to": "",
268
+ "Choose a locale": "",
269
+ "Base locale reference": "",
270
+ "Choose a locale to translate from the menu above": "",
271
+ "Translate: {{objectName}}": "",
272
+ "Save translations": "",
273
+ "Cannot save while offline": "",
274
+ "Could not load translations": "",
275
+ "Retry": "",
276
+ "Series": "",
277
+ "Category": "",
278
+ "Filter": "",
279
+ "Columns": "",
280
+ "Rows": "",
281
+ "Points": "",
282
+ "Reporting rate": "",
283
+ "Reporting rate on time": "",
284
+ "Actual reports": "",
285
+ "Actual reports on time": "",
286
+ "Expected reports": "",
287
+ "Program": "",
288
+ "Select a program": "",
289
+ "Indicators": "Indicadores",
290
+ "Indicator group": "",
291
+ "All groups": "",
292
+ "Indicator": "",
293
+ "No indicator groups found": "",
294
+ "Loading indicator groups": "",
295
+ "Data elements": "",
296
+ "Data element group": "",
297
+ "Data element": "",
298
+ "No data element groups found": "",
299
+ "Loading data element groups": "",
300
+ "Data sets": "Sets de datos",
301
+ "Data set": "",
302
+ "All data sets": "",
303
+ "Loading data sets": "",
304
+ "Event data items": "",
305
+ "All programs": "",
306
+ "Event data item": "",
307
+ "No programs found": "",
308
+ "Loading programs": "",
309
+ "Program indicators": "",
310
+ "Program indicator": "",
311
+ "Extra Small": "",
312
+ "Small": "",
313
+ "Regular": "",
314
+ "Large": "",
315
+ "Extra Large": "",
316
+ "Left": "",
317
+ "Center": "",
318
+ "Right": "",
319
+ "Start": "",
320
+ "Middle": "",
321
+ "End": "",
322
+ "Top": "",
323
+ "Bottom": "",
324
+ "{{dynamicOuNames}} and {{lastOuName}}": "",
325
+ "{{allDynamicOuNames}} levels": "",
326
+ "{{allDynamicOuNames}} groups": "",
327
+ "{{allDynamicOuNames}} levels in {{staticOuNames}}": "",
328
+ "{{allDynamicOuNames}} groups in {{staticOuNames}}": "",
329
+ "{{percentage}}% of total x values": "",
330
+ "{{percentage}}% of total y values": "",
331
+ "{{thresholdFactor}} × IQR Q1": "",
332
+ "{{thresholdFactor}} × IQR Q3": "",
333
+ "{{thresholdFactor}} × Modified Z-score low": "",
334
+ "{{thresholdFactor}} × Modified Z-score high": "",
335
+ "{{thresholdFactor}} × Z-score low": "",
336
+ "{{thresholdFactor}} × Z-score high": "",
337
+ "Data": "Datos",
338
+ "Organisation unit": "",
339
+ "Assigned Categories": "",
340
+ "Pivot table": "",
341
+ "Area": "",
342
+ "Stacked area": "",
343
+ "Bar": "",
344
+ "Stacked bar": "",
345
+ "Column": "",
346
+ "Year over year (column)": "",
347
+ "Stacked column": "",
348
+ "Gauge": "",
349
+ "Line": "",
350
+ "Line list": "",
351
+ "Year over year (line)": "",
352
+ "Pie": "",
353
+ "Radar": "",
354
+ "Scatter": "",
355
+ "Single value": "",
356
+ "All charts": "",
357
+ "{{seriesName}} (trend)": "",
358
+ "Trend": "",
359
+ "No legend for this series": "",
360
+ "and {{amount}} more...": "",
361
+ "Linear Regression": "",
362
+ "Target": "",
363
+ "Base": "",
364
+ "Axis {{axisId}}": "",
365
+ "{{count}} items": "",
366
+ "{{count}} items_plural": "",
367
+ "Reset zoom": ""
368
+ }
@@ -23,55 +23,57 @@ var _translations7 = _interopRequireDefault(require("./en/translations.json"));
23
23
 
24
24
  var _translations8 = _interopRequireDefault(require("./es/translations.json"));
25
25
 
26
- var _translations9 = _interopRequireDefault(require("./fr/translations.json"));
26
+ var _translations9 = _interopRequireDefault(require("./es_419/translations.json"));
27
27
 
28
- var _translations10 = _interopRequireDefault(require("./id/translations.json"));
28
+ var _translations10 = _interopRequireDefault(require("./fr/translations.json"));
29
29
 
30
- var _translations11 = _interopRequireDefault(require("./km/translations.json"));
30
+ var _translations11 = _interopRequireDefault(require("./id/translations.json"));
31
31
 
32
- var _translations12 = _interopRequireDefault(require("./lo/translations.json"));
32
+ var _translations12 = _interopRequireDefault(require("./km/translations.json"));
33
33
 
34
- var _translations13 = _interopRequireDefault(require("./my/translations.json"));
34
+ var _translations13 = _interopRequireDefault(require("./lo/translations.json"));
35
35
 
36
- var _translations14 = _interopRequireDefault(require("./nb/translations.json"));
36
+ var _translations14 = _interopRequireDefault(require("./my/translations.json"));
37
37
 
38
- var _translations15 = _interopRequireDefault(require("./nl/translations.json"));
38
+ var _translations15 = _interopRequireDefault(require("./nb/translations.json"));
39
39
 
40
- var _translations16 = _interopRequireDefault(require("./or/translations.json"));
40
+ var _translations16 = _interopRequireDefault(require("./nl/translations.json"));
41
41
 
42
- var _translations17 = _interopRequireDefault(require("./prs/translations.json"));
42
+ var _translations17 = _interopRequireDefault(require("./or/translations.json"));
43
43
 
44
- var _translations18 = _interopRequireDefault(require("./ps/translations.json"));
44
+ var _translations18 = _interopRequireDefault(require("./prs/translations.json"));
45
45
 
46
- var _translations19 = _interopRequireDefault(require("./pt/translations.json"));
46
+ var _translations19 = _interopRequireDefault(require("./ps/translations.json"));
47
47
 
48
- var _translations20 = _interopRequireDefault(require("./pt_BR/translations.json"));
48
+ var _translations20 = _interopRequireDefault(require("./pt/translations.json"));
49
49
 
50
- var _translations21 = _interopRequireDefault(require("./ro/translations.json"));
50
+ var _translations21 = _interopRequireDefault(require("./pt_BR/translations.json"));
51
51
 
52
- var _translations22 = _interopRequireDefault(require("./ru/translations.json"));
52
+ var _translations22 = _interopRequireDefault(require("./ro/translations.json"));
53
53
 
54
- var _translations23 = _interopRequireDefault(require("./sv/translations.json"));
54
+ var _translations23 = _interopRequireDefault(require("./ru/translations.json"));
55
55
 
56
- var _translations24 = _interopRequireDefault(require("./tet/translations.json"));
56
+ var _translations24 = _interopRequireDefault(require("./sv/translations.json"));
57
57
 
58
- var _translations25 = _interopRequireDefault(require("./tg/translations.json"));
58
+ var _translations25 = _interopRequireDefault(require("./tet/translations.json"));
59
59
 
60
- var _translations26 = _interopRequireDefault(require("./uk/translations.json"));
60
+ var _translations26 = _interopRequireDefault(require("./tg/translations.json"));
61
61
 
62
- var _translations27 = _interopRequireDefault(require("./ur/translations.json"));
62
+ var _translations27 = _interopRequireDefault(require("./uk/translations.json"));
63
63
 
64
- var _translations28 = _interopRequireDefault(require("./uz/translations.json"));
64
+ var _translations28 = _interopRequireDefault(require("./ur/translations.json"));
65
65
 
66
- var _translations29 = _interopRequireDefault(require("./uz_Cyrl/translations.json"));
66
+ var _translations29 = _interopRequireDefault(require("./uz/translations.json"));
67
67
 
68
- var _translations30 = _interopRequireDefault(require("./uz_Latn/translations.json"));
68
+ var _translations30 = _interopRequireDefault(require("./uz_Cyrl/translations.json"));
69
69
 
70
- var _translations31 = _interopRequireDefault(require("./vi/translations.json"));
70
+ var _translations31 = _interopRequireDefault(require("./uz_Latn/translations.json"));
71
71
 
72
- var _translations32 = _interopRequireDefault(require("./zh/translations.json"));
72
+ var _translations32 = _interopRequireDefault(require("./vi/translations.json"));
73
73
 
74
- var _translations33 = _interopRequireDefault(require("./zh_CN/translations.json"));
74
+ var _translations33 = _interopRequireDefault(require("./zh/translations.json"));
75
+
76
+ var _translations34 = _interopRequireDefault(require("./zh_CN/translations.json"));
75
77
 
76
78
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
77
79
 
@@ -101,55 +103,57 @@ _d2I18n.default.addResources('en', namespace, _translations7.default);
101
103
 
102
104
  _d2I18n.default.addResources('es', namespace, _translations8.default);
103
105
 
104
- _d2I18n.default.addResources('fr', namespace, _translations9.default);
106
+ _d2I18n.default.addResources('es_419', namespace, _translations9.default);
107
+
108
+ _d2I18n.default.addResources('fr', namespace, _translations10.default);
105
109
 
106
- _d2I18n.default.addResources('id', namespace, _translations10.default);
110
+ _d2I18n.default.addResources('id', namespace, _translations11.default);
107
111
 
108
- _d2I18n.default.addResources('km', namespace, _translations11.default);
112
+ _d2I18n.default.addResources('km', namespace, _translations12.default);
109
113
 
110
- _d2I18n.default.addResources('lo', namespace, _translations12.default);
114
+ _d2I18n.default.addResources('lo', namespace, _translations13.default);
111
115
 
112
- _d2I18n.default.addResources('my', namespace, _translations13.default);
116
+ _d2I18n.default.addResources('my', namespace, _translations14.default);
113
117
 
114
- _d2I18n.default.addResources('nb', namespace, _translations14.default);
118
+ _d2I18n.default.addResources('nb', namespace, _translations15.default);
115
119
 
116
- _d2I18n.default.addResources('nl', namespace, _translations15.default);
120
+ _d2I18n.default.addResources('nl', namespace, _translations16.default);
117
121
 
118
- _d2I18n.default.addResources('or', namespace, _translations16.default);
122
+ _d2I18n.default.addResources('or', namespace, _translations17.default);
119
123
 
120
- _d2I18n.default.addResources('prs', namespace, _translations17.default);
124
+ _d2I18n.default.addResources('prs', namespace, _translations18.default);
121
125
 
122
- _d2I18n.default.addResources('ps', namespace, _translations18.default);
126
+ _d2I18n.default.addResources('ps', namespace, _translations19.default);
123
127
 
124
- _d2I18n.default.addResources('pt', namespace, _translations19.default);
128
+ _d2I18n.default.addResources('pt', namespace, _translations20.default);
125
129
 
126
- _d2I18n.default.addResources('pt_BR', namespace, _translations20.default);
130
+ _d2I18n.default.addResources('pt_BR', namespace, _translations21.default);
127
131
 
128
- _d2I18n.default.addResources('ro', namespace, _translations21.default);
132
+ _d2I18n.default.addResources('ro', namespace, _translations22.default);
129
133
 
130
- _d2I18n.default.addResources('ru', namespace, _translations22.default);
134
+ _d2I18n.default.addResources('ru', namespace, _translations23.default);
131
135
 
132
- _d2I18n.default.addResources('sv', namespace, _translations23.default);
136
+ _d2I18n.default.addResources('sv', namespace, _translations24.default);
133
137
 
134
- _d2I18n.default.addResources('tet', namespace, _translations24.default);
138
+ _d2I18n.default.addResources('tet', namespace, _translations25.default);
135
139
 
136
- _d2I18n.default.addResources('tg', namespace, _translations25.default);
140
+ _d2I18n.default.addResources('tg', namespace, _translations26.default);
137
141
 
138
- _d2I18n.default.addResources('uk', namespace, _translations26.default);
142
+ _d2I18n.default.addResources('uk', namespace, _translations27.default);
139
143
 
140
- _d2I18n.default.addResources('ur', namespace, _translations27.default);
144
+ _d2I18n.default.addResources('ur', namespace, _translations28.default);
141
145
 
142
- _d2I18n.default.addResources('uz', namespace, _translations28.default);
146
+ _d2I18n.default.addResources('uz', namespace, _translations29.default);
143
147
 
144
- _d2I18n.default.addResources('uz_Cyrl', namespace, _translations29.default);
148
+ _d2I18n.default.addResources('uz_Cyrl', namespace, _translations30.default);
145
149
 
146
- _d2I18n.default.addResources('uz_Latn', namespace, _translations30.default);
150
+ _d2I18n.default.addResources('uz_Latn', namespace, _translations31.default);
147
151
 
148
- _d2I18n.default.addResources('vi', namespace, _translations31.default);
152
+ _d2I18n.default.addResources('vi', namespace, _translations32.default);
149
153
 
150
- _d2I18n.default.addResources('zh', namespace, _translations32.default);
154
+ _d2I18n.default.addResources('zh', namespace, _translations33.default);
151
155
 
152
- _d2I18n.default.addResources('zh_CN', namespace, _translations33.default);
156
+ _d2I18n.default.addResources('zh_CN', namespace, _translations34.default);
153
157
 
154
158
  var _default = _d2I18n.default;
155
159
  exports.default = _default;
@@ -106,7 +106,7 @@ export const FileMenu = _ref => {
106
106
  return /*#__PURE__*/React.createElement(SaveAsDialog, {
107
107
  type: fileType,
108
108
  object: fileObject,
109
- onSaveAs: onSaveAs,
109
+ onSaveAs: onSaveAs || Function.prototype,
110
110
  onClose: onDialogClose
111
111
  });
112
112
 
@@ -182,9 +182,9 @@ export const FileMenu = _ref => {
182
182
  }), /*#__PURE__*/React.createElement(MenuItem, {
183
183
  label: i18n.t('Save as…'),
184
184
  icon: /*#__PURE__*/React.createElement(IconSave24, {
185
- color: fileObject !== null && fileObject !== void 0 && fileObject.id ? iconActiveColor : iconInactiveColor
185
+ color: !(onSaveAs && fileObject !== null && fileObject !== void 0 && fileObject.id) ? iconInactiveColor : iconActiveColor
186
186
  }),
187
- disabled: !(fileObject !== null && fileObject !== void 0 && fileObject.id),
187
+ disabled: !(onSaveAs && fileObject !== null && fileObject !== void 0 && fileObject.id),
188
188
  onClick: onMenuItemClick('saveas'),
189
189
  dataTest: "file-menu-saveas"
190
190
  }), /*#__PURE__*/React.createElement(MenuItem, {
@@ -236,7 +236,6 @@ FileMenu.defaultProps = {
236
236
  onNew: Function.prototype,
237
237
  onOpen: Function.prototype,
238
238
  onRename: Function.prototype,
239
- onSaveAs: Function.prototype,
240
239
  onShare: Function.prototype,
241
240
  onTranslate: Function.prototype
242
241
  };
@@ -0,0 +1,368 @@
1
+ {
2
+ "view only": "",
3
+ "view and edit": "",
4
+ "all users ({{accessLevel}})": "",
5
+ "{{userOrGroup}} ({{accessLevel}})": "",
6
+ "Shared with {{commaSeparatedListOfUsersAndGroups}}": "",
7
+ "Not shared with any users or groups": "",
8
+ "No description": "",
9
+ "Last updated {{time}}": "",
10
+ "Created {{time}} by {{author}}": "",
11
+ "Created {{time}}": "",
12
+ "Viewed {{count}} times": "",
13
+ "Viewed {{count}} times_plural": "",
14
+ "Notifications": "",
15
+ "You're subscribed and getting updates about new interpretations.": "",
16
+ "Unsubscribe": "",
17
+ "Subscribe to get updates about new interpretations.": "",
18
+ "Subscribe": "",
19
+ "About this map": "",
20
+ "About this line list": "",
21
+ "About this visualization": "",
22
+ "This app could not retrieve required data.": "",
23
+ "Network error": "",
24
+ "Data Type": "",
25
+ "All types": "",
26
+ "Totals only": "",
27
+ "Details only": "",
28
+ "Disaggregation": "",
29
+ "No data": "No hay datos",
30
+ "Loading": "",
31
+ "Search by data item name": "",
32
+ "No items selected": "",
33
+ "Selected Items": "",
34
+ "No indicators found": "",
35
+ "No data elements found": "",
36
+ "No data sets found": "",
37
+ "No event data items found": "",
38
+ "No program indicators found": "",
39
+ "No indicators found for \"{{- searchTerm}}\"": "",
40
+ "No data elements found for \"{{- searchTerm}}\"": "",
41
+ "No data sets found for \"{{- searchTerm}}\"": "",
42
+ "No event data items found for \"{{- searchTerm}}\"": "",
43
+ "No program indicators found for \"{{- searchTerm}}\"": "",
44
+ "Nothing found for \"{{- searchTerm}}\"": "",
45
+ "Metric type": "",
46
+ "All metrics": "",
47
+ "Move to {{axisName}}": "",
48
+ "Add to {{axisName}}": "",
49
+ "Not available for {{visualizationType}}": "",
50
+ "Remove Assigned Categories": "",
51
+ "Add Assigned Categories": "",
52
+ "Remove": "",
53
+ "Filter dimensions": "",
54
+ "Main dimensions": "",
55
+ "Your dimensions": "",
56
+ "Dimension recommended with selected data": "",
57
+ "All items": "",
58
+ "Automatically include all items": "",
59
+ "Select all {{- dimensionTitle}} items. With this option, new items added in the future will be automatically included.": "",
60
+ "Manually select items...": "",
61
+ "Nothing found in {{- dimensionTitle}}": "",
62
+ "Search": "Buscar",
63
+ "Nothing found for {{- searchTerm}}": "",
64
+ "Delete {{fileType}}": "",
65
+ "This {{fileType}} and related interpretations will be deleted. Continue?": "",
66
+ "Cancel": "Cancelar",
67
+ "Delete": "Borrar",
68
+ "File": "",
69
+ "New": "",
70
+ "Open…": "",
71
+ "Save": "Guardar",
72
+ "Save…": "",
73
+ "Save as…": "",
74
+ "Rename…": "",
75
+ "Translate…": "",
76
+ "Share…": "",
77
+ "Get link…": "",
78
+ "Open in this app": "",
79
+ "Close": "Cerrar",
80
+ "Rename {{fileType}}": "",
81
+ "Name": "Nombre",
82
+ "Description": "",
83
+ "Rename": "",
84
+ "{{objectName}} (copy)": "",
85
+ "Save {{fileType}} as": "",
86
+ "event report": "",
87
+ "line list": "",
88
+ "map": "",
89
+ "visualization": "",
90
+ "Edit": "",
91
+ "Write a reply": "",
92
+ "Post reply": "",
93
+ "Could not update comment": "",
94
+ "Enter comment text": "",
95
+ "Update": "Actualizar",
96
+ "Viewing interpretation: {{- visualisationName}}": "",
97
+ "Could not load interpretation": "",
98
+ "The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
99
+ "Hide interpretation": "",
100
+ "Write an interpretation": "",
101
+ "Post interpretation": "",
102
+ "Interpretations": "",
103
+ "Unlike": "",
104
+ "Like": "",
105
+ "Reply": "",
106
+ "Share": "Compartir",
107
+ "See interpretation": "",
108
+ "Manage sharing": "",
109
+ "Could not update interpretation": "",
110
+ "Enter interpretation text": "",
111
+ "Bold text": "",
112
+ "Italic text": "",
113
+ "Link to a URL": "",
114
+ "Mention a user": "",
115
+ "Add emoji": "",
116
+ "Preview": "",
117
+ "Back to write mode": "",
118
+ "Too many results. Try refining the search.": "",
119
+ "Search for a user": "",
120
+ "Searching for \"{{- searchText}}\"": "",
121
+ "No results found": "",
122
+ "Not available offline": "",
123
+ "Created by": "",
124
+ "Anyone": "",
125
+ "Only you": "",
126
+ "Others": "",
127
+ "Not supported by this app yet": "",
128
+ "Filter by name": "",
129
+ "Created": "",
130
+ "Last updated": "",
131
+ "Type": "",
132
+ "Clear filters": "Limpiar filtros",
133
+ "{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "",
134
+ "Open": "Abierto",
135
+ "Couldn't load items": "",
136
+ "There was a problem loading items. Try again or contact your system administrator.": "",
137
+ "No items found. Create a new to get started.": "",
138
+ "No items found. Try adjusting your search or filter options to find what you're looking for.": "",
139
+ "Create new": "Crear nuevo",
140
+ "Open a visualization": "",
141
+ "Loading visualizations": "",
142
+ "Couldn't load visualizations": "",
143
+ "There was a problem loading visualizations. Try again or contact your system administrator.": "",
144
+ "No visualizations found. Click New visualization to get started.": "",
145
+ "No visualizations found. Try adjusting your search or filter options to find what you're looking for.": "",
146
+ "New visualization": "",
147
+ "Open a map": "",
148
+ "Loading maps": "",
149
+ "Couldn't load maps": "",
150
+ "There was a problem loading maps. Try again or contact your system administrator.": "",
151
+ "No maps found. Click New map to get started.": "",
152
+ "No maps found. Try adjusting your search or filter options to find what you're looking for.": "",
153
+ "New map": "",
154
+ "Open a line list": "",
155
+ "Loading line lists": "",
156
+ "Couldn't load line lists": "",
157
+ "There was a problem loading line lists. Try again or contact your system administrator.": "",
158
+ "No line lists found. Click New line list to get started.": "",
159
+ "No line lists found. Try adjusting your search or filter options to find what you're looking for.": "",
160
+ "New line list": "",
161
+ "Options": "",
162
+ "Hide": "",
163
+ "{{count}} org units": "",
164
+ "{{count}} org units_plural": "",
165
+ "{{count}} levels": "",
166
+ "{{count}} levels_plural": "",
167
+ "{{count}} groups": "",
168
+ "{{count}} groups_plural": "",
169
+ "Selected: {{commaSeparatedListOfOrganisationUnits}}": "",
170
+ "Nothing selected": "",
171
+ "User organisation unit": "",
172
+ "User sub-units": "",
173
+ "User sub-x2-units": "",
174
+ "Select a level": "",
175
+ "Select a group": "",
176
+ "Deselect all": "",
177
+ "Period type": "",
178
+ "Year": "",
179
+ "Select year": "",
180
+ "Period": "Periodo",
181
+ "Relative periods": "",
182
+ "Fixed periods": "",
183
+ "Selected Periods": "",
184
+ "No periods selected": "",
185
+ "January": "",
186
+ "February": "",
187
+ "March": "",
188
+ "April": "",
189
+ "May": "",
190
+ "June": "",
191
+ "July": "",
192
+ "August": "",
193
+ "September": "",
194
+ "October": "",
195
+ "November": "",
196
+ "December": "",
197
+ "Week {{weekNumber}}": "",
198
+ "Bi-Week {{biWeekNumber}}": "",
199
+ "Daily": "Diario",
200
+ "Weekly": "Semanal",
201
+ "Weekly (Start Wednesday)": "",
202
+ "Weekly (Start Thursday)": "",
203
+ "Weekly (Start Saturday)": "",
204
+ "Weekly (Start Sunday)": "",
205
+ "Bi-weekly": "",
206
+ "Monthly": "Mensual",
207
+ "Bi-monthly": "",
208
+ "Quarterly": "",
209
+ "Six-monthly": "",
210
+ "Six-monthly April": "",
211
+ "Yearly": "Anual",
212
+ "Financial year (Start November)": "",
213
+ "Financial year (Start October)": "",
214
+ "Financial year (Start July)": "",
215
+ "Financial year (Start April)": "",
216
+ "Today": "Hoy",
217
+ "Yesterday": "Ayer",
218
+ "Last 3 days": "",
219
+ "Last 7 days": "",
220
+ "Last 14 days": "",
221
+ "Last 30 days": "",
222
+ "Last 60 days": "",
223
+ "Last 90 days": "",
224
+ "Last 180 days": "",
225
+ "This week": "Esta semana",
226
+ "Last week": "Última semana",
227
+ "Last 4 weeks": "",
228
+ "Last 12 weeks": "",
229
+ "Last 52 weeks": "",
230
+ "Weeks this year": "Semanas de este año",
231
+ "This bi-week": "",
232
+ "Last bi-week": "",
233
+ "Last 4 bi-weeks": "",
234
+ "This month": "Este mes",
235
+ "Last month": "Mes anterior",
236
+ "Last 3 months": "",
237
+ "Last 6 months": "",
238
+ "Last 12 months": "",
239
+ "Months this year": "Meses este año",
240
+ "This bi-month": "",
241
+ "Last bi-month": "",
242
+ "Last 6 bi-months": "",
243
+ "Bi-months this year": "",
244
+ "This quarter": "Este trimestre",
245
+ "Last quarter": "El trimestre pasado",
246
+ "Last 4 quarters": "",
247
+ "Quarters this year": "Trimestres de este año",
248
+ "This six-month": "",
249
+ "Last six-month": "",
250
+ "Last 2 six-month": "",
251
+ "This financial year": "Este año fiscal",
252
+ "Last financial year": "Último ejercicio financiero",
253
+ "Last 5 financial years": "",
254
+ "This year": "Este año",
255
+ "Last year": "El año pasado",
256
+ "Last 5 years": "",
257
+ "Last 10 years": "",
258
+ "Days": "Días",
259
+ "Weeks": "Semanas",
260
+ "Bi-weeks": "",
261
+ "Months": "Meses",
262
+ "Bi-months": "",
263
+ "Quarters": "",
264
+ "Six-months": "",
265
+ "Financial Years": "",
266
+ "Years": "Años",
267
+ "Translating to": "",
268
+ "Choose a locale": "",
269
+ "Base locale reference": "",
270
+ "Choose a locale to translate from the menu above": "",
271
+ "Translate: {{objectName}}": "",
272
+ "Save translations": "",
273
+ "Cannot save while offline": "",
274
+ "Could not load translations": "",
275
+ "Retry": "",
276
+ "Series": "",
277
+ "Category": "",
278
+ "Filter": "",
279
+ "Columns": "",
280
+ "Rows": "",
281
+ "Points": "",
282
+ "Reporting rate": "",
283
+ "Reporting rate on time": "",
284
+ "Actual reports": "",
285
+ "Actual reports on time": "",
286
+ "Expected reports": "",
287
+ "Program": "",
288
+ "Select a program": "",
289
+ "Indicators": "Indicadores",
290
+ "Indicator group": "",
291
+ "All groups": "",
292
+ "Indicator": "",
293
+ "No indicator groups found": "",
294
+ "Loading indicator groups": "",
295
+ "Data elements": "",
296
+ "Data element group": "",
297
+ "Data element": "",
298
+ "No data element groups found": "",
299
+ "Loading data element groups": "",
300
+ "Data sets": "Sets de datos",
301
+ "Data set": "",
302
+ "All data sets": "",
303
+ "Loading data sets": "",
304
+ "Event data items": "",
305
+ "All programs": "",
306
+ "Event data item": "",
307
+ "No programs found": "",
308
+ "Loading programs": "",
309
+ "Program indicators": "",
310
+ "Program indicator": "",
311
+ "Extra Small": "",
312
+ "Small": "",
313
+ "Regular": "",
314
+ "Large": "",
315
+ "Extra Large": "",
316
+ "Left": "",
317
+ "Center": "",
318
+ "Right": "",
319
+ "Start": "",
320
+ "Middle": "",
321
+ "End": "",
322
+ "Top": "",
323
+ "Bottom": "",
324
+ "{{dynamicOuNames}} and {{lastOuName}}": "",
325
+ "{{allDynamicOuNames}} levels": "",
326
+ "{{allDynamicOuNames}} groups": "",
327
+ "{{allDynamicOuNames}} levels in {{staticOuNames}}": "",
328
+ "{{allDynamicOuNames}} groups in {{staticOuNames}}": "",
329
+ "{{percentage}}% of total x values": "",
330
+ "{{percentage}}% of total y values": "",
331
+ "{{thresholdFactor}} × IQR Q1": "",
332
+ "{{thresholdFactor}} × IQR Q3": "",
333
+ "{{thresholdFactor}} × Modified Z-score low": "",
334
+ "{{thresholdFactor}} × Modified Z-score high": "",
335
+ "{{thresholdFactor}} × Z-score low": "",
336
+ "{{thresholdFactor}} × Z-score high": "",
337
+ "Data": "Datos",
338
+ "Organisation unit": "",
339
+ "Assigned Categories": "",
340
+ "Pivot table": "",
341
+ "Area": "",
342
+ "Stacked area": "",
343
+ "Bar": "",
344
+ "Stacked bar": "",
345
+ "Column": "",
346
+ "Year over year (column)": "",
347
+ "Stacked column": "",
348
+ "Gauge": "",
349
+ "Line": "",
350
+ "Line list": "",
351
+ "Year over year (line)": "",
352
+ "Pie": "",
353
+ "Radar": "",
354
+ "Scatter": "",
355
+ "Single value": "",
356
+ "All charts": "",
357
+ "{{seriesName}} (trend)": "",
358
+ "Trend": "",
359
+ "No legend for this series": "",
360
+ "and {{amount}} more...": "",
361
+ "Linear Regression": "",
362
+ "Target": "",
363
+ "Base": "",
364
+ "Axis {{axisId}}": "",
365
+ "{{count}} items": "",
366
+ "{{count}} items_plural": "",
367
+ "Reset zoom": ""
368
+ }
@@ -15,6 +15,7 @@ import csTranslations from './cs/translations.json';
15
15
  import daTranslations from './da/translations.json';
16
16
  import enTranslations from './en/translations.json';
17
17
  import esTranslations from './es/translations.json';
18
+ import es_419Translations from './es_419/translations.json';
18
19
  import frTranslations from './fr/translations.json';
19
20
  import idTranslations from './id/translations.json';
20
21
  import kmTranslations from './km/translations.json';
@@ -49,6 +50,7 @@ i18n.addResources('cs', namespace, csTranslations);
49
50
  i18n.addResources('da', namespace, daTranslations);
50
51
  i18n.addResources('en', namespace, enTranslations);
51
52
  i18n.addResources('es', namespace, esTranslations);
53
+ i18n.addResources('es_419', namespace, es_419Translations);
52
54
  i18n.addResources('fr', namespace, frTranslations);
53
55
  i18n.addResources('id', namespace, idTranslations);
54
56
  i18n.addResources('km', namespace, kmTranslations);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/analytics",
3
- "version": "24.3.2",
3
+ "version": "24.3.4",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {