@dhis2/analytics 21.2.4 → 21.3.2
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 +28 -0
- package/build/cjs/components/FileMenu/utils.js +1 -1
- package/build/cjs/components/OpenFileDialog/OpenFileDialog.js +1 -1
- package/build/cjs/components/OpenFileDialog/utils.js +20 -1
- package/build/cjs/locales/cs/translations.json +8 -8
- package/build/cjs/locales/en/translations.json +7 -0
- package/build/cjs/locales/nb/translations.json +53 -53
- package/build/es/components/FileMenu/utils.js +1 -1
- package/build/es/components/OpenFileDialog/OpenFileDialog.js +2 -2
- package/build/es/components/OpenFileDialog/utils.js +18 -0
- package/build/es/locales/cs/translations.json +8 -8
- package/build/es/locales/en/translations.json +7 -0
- package/build/es/locales/nb/translations.json +53 -53
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## [21.3.2](https://github.com/dhis2/analytics/compare/v21.3.1...v21.3.2) (2022-01-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* event visualization endpoint ([#1133](https://github.com/dhis2/analytics/issues/1133)) ([cefd746](https://github.com/dhis2/analytics/commit/cefd746989f37d1ec8686731c7a7300c5f10624a))
|
|
7
|
+
|
|
8
|
+
## [21.3.1](https://github.com/dhis2/analytics/compare/v21.3.0...v21.3.1) (2022-01-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **translations:** sync translations from transifex (master) ([0fd64dc](https://github.com/dhis2/analytics/commit/0fd64dcec04bb484291c1ba33cb90604970d360c))
|
|
14
|
+
|
|
15
|
+
# [21.3.0](https://github.com/dhis2/analytics/compare/v21.2.5...v21.3.0) (2022-01-17)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add event visualization ao type ([#1130](https://github.com/dhis2/analytics/issues/1130)) ([61ea5b2](https://github.com/dhis2/analytics/commit/61ea5b275dba604a8479b8c9ca1cc71677aa13aa))
|
|
21
|
+
|
|
22
|
+
## [21.2.5](https://github.com/dhis2/analytics/compare/v21.2.4...v21.2.5) (2022-01-07)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **translations:** sync translations from transifex (master) ([43ad8ce](https://github.com/dhis2/analytics/commit/43ad8cee13542f0fe634ebaca4c614b232069d6e))
|
|
28
|
+
|
|
1
29
|
## [21.2.4](https://github.com/dhis2/analytics/compare/v21.2.3...v21.2.4) (2022-01-06)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.appPathFor = exports.endpointFromFileType = exports.supportedFileTypes = void 0;
|
|
7
|
-
const supportedFileTypes = ['eventReport', 'visualization', 'map'];
|
|
7
|
+
const supportedFileTypes = ['eventReport', 'visualization', 'map', 'eventVisualization'];
|
|
8
8
|
exports.supportedFileTypes = supportedFileTypes;
|
|
9
9
|
|
|
10
10
|
const endpointFromFileType = fileType => {
|
|
@@ -126,7 +126,7 @@ const OpenFileDialog = ({
|
|
|
126
126
|
} // for ER 2.38 only show line list ER types
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
if (type === _utils.AO_TYPE_EVENT_REPORT) {
|
|
129
|
+
if (type === _utils.AO_TYPE_EVENT_REPORT || type === _utils.AO_TYPE_EVENT_VISUALIZATION) {
|
|
130
130
|
queryFilters.push('dataType:eq:EVENTS');
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getTranslatedString = exports.AOTypeMap = exports.AO_TYPE_EVENT_REPORT = exports.AO_TYPE_EVENT_CHART = exports.AO_TYPE_MAP = exports.AO_TYPE_VISUALIZATION = void 0;
|
|
6
|
+
exports.getTranslatedString = exports.AOTypeMap = exports.AO_TYPE_EVENT_VISUALIZATION = exports.AO_TYPE_EVENT_REPORT = exports.AO_TYPE_EVENT_CHART = exports.AO_TYPE_MAP = exports.AO_TYPE_VISUALIZATION = void 0;
|
|
7
7
|
|
|
8
8
|
var _d2I18n = _interopRequireDefault(require("@dhis2/d2-i18n"));
|
|
9
9
|
|
|
@@ -17,6 +17,8 @@ const AO_TYPE_EVENT_CHART = 'eventChart';
|
|
|
17
17
|
exports.AO_TYPE_EVENT_CHART = AO_TYPE_EVENT_CHART;
|
|
18
18
|
const AO_TYPE_EVENT_REPORT = 'eventReport';
|
|
19
19
|
exports.AO_TYPE_EVENT_REPORT = AO_TYPE_EVENT_REPORT;
|
|
20
|
+
const AO_TYPE_EVENT_VISUALIZATION = 'eventVisualization';
|
|
21
|
+
exports.AO_TYPE_EVENT_VISUALIZATION = AO_TYPE_EVENT_VISUALIZATION;
|
|
20
22
|
const AOTypeMap = {
|
|
21
23
|
[AO_TYPE_VISUALIZATION]: {
|
|
22
24
|
apiEndpoint: 'visualizations'
|
|
@@ -29,6 +31,9 @@ const AOTypeMap = {
|
|
|
29
31
|
},
|
|
30
32
|
[AO_TYPE_EVENT_REPORT]: {
|
|
31
33
|
apiEndpoint: 'eventReports'
|
|
34
|
+
},
|
|
35
|
+
[AO_TYPE_EVENT_VISUALIZATION]: {
|
|
36
|
+
apiEndpoint: 'eventVisualizations'
|
|
32
37
|
}
|
|
33
38
|
};
|
|
34
39
|
exports.AOTypeMap = AOTypeMap;
|
|
@@ -86,6 +91,20 @@ const getTranslatedString = (type, key) => {
|
|
|
86
91
|
};
|
|
87
92
|
break;
|
|
88
93
|
}
|
|
94
|
+
|
|
95
|
+
case 'eventVisualization':
|
|
96
|
+
{
|
|
97
|
+
texts = {
|
|
98
|
+
modalTitle: _d2I18n.default.t('Open an event visualization'),
|
|
99
|
+
loadingText: _d2I18n.default.t('Loading event visualizations'),
|
|
100
|
+
errorTitle: _d2I18n.default.t("Couldn't load event visualizations"),
|
|
101
|
+
errorText: _d2I18n.default.t('There was a problem loading event visualizations. Try again or contact your system administrator.'),
|
|
102
|
+
noDataText: _d2I18n.default.t('No event visualizations found. Click New event visualization to get started.'),
|
|
103
|
+
noFilteredDataText: _d2I18n.default.t("No event visualizations found. Try adjusting your search or filter options to find what you're looking for."),
|
|
104
|
+
newButtonLabel: _d2I18n.default.t('New event visualization')
|
|
105
|
+
};
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
89
108
|
}
|
|
90
109
|
|
|
91
110
|
return texts[key];
|
|
@@ -230,14 +230,14 @@
|
|
|
230
230
|
"Six-months": "Půlrok",
|
|
231
231
|
"Financial Years": "Finanční roky",
|
|
232
232
|
"Years": "Let",
|
|
233
|
-
"Translating to": "",
|
|
234
|
-
"Choose a locale": "",
|
|
235
|
-
"Base locale reference": "",
|
|
236
|
-
"Choose a locale to translate from the menu above": "",
|
|
237
|
-
"Translate: {{objectName}}": "",
|
|
238
|
-
"Save translations": "",
|
|
239
|
-
"Could not load translations": "",
|
|
240
|
-
"Retry": "",
|
|
233
|
+
"Translating to": "Překlad do",
|
|
234
|
+
"Choose a locale": "Vyberte národní prostředí",
|
|
235
|
+
"Base locale reference": "Odkaz na základní národní prostředí",
|
|
236
|
+
"Choose a locale to translate from the menu above": "Z nabídky výše vyberte národní prostředí, které chcete přeložit",
|
|
237
|
+
"Translate: {{objectName}}": "Přeložit: {{objectName}}",
|
|
238
|
+
"Save translations": "Uložit překlady",
|
|
239
|
+
"Could not load translations": "Nelze načíst překlady",
|
|
240
|
+
"Retry": "Opakovat",
|
|
241
241
|
"Series": "Série",
|
|
242
242
|
"Category": "Kategorie",
|
|
243
243
|
"Filter": "Filtr",
|
|
@@ -115,6 +115,13 @@
|
|
|
115
115
|
"No event reports found. Click New event report to get started.": "No event reports found. Click New event report to get started.",
|
|
116
116
|
"No event reports found. Try adjusting your search or filter options to find what you're looking for.": "No event reports found. Try adjusting your search or filter options to find what you're looking for.",
|
|
117
117
|
"New event report": "New event report",
|
|
118
|
+
"Open an event visualization": "Open an event visualization",
|
|
119
|
+
"Loading event visualizations": "Loading event visualizations",
|
|
120
|
+
"Couldn't load event visualizations": "Couldn't load event visualizations",
|
|
121
|
+
"There was a problem loading event visualizations. Try again or contact your system administrator.": "There was a problem loading event visualizations. Try again or contact your system administrator.",
|
|
122
|
+
"No event visualizations found. Click New event visualization to get started.": "No event visualizations found. Click New event visualization to get started.",
|
|
123
|
+
"No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.",
|
|
124
|
+
"New event visualization": "New event visualization",
|
|
118
125
|
"Options": "Options",
|
|
119
126
|
"Hide": "Hide",
|
|
120
127
|
"Update": "Update",
|
|
@@ -1,43 +1,43 @@
|
|
|
1
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
|
-
"About this visualization": "",
|
|
2
|
+
"view only": "kun visning",
|
|
3
|
+
"view and edit": "vis og endre",
|
|
4
|
+
"all users ({{accessLevel}})": "alle brukere ({{accessLevel}})",
|
|
5
|
+
"{{userOrGroup}} ({{accessLevel}})": "{{userOrGroup}} ({{accessLevel}})",
|
|
6
|
+
"Shared with {{commaSeparatedListOfUsersAndGroups}}": "Delt med {{commaSeparatedListOfUsersAndGroups}}",
|
|
7
|
+
"Not shared with any users or groups": "Ikke delt med noen brukere eller grupper",
|
|
8
|
+
"About this visualization": "Om denne visualiseringen",
|
|
9
9
|
"No description": "Ingen beskrivelse",
|
|
10
|
-
"Last updated {{time}}": "",
|
|
11
|
-
"Created {{time}} by {{author}}": "",
|
|
12
|
-
"Viewed {{count}} times": "",
|
|
13
|
-
"Viewed {{count}} times_plural": "",
|
|
10
|
+
"Last updated {{time}}": "Sist oppdatert {{time}}",
|
|
11
|
+
"Created {{time}} by {{author}}": "Opprettet {{time}} av {{author}}",
|
|
12
|
+
"Viewed {{count}} times": "Vist 1 gang",
|
|
13
|
+
"Viewed {{count}} times_plural": "Vist {{count}} ganger",
|
|
14
14
|
"Notifications": "Varsler",
|
|
15
|
-
"You're subscribed and getting updates about new interpretations.": "",
|
|
16
|
-
"Unsubscribe": "",
|
|
17
|
-
"Subscribe to get updates about new interpretations.": "",
|
|
18
|
-
"Subscribe": "",
|
|
15
|
+
"You're subscribed and getting updates about new interpretations.": "Du abonnerer og får oppdateringer om nye tolkninger.",
|
|
16
|
+
"Unsubscribe": "Avslutt abonnementet",
|
|
17
|
+
"Subscribe to get updates about new interpretations.": "Abonner for å få oppdateringer om nye tolkninger.",
|
|
18
|
+
"Subscribe": "Abonner",
|
|
19
19
|
"Data Type": "Datatype",
|
|
20
20
|
"All types": "Alle typer",
|
|
21
|
-
"Totals only": "",
|
|
22
|
-
"Details only": "",
|
|
21
|
+
"Totals only": "Kun totaler",
|
|
22
|
+
"Details only": "Kun detaljer",
|
|
23
23
|
"Disaggregation": "Disaggregering",
|
|
24
24
|
"No data": "Ingen data",
|
|
25
25
|
"Loading": "Laster",
|
|
26
|
-
"Search by data item name": "",
|
|
26
|
+
"Search by data item name": "Søk etter datapunktnavn",
|
|
27
27
|
"No items selected": "Ingen elementer er valgt",
|
|
28
28
|
"Selected Items": "Valgte elementer",
|
|
29
|
-
"No indicators found": "",
|
|
30
|
-
"No data elements found": "",
|
|
31
|
-
"No data sets found": "",
|
|
32
|
-
"No event data items found": "",
|
|
33
|
-
"No program indicators found": "",
|
|
34
|
-
"No indicators found for \"{{- searchTerm}}\"": "",
|
|
35
|
-
"No data elements found for \"{{- searchTerm}}\"": "",
|
|
36
|
-
"No data sets found for \"{{- searchTerm}}\"": "",
|
|
37
|
-
"No event data items found for \"{{- searchTerm}}\"": "",
|
|
38
|
-
"No program indicators found for \"{{- searchTerm}}\"": "",
|
|
39
|
-
"Nothing found for \"{{- searchTerm}}\"": "",
|
|
40
|
-
"Metric type": "",
|
|
29
|
+
"No indicators found": "Ingen indikatorer funnet",
|
|
30
|
+
"No data elements found": "Ingen dataelementer funnet",
|
|
31
|
+
"No data sets found": "Ingen datasett funnet",
|
|
32
|
+
"No event data items found": "Ingen hendelsesdataelementer funnet",
|
|
33
|
+
"No program indicators found": "Ingen programindikatorer funnet",
|
|
34
|
+
"No indicators found for \"{{- searchTerm}}\"": "Ingen indikatorer funnet for \"{{- searchTerm}}\"",
|
|
35
|
+
"No data elements found for \"{{- searchTerm}}\"": "Ingen dataelementer funnet for \"{{- searchTerm}}\"",
|
|
36
|
+
"No data sets found for \"{{- searchTerm}}\"": "Ingen datasett funnet for \"{{- searchTerm}}\"",
|
|
37
|
+
"No event data items found for \"{{- searchTerm}}\"": "Ingen hendelsesdataelementer funnet for \"{{- searchTerm}}\"",
|
|
38
|
+
"No program indicators found for \"{{- searchTerm}}\"": "Ingen programindikatorer funnet for \"{{- searchTerm}}\"",
|
|
39
|
+
"Nothing found for \"{{- searchTerm}}\"": "Ingenting funnet for \"{{- searchTerm}}\"",
|
|
40
|
+
"Metric type": "Metrisk type",
|
|
41
41
|
"All metrics": "Alle beregninger",
|
|
42
42
|
"Move to {{axisName}}": "Flytt til {{axisName}}",
|
|
43
43
|
"Add to {{axisName}}": "Legg til {{axisName}}",
|
|
@@ -49,49 +49,49 @@
|
|
|
49
49
|
"Main dimensions": "Hoveddimensjoner",
|
|
50
50
|
"Your dimensions": "Dine dimensjoner",
|
|
51
51
|
"Dimension recommended with selected data": "Dimensjon anbefalt med valgte data",
|
|
52
|
-
"All items": "",
|
|
53
|
-
"Automatically include all items": "",
|
|
54
|
-
"Select all {{- dimensionTitle}} items. With this option, new items added in the future will be automatically included.": "",
|
|
55
|
-
"Manually select items...": "",
|
|
56
|
-
"Nothing found in {{- dimensionTitle}}": "",
|
|
52
|
+
"All items": "Alle elementer",
|
|
53
|
+
"Automatically include all items": "Inkluder automatisk alle elementer",
|
|
54
|
+
"Select all {{- dimensionTitle}} items. With this option, new items added in the future will be automatically included.": "Velg alle {{- dimensionTitle}} elementer. Med dette alternativet vil nye elementer som legges til i fremtiden automatisk inkluderes.",
|
|
55
|
+
"Manually select items...": "Velg elementer manuelt...",
|
|
56
|
+
"Nothing found in {{- dimensionTitle}}": "Ingenting funnet i {{- dimensionTitle}}",
|
|
57
57
|
"Search": "Søk",
|
|
58
|
-
"Nothing found for {{searchTerm}}": "",
|
|
59
|
-
"Delete {{fileType}}": "",
|
|
60
|
-
"This {{fileType}} and related interpretations will be deleted. Continue?": "",
|
|
58
|
+
"Nothing found for {{searchTerm}}": "Ingenting funnet for {{searchTerm}}",
|
|
59
|
+
"Delete {{fileType}}": "Slett {{fileType}}",
|
|
60
|
+
"This {{fileType}} and related interpretations will be deleted. Continue?": "Denne {{fileType}} og relaterte tolkninger vil bli slettet. Fortsette?",
|
|
61
61
|
"Cancel": "Avbryt",
|
|
62
62
|
"Delete": "Slett",
|
|
63
63
|
"File": "Fil",
|
|
64
64
|
"New": "Ny",
|
|
65
|
-
"Open…": "",
|
|
65
|
+
"Open…": "Åpne...",
|
|
66
66
|
"Save": "Lagre",
|
|
67
|
-
"Save…": "",
|
|
68
|
-
"Save as…": "",
|
|
69
|
-
"Rename…": "",
|
|
70
|
-
"Translate…": "",
|
|
71
|
-
"Share…": "",
|
|
72
|
-
"Get link…": "",
|
|
67
|
+
"Save…": "Lagre...",
|
|
68
|
+
"Save as…": "Lagre som...",
|
|
69
|
+
"Rename…": "Gi nytt navn...",
|
|
70
|
+
"Translate…": "Oversette...",
|
|
71
|
+
"Share…": "Dele...",
|
|
72
|
+
"Get link…": "Få lenke…",
|
|
73
73
|
"Open in this app": "Åpne i denne appen",
|
|
74
74
|
"Close": "Lukk",
|
|
75
|
-
"Rename {{fileType}}": "",
|
|
75
|
+
"Rename {{fileType}}": "Gi nytt navn til {{fileType}}",
|
|
76
76
|
"Name": "Navn",
|
|
77
77
|
"Description": "Beskrivelse",
|
|
78
78
|
"Rename": "Gi nytt navn",
|
|
79
|
-
"Save {{fileType}} as": "",
|
|
79
|
+
"Save {{fileType}} as": "Lagre {{fileType}} som",
|
|
80
80
|
"Created by": "Opprettet av",
|
|
81
81
|
"Anyone": "Hvem som helst",
|
|
82
|
-
"Only you": "",
|
|
82
|
+
"Only you": "Bare deg",
|
|
83
83
|
"Others": "Andre",
|
|
84
84
|
"Filter by name": "Filtrer etter navn",
|
|
85
85
|
"Created": "Opprettet",
|
|
86
86
|
"Last updated": "Sist oppdatert",
|
|
87
87
|
"Type": "Type",
|
|
88
88
|
"Clear filters": "Tøm filtre",
|
|
89
|
-
"{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "",
|
|
90
|
-
"All charts": "",
|
|
89
|
+
"{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "{{firstItemIndex}}-{{lastItemIndex}} av {{totalNumberOfItems}}",
|
|
90
|
+
"All charts": "Alle diagrammer",
|
|
91
91
|
"Open": "Åpne",
|
|
92
|
-
"Couldn't load items": "",
|
|
93
|
-
"There was a problem loading items. Try again or contact your system administrator.": "",
|
|
94
|
-
"No items found. Create a new to get started.": "",
|
|
92
|
+
"Couldn't load items": "Kunne ikke laste inn elementer",
|
|
93
|
+
"There was a problem loading items. Try again or contact your system administrator.": "Det oppsto et problem med å laste elementer. Prøv igjen eller kontakt systemadministratoren.",
|
|
94
|
+
"No items found. Create a new to get started.": "Ingen elementer funnet. Opprett en ny for å komme i gang.",
|
|
95
95
|
"No items found. Try adjusting your search or filter options to find what you're looking for.": "",
|
|
96
96
|
"Create new": "Opprett ny",
|
|
97
97
|
"Open a visualization": "",
|
|
@@ -10,7 +10,7 @@ import { FileList } from './FileList.js';
|
|
|
10
10
|
import { NameFilter } from './NameFilter.js';
|
|
11
11
|
import { styles } from './OpenFileDialog.styles.js';
|
|
12
12
|
import { PaginationControls } from './PaginationControls.js';
|
|
13
|
-
import { getTranslatedString, AO_TYPE_VISUALIZATION, AO_TYPE_EVENT_REPORT, AOTypeMap } from './utils.js';
|
|
13
|
+
import { getTranslatedString, AO_TYPE_VISUALIZATION, AO_TYPE_EVENT_REPORT, AO_TYPE_EVENT_VISUALIZATION, AOTypeMap } from './utils.js';
|
|
14
14
|
import { VisTypeFilter, VIS_TYPE_ALL, VIS_TYPE_CHARTS } from './VisTypeFilter.js';
|
|
15
15
|
|
|
16
16
|
const getQuery = type => ({
|
|
@@ -100,7 +100,7 @@ export const OpenFileDialog = ({
|
|
|
100
100
|
} // for ER 2.38 only show line list ER types
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
if (type === AO_TYPE_EVENT_REPORT) {
|
|
103
|
+
if (type === AO_TYPE_EVENT_REPORT || type === AO_TYPE_EVENT_VISUALIZATION) {
|
|
104
104
|
queryFilters.push('dataType:eq:EVENTS');
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -3,6 +3,7 @@ export const AO_TYPE_VISUALIZATION = 'visualization';
|
|
|
3
3
|
export const AO_TYPE_MAP = 'map';
|
|
4
4
|
export const AO_TYPE_EVENT_CHART = 'eventChart';
|
|
5
5
|
export const AO_TYPE_EVENT_REPORT = 'eventReport';
|
|
6
|
+
export const AO_TYPE_EVENT_VISUALIZATION = 'eventVisualization';
|
|
6
7
|
export const AOTypeMap = {
|
|
7
8
|
[AO_TYPE_VISUALIZATION]: {
|
|
8
9
|
apiEndpoint: 'visualizations'
|
|
@@ -15,6 +16,9 @@ export const AOTypeMap = {
|
|
|
15
16
|
},
|
|
16
17
|
[AO_TYPE_EVENT_REPORT]: {
|
|
17
18
|
apiEndpoint: 'eventReports'
|
|
19
|
+
},
|
|
20
|
+
[AO_TYPE_EVENT_VISUALIZATION]: {
|
|
21
|
+
apiEndpoint: 'eventVisualizations'
|
|
18
22
|
}
|
|
19
23
|
};
|
|
20
24
|
export const getTranslatedString = (type, key) => {
|
|
@@ -70,6 +74,20 @@ export const getTranslatedString = (type, key) => {
|
|
|
70
74
|
};
|
|
71
75
|
break;
|
|
72
76
|
}
|
|
77
|
+
|
|
78
|
+
case 'eventVisualization':
|
|
79
|
+
{
|
|
80
|
+
texts = {
|
|
81
|
+
modalTitle: i18n.t('Open an event visualization'),
|
|
82
|
+
loadingText: i18n.t('Loading event visualizations'),
|
|
83
|
+
errorTitle: i18n.t("Couldn't load event visualizations"),
|
|
84
|
+
errorText: i18n.t('There was a problem loading event visualizations. Try again or contact your system administrator.'),
|
|
85
|
+
noDataText: i18n.t('No event visualizations found. Click New event visualization to get started.'),
|
|
86
|
+
noFilteredDataText: i18n.t("No event visualizations found. Try adjusting your search or filter options to find what you're looking for."),
|
|
87
|
+
newButtonLabel: i18n.t('New event visualization')
|
|
88
|
+
};
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
73
91
|
}
|
|
74
92
|
|
|
75
93
|
return texts[key];
|
|
@@ -230,14 +230,14 @@
|
|
|
230
230
|
"Six-months": "Půlrok",
|
|
231
231
|
"Financial Years": "Finanční roky",
|
|
232
232
|
"Years": "Let",
|
|
233
|
-
"Translating to": "",
|
|
234
|
-
"Choose a locale": "",
|
|
235
|
-
"Base locale reference": "",
|
|
236
|
-
"Choose a locale to translate from the menu above": "",
|
|
237
|
-
"Translate: {{objectName}}": "",
|
|
238
|
-
"Save translations": "",
|
|
239
|
-
"Could not load translations": "",
|
|
240
|
-
"Retry": "",
|
|
233
|
+
"Translating to": "Překlad do",
|
|
234
|
+
"Choose a locale": "Vyberte národní prostředí",
|
|
235
|
+
"Base locale reference": "Odkaz na základní národní prostředí",
|
|
236
|
+
"Choose a locale to translate from the menu above": "Z nabídky výše vyberte národní prostředí, které chcete přeložit",
|
|
237
|
+
"Translate: {{objectName}}": "Přeložit: {{objectName}}",
|
|
238
|
+
"Save translations": "Uložit překlady",
|
|
239
|
+
"Could not load translations": "Nelze načíst překlady",
|
|
240
|
+
"Retry": "Opakovat",
|
|
241
241
|
"Series": "Série",
|
|
242
242
|
"Category": "Kategorie",
|
|
243
243
|
"Filter": "Filtr",
|
|
@@ -115,6 +115,13 @@
|
|
|
115
115
|
"No event reports found. Click New event report to get started.": "No event reports found. Click New event report to get started.",
|
|
116
116
|
"No event reports found. Try adjusting your search or filter options to find what you're looking for.": "No event reports found. Try adjusting your search or filter options to find what you're looking for.",
|
|
117
117
|
"New event report": "New event report",
|
|
118
|
+
"Open an event visualization": "Open an event visualization",
|
|
119
|
+
"Loading event visualizations": "Loading event visualizations",
|
|
120
|
+
"Couldn't load event visualizations": "Couldn't load event visualizations",
|
|
121
|
+
"There was a problem loading event visualizations. Try again or contact your system administrator.": "There was a problem loading event visualizations. Try again or contact your system administrator.",
|
|
122
|
+
"No event visualizations found. Click New event visualization to get started.": "No event visualizations found. Click New event visualization to get started.",
|
|
123
|
+
"No event visualizations found. Try adjusting your search or filter options to find what you're looking for.": "No event visualizations found. Try adjusting your search or filter options to find what you're looking for.",
|
|
124
|
+
"New event visualization": "New event visualization",
|
|
118
125
|
"Options": "Options",
|
|
119
126
|
"Hide": "Hide",
|
|
120
127
|
"Update": "Update",
|
|
@@ -1,43 +1,43 @@
|
|
|
1
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
|
-
"About this visualization": "",
|
|
2
|
+
"view only": "kun visning",
|
|
3
|
+
"view and edit": "vis og endre",
|
|
4
|
+
"all users ({{accessLevel}})": "alle brukere ({{accessLevel}})",
|
|
5
|
+
"{{userOrGroup}} ({{accessLevel}})": "{{userOrGroup}} ({{accessLevel}})",
|
|
6
|
+
"Shared with {{commaSeparatedListOfUsersAndGroups}}": "Delt med {{commaSeparatedListOfUsersAndGroups}}",
|
|
7
|
+
"Not shared with any users or groups": "Ikke delt med noen brukere eller grupper",
|
|
8
|
+
"About this visualization": "Om denne visualiseringen",
|
|
9
9
|
"No description": "Ingen beskrivelse",
|
|
10
|
-
"Last updated {{time}}": "",
|
|
11
|
-
"Created {{time}} by {{author}}": "",
|
|
12
|
-
"Viewed {{count}} times": "",
|
|
13
|
-
"Viewed {{count}} times_plural": "",
|
|
10
|
+
"Last updated {{time}}": "Sist oppdatert {{time}}",
|
|
11
|
+
"Created {{time}} by {{author}}": "Opprettet {{time}} av {{author}}",
|
|
12
|
+
"Viewed {{count}} times": "Vist 1 gang",
|
|
13
|
+
"Viewed {{count}} times_plural": "Vist {{count}} ganger",
|
|
14
14
|
"Notifications": "Varsler",
|
|
15
|
-
"You're subscribed and getting updates about new interpretations.": "",
|
|
16
|
-
"Unsubscribe": "",
|
|
17
|
-
"Subscribe to get updates about new interpretations.": "",
|
|
18
|
-
"Subscribe": "",
|
|
15
|
+
"You're subscribed and getting updates about new interpretations.": "Du abonnerer og får oppdateringer om nye tolkninger.",
|
|
16
|
+
"Unsubscribe": "Avslutt abonnementet",
|
|
17
|
+
"Subscribe to get updates about new interpretations.": "Abonner for å få oppdateringer om nye tolkninger.",
|
|
18
|
+
"Subscribe": "Abonner",
|
|
19
19
|
"Data Type": "Datatype",
|
|
20
20
|
"All types": "Alle typer",
|
|
21
|
-
"Totals only": "",
|
|
22
|
-
"Details only": "",
|
|
21
|
+
"Totals only": "Kun totaler",
|
|
22
|
+
"Details only": "Kun detaljer",
|
|
23
23
|
"Disaggregation": "Disaggregering",
|
|
24
24
|
"No data": "Ingen data",
|
|
25
25
|
"Loading": "Laster",
|
|
26
|
-
"Search by data item name": "",
|
|
26
|
+
"Search by data item name": "Søk etter datapunktnavn",
|
|
27
27
|
"No items selected": "Ingen elementer er valgt",
|
|
28
28
|
"Selected Items": "Valgte elementer",
|
|
29
|
-
"No indicators found": "",
|
|
30
|
-
"No data elements found": "",
|
|
31
|
-
"No data sets found": "",
|
|
32
|
-
"No event data items found": "",
|
|
33
|
-
"No program indicators found": "",
|
|
34
|
-
"No indicators found for \"{{- searchTerm}}\"": "",
|
|
35
|
-
"No data elements found for \"{{- searchTerm}}\"": "",
|
|
36
|
-
"No data sets found for \"{{- searchTerm}}\"": "",
|
|
37
|
-
"No event data items found for \"{{- searchTerm}}\"": "",
|
|
38
|
-
"No program indicators found for \"{{- searchTerm}}\"": "",
|
|
39
|
-
"Nothing found for \"{{- searchTerm}}\"": "",
|
|
40
|
-
"Metric type": "",
|
|
29
|
+
"No indicators found": "Ingen indikatorer funnet",
|
|
30
|
+
"No data elements found": "Ingen dataelementer funnet",
|
|
31
|
+
"No data sets found": "Ingen datasett funnet",
|
|
32
|
+
"No event data items found": "Ingen hendelsesdataelementer funnet",
|
|
33
|
+
"No program indicators found": "Ingen programindikatorer funnet",
|
|
34
|
+
"No indicators found for \"{{- searchTerm}}\"": "Ingen indikatorer funnet for \"{{- searchTerm}}\"",
|
|
35
|
+
"No data elements found for \"{{- searchTerm}}\"": "Ingen dataelementer funnet for \"{{- searchTerm}}\"",
|
|
36
|
+
"No data sets found for \"{{- searchTerm}}\"": "Ingen datasett funnet for \"{{- searchTerm}}\"",
|
|
37
|
+
"No event data items found for \"{{- searchTerm}}\"": "Ingen hendelsesdataelementer funnet for \"{{- searchTerm}}\"",
|
|
38
|
+
"No program indicators found for \"{{- searchTerm}}\"": "Ingen programindikatorer funnet for \"{{- searchTerm}}\"",
|
|
39
|
+
"Nothing found for \"{{- searchTerm}}\"": "Ingenting funnet for \"{{- searchTerm}}\"",
|
|
40
|
+
"Metric type": "Metrisk type",
|
|
41
41
|
"All metrics": "Alle beregninger",
|
|
42
42
|
"Move to {{axisName}}": "Flytt til {{axisName}}",
|
|
43
43
|
"Add to {{axisName}}": "Legg til {{axisName}}",
|
|
@@ -49,49 +49,49 @@
|
|
|
49
49
|
"Main dimensions": "Hoveddimensjoner",
|
|
50
50
|
"Your dimensions": "Dine dimensjoner",
|
|
51
51
|
"Dimension recommended with selected data": "Dimensjon anbefalt med valgte data",
|
|
52
|
-
"All items": "",
|
|
53
|
-
"Automatically include all items": "",
|
|
54
|
-
"Select all {{- dimensionTitle}} items. With this option, new items added in the future will be automatically included.": "",
|
|
55
|
-
"Manually select items...": "",
|
|
56
|
-
"Nothing found in {{- dimensionTitle}}": "",
|
|
52
|
+
"All items": "Alle elementer",
|
|
53
|
+
"Automatically include all items": "Inkluder automatisk alle elementer",
|
|
54
|
+
"Select all {{- dimensionTitle}} items. With this option, new items added in the future will be automatically included.": "Velg alle {{- dimensionTitle}} elementer. Med dette alternativet vil nye elementer som legges til i fremtiden automatisk inkluderes.",
|
|
55
|
+
"Manually select items...": "Velg elementer manuelt...",
|
|
56
|
+
"Nothing found in {{- dimensionTitle}}": "Ingenting funnet i {{- dimensionTitle}}",
|
|
57
57
|
"Search": "Søk",
|
|
58
|
-
"Nothing found for {{searchTerm}}": "",
|
|
59
|
-
"Delete {{fileType}}": "",
|
|
60
|
-
"This {{fileType}} and related interpretations will be deleted. Continue?": "",
|
|
58
|
+
"Nothing found for {{searchTerm}}": "Ingenting funnet for {{searchTerm}}",
|
|
59
|
+
"Delete {{fileType}}": "Slett {{fileType}}",
|
|
60
|
+
"This {{fileType}} and related interpretations will be deleted. Continue?": "Denne {{fileType}} og relaterte tolkninger vil bli slettet. Fortsette?",
|
|
61
61
|
"Cancel": "Avbryt",
|
|
62
62
|
"Delete": "Slett",
|
|
63
63
|
"File": "Fil",
|
|
64
64
|
"New": "Ny",
|
|
65
|
-
"Open…": "",
|
|
65
|
+
"Open…": "Åpne...",
|
|
66
66
|
"Save": "Lagre",
|
|
67
|
-
"Save…": "",
|
|
68
|
-
"Save as…": "",
|
|
69
|
-
"Rename…": "",
|
|
70
|
-
"Translate…": "",
|
|
71
|
-
"Share…": "",
|
|
72
|
-
"Get link…": "",
|
|
67
|
+
"Save…": "Lagre...",
|
|
68
|
+
"Save as…": "Lagre som...",
|
|
69
|
+
"Rename…": "Gi nytt navn...",
|
|
70
|
+
"Translate…": "Oversette...",
|
|
71
|
+
"Share…": "Dele...",
|
|
72
|
+
"Get link…": "Få lenke…",
|
|
73
73
|
"Open in this app": "Åpne i denne appen",
|
|
74
74
|
"Close": "Lukk",
|
|
75
|
-
"Rename {{fileType}}": "",
|
|
75
|
+
"Rename {{fileType}}": "Gi nytt navn til {{fileType}}",
|
|
76
76
|
"Name": "Navn",
|
|
77
77
|
"Description": "Beskrivelse",
|
|
78
78
|
"Rename": "Gi nytt navn",
|
|
79
|
-
"Save {{fileType}} as": "",
|
|
79
|
+
"Save {{fileType}} as": "Lagre {{fileType}} som",
|
|
80
80
|
"Created by": "Opprettet av",
|
|
81
81
|
"Anyone": "Hvem som helst",
|
|
82
|
-
"Only you": "",
|
|
82
|
+
"Only you": "Bare deg",
|
|
83
83
|
"Others": "Andre",
|
|
84
84
|
"Filter by name": "Filtrer etter navn",
|
|
85
85
|
"Created": "Opprettet",
|
|
86
86
|
"Last updated": "Sist oppdatert",
|
|
87
87
|
"Type": "Type",
|
|
88
88
|
"Clear filters": "Tøm filtre",
|
|
89
|
-
"{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "",
|
|
90
|
-
"All charts": "",
|
|
89
|
+
"{{firstItemIndex}}-{{lastItemIndex}} of {{totalNumberOfItems}}": "{{firstItemIndex}}-{{lastItemIndex}} av {{totalNumberOfItems}}",
|
|
90
|
+
"All charts": "Alle diagrammer",
|
|
91
91
|
"Open": "Åpne",
|
|
92
|
-
"Couldn't load items": "",
|
|
93
|
-
"There was a problem loading items. Try again or contact your system administrator.": "",
|
|
94
|
-
"No items found. Create a new to get started.": "",
|
|
92
|
+
"Couldn't load items": "Kunne ikke laste inn elementer",
|
|
93
|
+
"There was a problem loading items. Try again or contact your system administrator.": "Det oppsto et problem med å laste elementer. Prøv igjen eller kontakt systemadministratoren.",
|
|
94
|
+
"No items found. Create a new to get started.": "Ingen elementer funnet. Opprett en ny for å komme i gang.",
|
|
95
95
|
"No items found. Try adjusting your search or filter options to find what you're looking for.": "",
|
|
96
96
|
"Create new": "Opprett ny",
|
|
97
97
|
"Open a visualization": "",
|