@dhis2/analytics 26.3.0 → 26.4.0
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/build/cjs/components/Interpretations/InterpretationModal/InterpretationThread.js +13 -9
- package/build/cjs/components/Interpretations/InterpretationModal/index.js +8 -1
- package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationList.js +5 -2
- package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationsUnit.js +5 -2
- package/build/cjs/components/Interpretations/common/Interpretation/Interpretation.js +16 -1
- package/build/cjs/index.js +61 -54
- package/build/cjs/locales/cs/translations.json +2 -1
- package/build/cjs/locales/en/translations.json +2 -1
- package/build/cjs/locales/es/translations.json +10 -9
- package/build/cjs/locales/es_419/translations.json +12 -6
- package/build/cjs/locales/fr/translations.json +10 -9
- package/build/cjs/locales/id/translations.json +5 -4
- package/build/cjs/locales/nl/translations.json +3 -2
- package/build/cjs/locales/pt/translations.json +10 -9
- package/build/cjs/locales/pt_BR/translations.json +19 -13
- package/build/cjs/locales/vi/translations.json +2 -1
- package/build/cjs/locales/zh/translations.json +7 -7
- package/build/es/components/Interpretations/InterpretationModal/InterpretationThread.js +13 -9
- package/build/es/components/Interpretations/InterpretationModal/index.js +2 -1
- package/build/es/components/Interpretations/InterpretationsUnit/InterpretationList.js +5 -2
- package/build/es/components/Interpretations/InterpretationsUnit/InterpretationsUnit.js +5 -2
- package/build/es/components/Interpretations/common/Interpretation/Interpretation.js +17 -2
- package/build/es/index.js +2 -2
- package/build/es/locales/cs/translations.json +2 -1
- package/build/es/locales/en/translations.json +2 -1
- package/build/es/locales/es/translations.json +10 -9
- package/build/es/locales/es_419/translations.json +12 -6
- package/build/es/locales/fr/translations.json +10 -9
- package/build/es/locales/id/translations.json +5 -4
- package/build/es/locales/nl/translations.json +3 -2
- package/build/es/locales/pt/translations.json +10 -9
- package/build/es/locales/pt_BR/translations.json +19 -13
- package/build/es/locales/vi/translations.json +2 -1
- package/build/es/locales/zh/translations.json +7 -7
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"Disaggregation": "",
|
|
49
49
|
"No data": "No hay datos",
|
|
50
50
|
"Search by data item name": "",
|
|
51
|
-
"No items selected": "",
|
|
51
|
+
"No items selected": "No hay elementos seleccionados",
|
|
52
52
|
"Selected Items": "",
|
|
53
53
|
"No indicators found": "",
|
|
54
54
|
"No data sets found": "",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"Metric type": "",
|
|
64
64
|
"All metrics": "",
|
|
65
65
|
"Move to {{axisName}}": "",
|
|
66
|
-
"Add to {{axisName}}": "",
|
|
66
|
+
"Add to {{axisName}}": "Añadir a {{axisName}}",
|
|
67
67
|
"Not available for {{visualizationType}}": "",
|
|
68
68
|
"Remove Assigned Categories": "",
|
|
69
69
|
"Add Assigned Categories": "",
|
|
70
|
-
"Remove": "",
|
|
70
|
+
"Remove": "Eliminar",
|
|
71
71
|
"Filter dimensions": "",
|
|
72
72
|
"Main dimensions": "",
|
|
73
73
|
"Your dimensions": "",
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
"Edit": "",
|
|
108
108
|
"Write a reply": "",
|
|
109
109
|
"Post reply": "",
|
|
110
|
+
"Delete failed": "",
|
|
110
111
|
"Could not update comment": "",
|
|
111
112
|
"Enter comment text": "",
|
|
112
113
|
"Update": "Actualizar",
|
|
@@ -115,11 +116,15 @@
|
|
|
115
116
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
|
|
116
117
|
"Hide interpretation": "",
|
|
117
118
|
"Write an interpretation": "",
|
|
119
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
118
120
|
"Post interpretation": "",
|
|
119
121
|
"Interpretations": "",
|
|
122
|
+
"Reply": "",
|
|
123
|
+
"{{count}} replies": "",
|
|
124
|
+
"{{count}} replies_plural": "",
|
|
125
|
+
"View replies": "",
|
|
120
126
|
"Unlike": "",
|
|
121
127
|
"Like": "",
|
|
122
|
-
"Reply": "",
|
|
123
128
|
"Share": "Compartir",
|
|
124
129
|
"See interpretation": "",
|
|
125
130
|
"Manage sharing": "",
|
|
@@ -135,7 +140,7 @@
|
|
|
135
140
|
"Too many results. Try refining the search.": "",
|
|
136
141
|
"Search for a user": "",
|
|
137
142
|
"Searching for \"{{- searchText}}\"": "",
|
|
138
|
-
"No results found": "",
|
|
143
|
+
"No results found": "No se han encontrado resultados",
|
|
139
144
|
"Not available offline": "",
|
|
140
145
|
"Created by": "",
|
|
141
146
|
"Anyone": "Quien sea",
|
|
@@ -267,6 +272,7 @@
|
|
|
267
272
|
"Six-months": "",
|
|
268
273
|
"Financial Years": "",
|
|
269
274
|
"Years": "Años",
|
|
275
|
+
"Interpretations and details": "",
|
|
270
276
|
"Translating to": "",
|
|
271
277
|
"Choose a locale": "",
|
|
272
278
|
"Base locale reference": "",
|
|
@@ -287,7 +293,7 @@
|
|
|
287
293
|
"Actual reports": "",
|
|
288
294
|
"Actual reports on time": "",
|
|
289
295
|
"Expected reports": "",
|
|
290
|
-
"Program": "",
|
|
296
|
+
"Program": "Programa",
|
|
291
297
|
"Select a program": "",
|
|
292
298
|
"Indicators": "Indicadores",
|
|
293
299
|
"Indicator group": "",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"Calculation": "",
|
|
63
63
|
"Metric type": "Type de métrique",
|
|
64
64
|
"All metrics": "Tous les éléments",
|
|
65
|
-
"Move to {{axisName}}": "Déménager à {{
|
|
66
|
-
"Add to {{axisName}}": "Ajouter à {{
|
|
67
|
-
"Not available for {{visualizationType}}": "Non disponible pour {{
|
|
65
|
+
"Move to {{axisName}}": "Déménager à {{axisName}}",
|
|
66
|
+
"Add to {{axisName}}": "Ajouter à {{axisName}} ",
|
|
67
|
+
"Not available for {{visualizationType}}": "Non disponible pour {{visualizationType}}",
|
|
68
68
|
"Remove Assigned Categories": "Supprimer les Catégories Attribuées",
|
|
69
69
|
"Add Assigned Categories": "Ajouter des Catégories Affectées",
|
|
70
70
|
"Remove": "Supprimer",
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
|
|
117
117
|
"Hide interpretation": "",
|
|
118
118
|
"Write an interpretation": "Ecrire une interprétation",
|
|
119
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
119
120
|
"Post interpretation": "",
|
|
120
121
|
"Interpretations": "Interprétations",
|
|
121
122
|
"Reply": "Répondre",
|
|
@@ -337,11 +338,11 @@
|
|
|
337
338
|
"End": "Fin",
|
|
338
339
|
"Top": "Haut",
|
|
339
340
|
"Bottom": "Bas",
|
|
340
|
-
"{{dynamicOuNames}} and {{lastOuName}}": "{{
|
|
341
|
-
"{{allDynamicOuNames}} levels": "{{
|
|
342
|
-
"{{allDynamicOuNames}} groups": "{{
|
|
343
|
-
"{{allDynamicOuNames}} levels in {{staticOuNames}}": "{{
|
|
344
|
-
"{{allDynamicOuNames}} groups in {{staticOuNames}}": "{{
|
|
341
|
+
"{{dynamicOuNames}} and {{lastOuName}}": "{{dynamicOuNames}} et {{lastOuName}}",
|
|
342
|
+
"{{allDynamicOuNames}} levels": "{{allDynamicOuNames}} niveaux",
|
|
343
|
+
"{{allDynamicOuNames}} groups": "{{allDynamicOuNames}} groupes",
|
|
344
|
+
"{{allDynamicOuNames}} levels in {{staticOuNames}}": "{{allDynamicOuNames}} niveaux dans {{staticOuNames}} ",
|
|
345
|
+
"{{allDynamicOuNames}} groups in {{staticOuNames}}": "{{allDynamicOuNames}} groupes dans {{staticOuNames}}",
|
|
345
346
|
"{{percentage}}% of total x values": "{{percentage}}% de nombre total de X valeurs",
|
|
346
347
|
"{{percentage}}% of total y values": "{{percentage}}% de nombre total de Y valeurs",
|
|
347
348
|
"{{thresholdFactor}} × IQR Q1": "{{thresholdFactor}} × IQR Q1",
|
|
@@ -377,7 +378,7 @@
|
|
|
377
378
|
"Linear Regression": "Régression linéaire",
|
|
378
379
|
"Target": "Cible",
|
|
379
380
|
"Base": "Base",
|
|
380
|
-
"Axis {{axisId}}": "Axe {{
|
|
381
|
+
"Axis {{axisId}}": "Axe {{axisId}}",
|
|
381
382
|
"{{count}} items": "",
|
|
382
383
|
"{{count}} items_plural": "",
|
|
383
384
|
"Reset zoom": "Réinitialiser le zoom"
|
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
|
|
116
116
|
"Hide interpretation": "",
|
|
117
117
|
"Write an interpretation": "",
|
|
118
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
118
119
|
"Post interpretation": "",
|
|
119
120
|
"Interpretations": "Interpretasi",
|
|
120
121
|
"Reply": "Balas",
|
|
@@ -339,12 +340,12 @@
|
|
|
339
340
|
"{{allDynamicOuNames}} groups in {{staticOuNames}}": "{{allDynamicOuNames}} grup di {{staticOuNames}}",
|
|
340
341
|
"{{percentage}}% of total x values": "{{percentage}}% dari total nilai x",
|
|
341
342
|
"{{percentage}}% of total y values": "{{percentage}}% dari total nilai y",
|
|
342
|
-
"{{thresholdFactor}} × IQR Q1": "{{
|
|
343
|
-
"{{thresholdFactor}} × IQR Q3": "{{
|
|
343
|
+
"{{thresholdFactor}} × IQR Q1": "{{thresholdFactor}} × IQR Q1",
|
|
344
|
+
"{{thresholdFactor}} × IQR Q3": "{{thresholdFactor}} × IQR Q3",
|
|
344
345
|
"{{thresholdFactor}} × Modified Z-score low": "{{thresholdFactor}} × Modifikasi Z-score rendah",
|
|
345
346
|
"{{thresholdFactor}} × Modified Z-score high": "{{thresholdFactor}} × Modifikasi Z-score tinggi",
|
|
346
347
|
"{{thresholdFactor}} × Z-score low": "{{thresholdFactor}} × Z-skor rendah",
|
|
347
|
-
"{{thresholdFactor}} × Z-score high": "{{
|
|
348
|
+
"{{thresholdFactor}} × Z-score high": "{{thresholdFactor}} × Z-skor tinggi",
|
|
348
349
|
"Data": "Data",
|
|
349
350
|
"Organisation unit": "Unit organisasi",
|
|
350
351
|
"Assigned Categories": "Kategori yang Ditugaskan",
|
|
@@ -368,7 +369,7 @@
|
|
|
368
369
|
"{{seriesName}} (trend)": "{{seriesName}} (tren)",
|
|
369
370
|
"Trend": "Tren",
|
|
370
371
|
"No legend for this series": "Tidak ada legenda untuk seri ini",
|
|
371
|
-
"and {{amount}} more...": "dan {{
|
|
372
|
+
"and {{amount}} more...": "dan {{amount}} lainnya...",
|
|
372
373
|
"Linear Regression": "Regresi linier",
|
|
373
374
|
"Target": "Target",
|
|
374
375
|
"Base": "Dasar",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"No data sets found for \"{{- searchTerm}}\"": "Geen datasets gevonden voor \"{{- searchTerm}}\"",
|
|
59
59
|
"No event data items found for \"{{- searchTerm}}\"": "Geen gebeurtenisgegevensitems gevonden voor \"{{- searchTerm}}\"",
|
|
60
60
|
"No program indicators found for \"{{- searchTerm}}\"": "Geen programma-indicatoren gevonden voor \"{{- searchTerm}}\"",
|
|
61
|
-
"Nothing found for \"{{- searchTerm}}\"": "Niets gevonden voor \"{{-
|
|
61
|
+
"Nothing found for \"{{- searchTerm}}\"": "Niets gevonden voor \"{{- searchTerm}}\"",
|
|
62
62
|
"Calculation": "Berekening",
|
|
63
63
|
"Metric type": "Metrische soort",
|
|
64
64
|
"All metrics": "Alle statistieken",
|
|
65
|
-
"Move to {{axisName}}": "Ga naar {{
|
|
65
|
+
"Move to {{axisName}}": "Ga naar {{axisName}}",
|
|
66
66
|
"Add to {{axisName}}": "Voeg toe aan {{axisName}}",
|
|
67
67
|
"Not available for {{visualizationType}}": "Niet beschikbaar voor {{visualizationType}}",
|
|
68
68
|
"Remove Assigned Categories": "Verwijder toegewezen categorieën",
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "De interpretatie kon niet worden weergegeven. Probeer het opnieuw of neem contact op met uw systeembeheerder.",
|
|
117
117
|
"Hide interpretation": "Interpretatie verbergen",
|
|
118
118
|
"Write an interpretation": "Schrijf een interpretatie",
|
|
119
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
119
120
|
"Post interpretation": "Interpretatie posten",
|
|
120
121
|
"Interpretations": "Interpretaties",
|
|
121
122
|
"Reply": "Antwoord",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"Calculation": "",
|
|
63
63
|
"Metric type": "",
|
|
64
64
|
"All metrics": "Todas métricas",
|
|
65
|
-
"Move to {{axisName}}": "Mover para {{
|
|
66
|
-
"Add to {{axisName}}": "Adicionar à {{
|
|
67
|
-
"Not available for {{visualizationType}}": "Não disponível para {{
|
|
65
|
+
"Move to {{axisName}}": "Mover para {{axisName}}",
|
|
66
|
+
"Add to {{axisName}}": "Adicionar à {{axisName}}",
|
|
67
|
+
"Not available for {{visualizationType}}": "Não disponível para {{visualizationType}}",
|
|
68
68
|
"Remove Assigned Categories": "Remover categorias atribuídas",
|
|
69
69
|
"Add Assigned Categories": "Adicionar categorias atribuídas",
|
|
70
70
|
"Remove": "Remover",
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
|
|
117
117
|
"Hide interpretation": "",
|
|
118
118
|
"Write an interpretation": "Escreva uma interpretação",
|
|
119
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
119
120
|
"Post interpretation": "",
|
|
120
121
|
"Interpretations": "Interpretações",
|
|
121
122
|
"Reply": "Responder",
|
|
@@ -337,11 +338,11 @@
|
|
|
337
338
|
"End": "",
|
|
338
339
|
"Top": "Topo",
|
|
339
340
|
"Bottom": "Inferior",
|
|
340
|
-
"{{dynamicOuNames}} and {{lastOuName}}": "{{
|
|
341
|
-
"{{allDynamicOuNames}} levels": "{{
|
|
342
|
-
"{{allDynamicOuNames}} groups": "{{
|
|
343
|
-
"{{allDynamicOuNames}} levels in {{staticOuNames}}": "{{
|
|
344
|
-
"{{allDynamicOuNames}} groups in {{staticOuNames}}": "{{
|
|
341
|
+
"{{dynamicOuNames}} and {{lastOuName}}": "{{dynamicOuNames}} e {{lastOuName}}",
|
|
342
|
+
"{{allDynamicOuNames}} levels": "{{allDynamicOuNames}} níveis",
|
|
343
|
+
"{{allDynamicOuNames}} groups": "{{allDynamicOuNames}} grupos",
|
|
344
|
+
"{{allDynamicOuNames}} levels in {{staticOuNames}}": "{{allDynamicOuNames}} níveis em {{staticOuNames}}",
|
|
345
|
+
"{{allDynamicOuNames}} groups in {{staticOuNames}}": "{{allDynamicOuNames}} grupos em {{staticOuNames}}",
|
|
345
346
|
"{{percentage}}% of total x values": "",
|
|
346
347
|
"{{percentage}}% of total y values": "",
|
|
347
348
|
"{{thresholdFactor}} × IQR Q1": "",
|
|
@@ -377,7 +378,7 @@
|
|
|
377
378
|
"Linear Regression": "",
|
|
378
379
|
"Target": "Meta",
|
|
379
380
|
"Base": "Base",
|
|
380
|
-
"Axis {{axisId}}": "Eixo {{
|
|
381
|
+
"Axis {{axisId}}": "Eixo {{axisId}}",
|
|
381
382
|
"{{count}} items": "",
|
|
382
383
|
"{{count}} items_plural": "",
|
|
383
384
|
"Reset zoom": ""
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"About this line list": "",
|
|
21
21
|
"About this visualization": "",
|
|
22
22
|
"This app could not retrieve required data.": "",
|
|
23
|
-
"Network error": "",
|
|
23
|
+
"Network error": "Erro de rede",
|
|
24
24
|
"Data / Edit calculation": "",
|
|
25
25
|
"Data / New calculation": "",
|
|
26
26
|
"Remove item": "",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"Add a name to save this calculation": "",
|
|
34
34
|
"Save calculation": "",
|
|
35
35
|
"Are you sure you want to delete this calculation? It may be used by other visualizations.": "",
|
|
36
|
-
"Yes, delete": "",
|
|
36
|
+
"Yes, delete": "Sim, excluir",
|
|
37
37
|
"Totals only": "",
|
|
38
38
|
"Details only": "",
|
|
39
39
|
"Loading": "Carregando..",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"Math operators": "",
|
|
46
46
|
"Data Type": "",
|
|
47
47
|
"All types": "",
|
|
48
|
-
"Disaggregation": "",
|
|
48
|
+
"Disaggregation": "Desagregação",
|
|
49
49
|
"No data": "Não ha dados",
|
|
50
50
|
"Search by data item name": "",
|
|
51
51
|
"No items selected": "",
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
"Edit": "Editar",
|
|
108
108
|
"Write a reply": "",
|
|
109
109
|
"Post reply": "",
|
|
110
|
+
"Delete failed": "Falha na exclusão",
|
|
110
111
|
"Could not update comment": "",
|
|
111
112
|
"Enter comment text": "",
|
|
112
113
|
"Update": "Actualizar",
|
|
@@ -115,11 +116,15 @@
|
|
|
115
116
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
|
|
116
117
|
"Hide interpretation": "",
|
|
117
118
|
"Write an interpretation": "",
|
|
119
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
118
120
|
"Post interpretation": "",
|
|
119
121
|
"Interpretations": "Interpretações",
|
|
120
|
-
"Unlike": "",
|
|
121
|
-
"Like": "",
|
|
122
122
|
"Reply": "Responder",
|
|
123
|
+
"{{count}} replies": "",
|
|
124
|
+
"{{count}} replies_plural": "",
|
|
125
|
+
"View replies": "",
|
|
126
|
+
"Unlike": "",
|
|
127
|
+
"Like": "como",
|
|
123
128
|
"Share": "Partilhar",
|
|
124
129
|
"See interpretation": "",
|
|
125
130
|
"Manage sharing": "",
|
|
@@ -130,25 +135,25 @@
|
|
|
130
135
|
"Link to a URL": "",
|
|
131
136
|
"Mention a user": "",
|
|
132
137
|
"Add emoji": "",
|
|
133
|
-
"Preview": "",
|
|
138
|
+
"Preview": "Pré-visualização",
|
|
134
139
|
"Back to write mode": "",
|
|
135
140
|
"Too many results. Try refining the search.": "",
|
|
136
141
|
"Search for a user": "",
|
|
137
142
|
"Searching for \"{{- searchText}}\"": "",
|
|
138
|
-
"No results found": "",
|
|
143
|
+
"No results found": "Nenhum resultado encontrado",
|
|
139
144
|
"Not available offline": "",
|
|
140
|
-
"Created by": "",
|
|
145
|
+
"Created by": "Criado por",
|
|
141
146
|
"Anyone": "",
|
|
142
147
|
"Only you": "",
|
|
143
148
|
"Others": "Outros",
|
|
144
149
|
"Not supported by this app yet": "",
|
|
145
150
|
"Filter by name": "Filtrar por nome",
|
|
146
|
-
"Created": "",
|
|
151
|
+
"Created": "Criado",
|
|
147
152
|
"Last updated": "Última actualização",
|
|
148
153
|
"Type": "Tipo",
|
|
149
|
-
"Clear filters": "",
|
|
154
|
+
"Clear filters": "Limpar filtros",
|
|
150
155
|
"{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "",
|
|
151
|
-
"Open": "",
|
|
156
|
+
"Open": "Abrir",
|
|
152
157
|
"Couldn't load items": "",
|
|
153
158
|
"There was a problem loading items. Try again or contact your system administrator.": "",
|
|
154
159
|
"No items found. Create a new to get started.": "",
|
|
@@ -190,7 +195,7 @@
|
|
|
190
195
|
"User sub-x2-units": "",
|
|
191
196
|
"Select a level": "",
|
|
192
197
|
"Select a group": "",
|
|
193
|
-
"Deselect all": "",
|
|
198
|
+
"Deselect all": "Desmarcar todos",
|
|
194
199
|
"Period type": "Tipo de período",
|
|
195
200
|
"Year": "Ano",
|
|
196
201
|
"Select year": "",
|
|
@@ -258,7 +263,7 @@
|
|
|
258
263
|
"Last year": "Ano passado",
|
|
259
264
|
"Last 5 years": "Últimos 5 anos",
|
|
260
265
|
"Last 10 years": "",
|
|
261
|
-
"Days": "",
|
|
266
|
+
"Days": "Dias",
|
|
262
267
|
"Weeks": "",
|
|
263
268
|
"Bi-weeks": "",
|
|
264
269
|
"Months": "Meses",
|
|
@@ -267,6 +272,7 @@
|
|
|
267
272
|
"Six-months": "",
|
|
268
273
|
"Financial Years": "",
|
|
269
274
|
"Years": "Anos",
|
|
275
|
+
"Interpretations and details": "",
|
|
270
276
|
"Translating to": "",
|
|
271
277
|
"Choose a locale": "",
|
|
272
278
|
"Base locale reference": "",
|
|
@@ -115,10 +115,11 @@
|
|
|
115
115
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "",
|
|
116
116
|
"Hide interpretation": "",
|
|
117
117
|
"Write an interpretation": "Viết diễn giải",
|
|
118
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
118
119
|
"Post interpretation": "",
|
|
119
120
|
"Interpretations": "Diễn giải ",
|
|
120
121
|
"Reply": "Trả lời",
|
|
121
|
-
"{{count}} replies": "{{
|
|
122
|
+
"{{count}} replies": "{{count}} câu trả lời",
|
|
122
123
|
"View replies": "",
|
|
123
124
|
"Unlike": "Không thích",
|
|
124
125
|
"Like": "Thích",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"Loading": "载入",
|
|
39
39
|
"Data elements": "数据元",
|
|
40
40
|
"Search by data element name": "按数据元素名称搜索",
|
|
41
|
-
"No data elements found for \"{{- searchTerm}}\"": "找不到“ {{-searchTerm}}”的数据元素",
|
|
41
|
+
"No data elements found for \"{{- searchTerm}}\"": "找不到“ {{- searchTerm}}”的数据元素",
|
|
42
42
|
"No data elements found": "找不到数据元素",
|
|
43
43
|
"Drag items here, or double click in the list, to start building a calculation formula": "将项目拖到此处,或在列表中双击,开始构建计算公式",
|
|
44
44
|
"Math operators": "数学运算符",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"No data sets found": "找不到数据集",
|
|
54
54
|
"No event data items found": "找不到事件数据项",
|
|
55
55
|
"No program indicators found": "找不到项目指标",
|
|
56
|
-
"No indicators found for \"{{- searchTerm}}\"": "找不到“ {{-searchTerm}}”的指标",
|
|
57
|
-
"No data sets found for \"{{- searchTerm}}\"": "找不到“ {{-searchTerm}}”的数据集",
|
|
58
|
-
"No event data items found for \"{{- searchTerm}}\"": "找不到“ {{-searchTerm}}”的事件数据项",
|
|
59
|
-
"No program indicators found for \"{{- searchTerm}}\"": "找不到“ {{-searchTerm}}”的计划指标",
|
|
60
|
-
"Nothing found for \"{{- searchTerm}}\"": "找不到“ {{-searchTerm}}”",
|
|
56
|
+
"No indicators found for \"{{- searchTerm}}\"": "找不到“ {{- searchTerm}}”的指标",
|
|
57
|
+
"No data sets found for \"{{- searchTerm}}\"": "找不到“ {{- searchTerm}}”的数据集",
|
|
58
|
+
"No event data items found for \"{{- searchTerm}}\"": "找不到“ {{- searchTerm}}”的事件数据项",
|
|
59
|
+
"No program indicators found for \"{{- searchTerm}}\"": "找不到“ {{- searchTerm}}”的计划指标",
|
|
60
|
+
"Nothing found for \"{{- searchTerm}}\"": "找不到“ {{- searchTerm}}”",
|
|
61
61
|
"Calculation": "计算",
|
|
62
62
|
"Metric type": "尺度类型",
|
|
63
63
|
"All metrics": "所有尺度",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"Could not update comment": "无法更新评论",
|
|
111
111
|
"Enter comment text": "输入评论文本",
|
|
112
112
|
"Update": "更新",
|
|
113
|
-
"Viewing interpretation: {{- visualisationName}}": "查看注释:{{-visualisationName}}",
|
|
113
|
+
"Viewing interpretation: {{- visualisationName}}": "查看注释:{{- visualisationName}}",
|
|
114
114
|
"Could not load interpretation": "无法加载解释",
|
|
115
115
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "无法显示解释。重试或联系您的系统管理员。",
|
|
116
116
|
"Hide interpretation": "隐藏解释",
|
|
@@ -16,7 +16,8 @@ const InterpretationThread = _ref => {
|
|
|
16
16
|
onInterpretationDeleted,
|
|
17
17
|
initialFocus,
|
|
18
18
|
onThreadUpdated,
|
|
19
|
-
downloadMenuComponent: DownloadMenu
|
|
19
|
+
downloadMenuComponent: DownloadMenu,
|
|
20
|
+
dashboardRedirectUrl
|
|
20
21
|
} = _ref;
|
|
21
22
|
const {
|
|
22
23
|
fromServerDate
|
|
@@ -31,18 +32,19 @@ const InterpretationThread = _ref => {
|
|
|
31
32
|
}, [initialFocus]);
|
|
32
33
|
const interpretationAccess = getInterpretationAccess(interpretation, currentUser);
|
|
33
34
|
return /*#__PURE__*/React.createElement("div", {
|
|
34
|
-
className: "jsx-
|
|
35
|
-
fetching
|
|
35
|
+
className: "jsx-3292109121" + " " + (cx('container', {
|
|
36
|
+
fetching,
|
|
37
|
+
dashboard: !!dashboardRedirectUrl
|
|
36
38
|
}) || "")
|
|
37
39
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38
|
-
className: "jsx-
|
|
40
|
+
className: "jsx-3292109121" + " " + 'title'
|
|
39
41
|
}, /*#__PURE__*/React.createElement(IconClock16, {
|
|
40
42
|
color: colors.grey700
|
|
41
43
|
}), moment(fromServerDate(interpretation.created)).format('LLL')), DownloadMenu && /*#__PURE__*/React.createElement(DownloadMenu, {
|
|
42
44
|
relativePeriodDate: interpretation.created,
|
|
43
|
-
className: "jsx-
|
|
45
|
+
className: "jsx-3292109121"
|
|
44
46
|
}), /*#__PURE__*/React.createElement("div", {
|
|
45
|
-
className: "jsx-
|
|
47
|
+
className: "jsx-3292109121" + " " + 'thread'
|
|
46
48
|
}, /*#__PURE__*/React.createElement(Interpretation, {
|
|
47
49
|
currentUser: currentUser,
|
|
48
50
|
interpretation: interpretation,
|
|
@@ -52,9 +54,10 @@ const InterpretationThread = _ref => {
|
|
|
52
54
|
} : null,
|
|
53
55
|
onUpdated: () => onThreadUpdated(true),
|
|
54
56
|
onDeleted: onInterpretationDeleted,
|
|
57
|
+
dashboardRedirectUrl: dashboardRedirectUrl,
|
|
55
58
|
isInThread: true
|
|
56
59
|
}), /*#__PURE__*/React.createElement("div", {
|
|
57
|
-
className: "jsx-
|
|
60
|
+
className: "jsx-3292109121" + " " + 'comments'
|
|
58
61
|
}, interpretation.comments.map(comment => /*#__PURE__*/React.createElement(Comment, {
|
|
59
62
|
key: comment.id,
|
|
60
63
|
comment: comment,
|
|
@@ -68,14 +71,15 @@ const InterpretationThread = _ref => {
|
|
|
68
71
|
onSave: () => onThreadUpdated(true),
|
|
69
72
|
focusRef: focusRef
|
|
70
73
|
}), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
71
|
-
id: "
|
|
72
|
-
}, [".thread.jsx-
|
|
74
|
+
id: "3292109121"
|
|
75
|
+
}, [".thread.jsx-3292109121{margin-top:var(--spacers-dp16);overflow-y:auto;-webkit-scroll-behavior:smooth;-moz-scroll-behavior:smooth;-ms-scroll-behavior:smooth;scroll-behavior:smooth;}", ".dashboard.jsx-3292109121 .thread.jsx-3292109121{overflow-y:hidden;}", ".container.jsx-3292109121{position:relative;overflow:auto;max-height:calc(100vh - 285px);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".container.dashboard.jsx-3292109121{max-height:none;}", ".container.fetching.jsx-3292109121::before{content:'';position:absolute;inset:0px;background-color:rgba(255,255,255,0.8);}", ".container.fetching.jsx-3292109121::after{content:'';position:absolute;top:calc(50% - 12px);left:calc(50% - 12px);width:24px;height:24px;border-width:4px;border-style:solid;border-color:rgba(110,122,138,0.15) rgba(110,122,138,0.15) rgb(20,124,215);border-image:initial;border-radius:50%;-webkit-animation:1s linear 0s infinite normal none running rotation-jsx-3292109121;animation:1s linear 0s infinite normal none running rotation-jsx-3292109121;}", ".title.jsx-3292109121{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--spacers-dp8);color:var(--colors-grey900);font-size:14px;line-height:18px;}", ".comments.jsx-3292109121{padding-left:16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding-top:var(--spacers-dp4);gap:var(--spacers-dp4);}", "@-webkit-keyframes rotation-jsx-3292109121{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}", "@keyframes rotation-jsx-3292109121{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}"]));
|
|
73
76
|
};
|
|
74
77
|
InterpretationThread.propTypes = {
|
|
75
78
|
currentUser: PropTypes.object.isRequired,
|
|
76
79
|
fetching: PropTypes.bool.isRequired,
|
|
77
80
|
interpretation: PropTypes.object.isRequired,
|
|
78
81
|
onInterpretationDeleted: PropTypes.func.isRequired,
|
|
82
|
+
dashboardRedirectUrl: PropTypes.string,
|
|
79
83
|
downloadMenuComponent: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),
|
|
80
84
|
initialFocus: PropTypes.bool,
|
|
81
85
|
onThreadUpdated: PropTypes.func
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { InterpretationModal } from './InterpretationModal.js';
|
|
1
|
+
export { InterpretationModal } from './InterpretationModal.js';
|
|
2
|
+
export { InterpretationThread } from './InterpretationThread.js';
|
|
@@ -23,7 +23,8 @@ export const InterpretationList = _ref => {
|
|
|
23
23
|
onInterpretationClick,
|
|
24
24
|
onReplyIconClick,
|
|
25
25
|
refresh,
|
|
26
|
-
disabled
|
|
26
|
+
disabled,
|
|
27
|
+
dashboardRedirectUrl
|
|
27
28
|
} = _ref;
|
|
28
29
|
const {
|
|
29
30
|
fromServerDate
|
|
@@ -60,7 +61,8 @@ export const InterpretationList = _ref => {
|
|
|
60
61
|
onReplyIconClick: onReplyIconClick,
|
|
61
62
|
onDeleted: refresh,
|
|
62
63
|
onUpdated: refresh,
|
|
63
|
-
disabled: disabled
|
|
64
|
+
disabled: disabled,
|
|
65
|
+
dashboardRedirectUrl: dashboardRedirectUrl
|
|
64
66
|
}))))), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
65
67
|
id: "4058400613",
|
|
66
68
|
dynamic: [spacers.dp8, spacers.dp8, spacers.dp16, colors.grey800, spacers.dp12, spacers.dp12, spacers.dp32, spacers.dp4]
|
|
@@ -72,5 +74,6 @@ InterpretationList.propTypes = {
|
|
|
72
74
|
refresh: PropTypes.func.isRequired,
|
|
73
75
|
onInterpretationClick: PropTypes.func.isRequired,
|
|
74
76
|
onReplyIconClick: PropTypes.func.isRequired,
|
|
77
|
+
dashboardRedirectUrl: PropTypes.string,
|
|
75
78
|
disabled: PropTypes.bool
|
|
76
79
|
};
|
|
@@ -31,7 +31,8 @@ export const InterpretationsUnit = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
31
31
|
onInterpretationClick,
|
|
32
32
|
onReplyIconClick,
|
|
33
33
|
disabled,
|
|
34
|
-
renderId
|
|
34
|
+
renderId,
|
|
35
|
+
dashboardRedirectUrl
|
|
35
36
|
} = _ref2;
|
|
36
37
|
const [isExpanded, setIsExpanded] = useState(true);
|
|
37
38
|
const showNoTimeDimensionHelpText = type === 'eventVisualization' && !visualizationHasTimeDimension;
|
|
@@ -94,7 +95,8 @@ export const InterpretationsUnit = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
94
95
|
onInterpretationClick: onInterpretationClick,
|
|
95
96
|
onReplyIconClick: onReplyIconClick,
|
|
96
97
|
refresh: onCompleteAction,
|
|
97
|
-
disabled: disabled
|
|
98
|
+
disabled: disabled,
|
|
99
|
+
dashboardRedirectUrl: dashboardRedirectUrl
|
|
98
100
|
}))), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
99
101
|
id: "4120713286",
|
|
100
102
|
dynamic: [spacers.dp16, colors.grey400, colors.white, spacers.dp32, colors.grey900]
|
|
@@ -109,6 +111,7 @@ InterpretationsUnit.propTypes = {
|
|
|
109
111
|
currentUser: PropTypes.object.isRequired,
|
|
110
112
|
id: PropTypes.string.isRequired,
|
|
111
113
|
type: PropTypes.string.isRequired,
|
|
114
|
+
dashboardRedirectUrl: PropTypes.string,
|
|
112
115
|
disabled: PropTypes.bool,
|
|
113
116
|
renderId: PropTypes.number,
|
|
114
117
|
visualizationHasTimeDimension: PropTypes.bool,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i18n from '@dhis2/d2-i18n';
|
|
2
|
-
import { Button, SharingDialog, IconReply16, IconShare16, IconThumbUp16, IconEdit16 } from '@dhis2/ui';
|
|
2
|
+
import { Button, SharingDialog, IconReply16, IconShare16, IconThumbUp16, IconEdit16, IconLaunch16, IconView16 } from '@dhis2/ui';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import React, { useState } from 'react';
|
|
5
5
|
import { Message, MessageStatsBar, MessageIconButton, getInterpretationAccess } from '../index.js';
|
|
@@ -15,6 +15,7 @@ export const Interpretation = _ref => {
|
|
|
15
15
|
onDeleted,
|
|
16
16
|
disabled,
|
|
17
17
|
onReplyIconClick,
|
|
18
|
+
dashboardRedirectUrl,
|
|
18
19
|
isInThread
|
|
19
20
|
} = _ref;
|
|
20
21
|
const [isUpdateMode, setIsUpdateMode] = useState(false);
|
|
@@ -28,7 +29,7 @@ export const Interpretation = _ref => {
|
|
|
28
29
|
currentUser,
|
|
29
30
|
onComplete: onUpdated
|
|
30
31
|
});
|
|
31
|
-
const shouldShowButton = !!onClick && !disabled;
|
|
32
|
+
const shouldShowButton = Boolean(!!onClick && !disabled & !dashboardRedirectUrl);
|
|
32
33
|
const interpretationAccess = getInterpretationAccess(interpretation, currentUser);
|
|
33
34
|
let tooltip = i18n.t('Reply');
|
|
34
35
|
if (!interpretationAccess.comment) {
|
|
@@ -42,6 +43,9 @@ export const Interpretation = _ref => {
|
|
|
42
43
|
tooltip = i18n.t('View replies');
|
|
43
44
|
}
|
|
44
45
|
}
|
|
46
|
+
|
|
47
|
+
// Maps still uses old url style /?id= instead of hash
|
|
48
|
+
const getAppInterpretationUrl = () => dashboardRedirectUrl.includes('?') ? `${dashboardRedirectUrl}&interpretationId=${interpretation.id}` : `${dashboardRedirectUrl}?interpretationId=${interpretation.id}`;
|
|
45
49
|
return isUpdateMode ? /*#__PURE__*/React.createElement(InterpretationUpdateForm, {
|
|
46
50
|
close: () => setIsUpdateMode(false),
|
|
47
51
|
id: interpretation.id,
|
|
@@ -68,6 +72,16 @@ export const Interpretation = _ref => {
|
|
|
68
72
|
count: interpretation.comments.length,
|
|
69
73
|
dataTest: "interpretation-reply-button",
|
|
70
74
|
viewOnly: isInThread && !interpretationAccess.comment
|
|
75
|
+
}), dashboardRedirectUrl && !isInThread && /*#__PURE__*/React.createElement(MessageIconButton, {
|
|
76
|
+
tooltipContent: i18n.t('See interpretation'),
|
|
77
|
+
iconComponent: IconView16,
|
|
78
|
+
onClick: () => onClick(interpretation.id),
|
|
79
|
+
dataTest: "interpretation-view-button"
|
|
80
|
+
}), dashboardRedirectUrl && /*#__PURE__*/React.createElement(MessageIconButton, {
|
|
81
|
+
tooltipContent: i18n.t('Open in app'),
|
|
82
|
+
iconComponent: IconLaunch16,
|
|
83
|
+
onClick: () => window.open(getAppInterpretationUrl(), '_blank'),
|
|
84
|
+
dataTest: "interpretation-launch-in-app-button"
|
|
71
85
|
}), interpretationAccess.share && /*#__PURE__*/React.createElement(MessageIconButton, {
|
|
72
86
|
iconComponent: IconShare16,
|
|
73
87
|
tooltipContent: i18n.t('Share'),
|
|
@@ -101,6 +115,7 @@ Interpretation.propTypes = {
|
|
|
101
115
|
onDeleted: PropTypes.func.isRequired,
|
|
102
116
|
onReplyIconClick: PropTypes.func.isRequired,
|
|
103
117
|
onUpdated: PropTypes.func.isRequired,
|
|
118
|
+
dashboardRedirectUrl: PropTypes.string,
|
|
104
119
|
disabled: PropTypes.bool,
|
|
105
120
|
isInThread: PropTypes.bool,
|
|
106
121
|
onClick: PropTypes.func
|
package/build/es/index.js
CHANGED
|
@@ -16,8 +16,8 @@ export { preparePayloadForSaveAs } from './components/FileMenu/utils.js';
|
|
|
16
16
|
export { default as VisTypeIcon } from './components/VisTypeIcon.js';
|
|
17
17
|
export { default as LegendKey } from './components/LegendKey/LegendKey.js';
|
|
18
18
|
export { default as AboutAOUnit } from './components/AboutAOUnit/AboutAOUnit.js';
|
|
19
|
-
export { InterpretationsUnit } from './components/Interpretations/InterpretationsUnit/
|
|
20
|
-
export { InterpretationModal } from './components/Interpretations/InterpretationModal/
|
|
19
|
+
export { InterpretationsUnit } from './components/Interpretations/InterpretationsUnit/index.js';
|
|
20
|
+
export { InterpretationModal, InterpretationThread } from './components/Interpretations/InterpretationModal/index.js';
|
|
21
21
|
export * from './components/Toolbar/index.js';
|
|
22
22
|
export { TranslationDialog } from './components/TranslationDialog/index.js';
|
|
23
23
|
export { OfflineTooltip } from './components/OfflineTooltip.js';
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
"The interpretation couldn’t be displayed. Try again or contact your system administrator.": "Interpretaci se nepodařilo zobrazit. Zkuste to znovu nebo se obraťte na správce systému.",
|
|
119
119
|
"Hide interpretation": "Skrýt interpretaci",
|
|
120
120
|
"Write an interpretation": "Napsat interpretaci",
|
|
121
|
+
"Other people viewing this interpretation in the future may see more data.": "",
|
|
121
122
|
"Post interpretation": "Vložit interpretaci",
|
|
122
123
|
"Interpretations": "Interpretace",
|
|
123
124
|
"Reply": "Odpovědět",
|
|
@@ -197,7 +198,7 @@
|
|
|
197
198
|
"{{count}} groups_1": "{{count}} skupiny",
|
|
198
199
|
"{{count}} groups_2": "{{count}} skupin",
|
|
199
200
|
"{{count}} groups_3": "{{count}} skupin",
|
|
200
|
-
"Selected: {{commaSeparatedListOfOrganisationUnits}}": "Vybráno: {{
|
|
201
|
+
"Selected: {{commaSeparatedListOfOrganisationUnits}}": "Vybráno: {{commaSeparatedListOfOrganisationUnits}}",
|
|
201
202
|
"Nothing selected": "Není vybráno nic",
|
|
202
203
|
"User organisation unit": "Organizační jednotka uživatele",
|
|
203
204
|
"User sub-units": "Podjednotky uživatele",
|
|
@@ -125,8 +125,9 @@
|
|
|
125
125
|
"View replies": "View replies",
|
|
126
126
|
"Unlike": "Unlike",
|
|
127
127
|
"Like": "Like",
|
|
128
|
-
"Share": "Share",
|
|
129
128
|
"See interpretation": "See interpretation",
|
|
129
|
+
"Open in app": "Open in app",
|
|
130
|
+
"Share": "Share",
|
|
130
131
|
"Manage sharing": "Manage sharing",
|
|
131
132
|
"Could not update interpretation": "Could not update interpretation",
|
|
132
133
|
"Enter interpretation text": "Enter interpretation text",
|