Skip to content

Commit 87b2284

Browse files
authored
Merge pull request #17 from EyeSeeTea/development
Development
2 parents c5d2e60 + 4e4af28 commit 87b2284

File tree

30 files changed

+4084
-4343
lines changed

30 files changed

+4084
-4343
lines changed

.eslintrc.js

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,35 @@
33
module.exports = {
44
extends: [
55
"react-app",
6-
"prettier",
76
"eslint:recommended",
7+
"plugin:react/recommended",
88
"plugin:@typescript-eslint/recommended",
9+
"prettier/@typescript-eslint",
10+
"plugin:prettier/recommended",
911
],
1012
rules: {
1113
"no-console": "off",
12-
"@typescript-eslint/camelcase": "off",
13-
"@typescript-eslint/no-parameter-properties": "off",
14-
"@typescript-eslint/explicit-member-accessibility": "off",
14+
"@typescript-eslint/explicit-function-return-type": ["off"],
15+
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
16+
"react/prop-types": "off",
17+
"react/display-name": "off",
18+
"no-unused-expressions": "off",
19+
"no-useless-concat": "off",
20+
"no-useless-constructor": "off",
21+
"default-case": "off",
22+
"@typescript-eslint/no-use-before-define": "off",
1523
"@typescript-eslint/no-explicit-any": "off",
16-
"@typescript-eslint/indent": "off",
17-
"@typescript-eslint/member-delimiter-style": "off",
18-
"@typescript-eslint/type-annotation-spacing": "off",
19-
"no-extra-semi": "off",
20-
"no-mixed-spaces-and-tabs": "off",
21-
"react-hooks/rules-of-hooks": "error",
22-
"react-hooks/exhaustive-deps": "warn",
24+
"@typescript-eslint/no-empty-interface": "off",
25+
"@typescript-eslint/ban-ts-ignore": "off",
26+
"@typescript-eslint/no-empty-function": "off",
27+
"@typescript-eslint/explicit-module-boundary-types": "off",
28+
"@typescript-eslint/ban-types": "off",
29+
"react-hooks/exhaustive-deps": "error",
2330
},
24-
plugins: ["@typescript-eslint", "react-hooks"],
2531
settings: {
2632
react: {
2733
pragma: "React",
2834
version: "16.6.0",
2935
},
3036
},
31-
};
37+
};

babel.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
module.exports = process.env.CYPRESS_ENV ? {} : {
2-
"presets": ["@babel/typescript", "babel-preset-react-app"]
3-
};
1+
module.exports = process.env.CYPRESS_E2E
2+
? {}
3+
: {
4+
presets: ["@babel/typescript", "babel-preset-react-app"],
5+
};

i18n/de.po

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: i18next-conv\n"
4-
"POT-Creation-Date: 2019-12-13T06:44:20.527Z\n"
4+
"POT-Creation-Date: 2020-07-01T15:57:25.609Z\n"
55
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
@@ -20,6 +20,12 @@ msgstr ""
2020
msgid "World Health Organization"
2121
msgstr "Weltgesundheitsorganisation"
2222

23+
msgid "Please wait"
24+
msgstr ""
25+
26+
msgid "Getting ready, Please wait"
27+
msgstr "Machen Sie sich bereit, bitte warten Sie"
28+
2329
msgid "National Health Workforce Accounts Online Data Platform"
2430
msgstr ""
2531

@@ -33,7 +39,7 @@ msgid "NHWA Data Viewers"
3339
msgstr ""
3440

3541
msgid "Home page for the Global Reporting System for Hepatitis"
36-
msgstr ""
42+
msgstr "Homepage für das Global Reporting System für Hepatitis"
3743

3844
msgid "Hepatitis"
3945
msgstr "Hepatitis"
@@ -47,14 +53,20 @@ msgstr ""
4753
msgid "Rabies (no data entry)"
4854
msgstr ""
4955

56+
msgid "WHO Snakebite Webpage"
57+
msgstr ""
58+
59+
msgid "Snakebite"
60+
msgstr ""
61+
5062
msgid "Available landing pages"
5163
msgstr ""
5264

5365
msgid "DHIS2 Utilities"
5466
msgstr ""
5567

56-
msgid "DHIS2"
57-
msgstr "DHIS2"
68+
msgid "WIDP"
69+
msgstr ""
5870

5971
msgid "Browser cache cleaner"
6072
msgstr "Browser Cache Cleaner"
@@ -70,6 +82,24 @@ msgstr ""
7082
"Ermöglicht den Benutzern das Bearbeiten von Kontoanmeldeinformationen und "
7183
"des öffentlichen Profils"
7284

85+
msgid "Details of the report"
86+
msgstr "Details des Berichts"
87+
88+
msgid "Reporting date"
89+
msgstr "Stichtag"
90+
91+
msgid "Submit or update your report"
92+
msgstr "Senden oder aktualisieren Sie Ihren Bericht"
93+
94+
msgid "Thank you for your report on the policy situation"
95+
msgstr "Vielen Dank für Ihren Bericht über die politische Situation"
96+
97+
msgid "Go back to home page"
98+
msgstr "Gehen Sie zurück zur Startseite"
99+
100+
msgid "Programme"
101+
msgstr "Programm"
102+
73103
msgid "Data"
74104
msgstr "Daten"
75105

@@ -193,3 +223,16 @@ msgstr ""
193223

194224
msgid "Enter data on the animal rabies data entry"
195225
msgstr ""
226+
227+
msgid "Snakebite data"
228+
msgstr ""
229+
230+
msgid "Snake bite data entry"
231+
msgstr ""
232+
233+
#, fuzzy
234+
msgid "Enter data on the snakebite data entry"
235+
msgstr "Geben Sie Daten zur Kaskade von Pflege / Heilung ein"
236+
237+
#~ msgid "DHIS2"
238+
#~ msgstr "DHIS2"

i18n/en.pot

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ msgstr ""
55
"Content-Type: text/plain; charset=utf-8\n"
66
"Content-Transfer-Encoding: 8bit\n"
77
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
8-
"POT-Creation-Date: 2020-03-07T16:43:14.849Z\n"
9-
"PO-Revision-Date: 2020-03-07T16:43:14.849Z\n"
8+
"POT-Creation-Date: 2020-07-01T15:57:25.609Z\n"
9+
"PO-Revision-Date: 2020-07-01T15:57:25.609Z\n"
1010

1111
msgid "User guide"
1212
msgstr ""
@@ -20,6 +20,12 @@ msgstr ""
2020
msgid "World Health Organization"
2121
msgstr ""
2222

23+
msgid "Please wait"
24+
msgstr ""
25+
26+
msgid "Getting ready, Please wait"
27+
msgstr ""
28+
2329
msgid "National Health Workforce Accounts Online Data Platform"
2430
msgstr ""
2531

@@ -74,6 +80,24 @@ msgstr ""
7480
msgid "Allows the users to edit account credentials and public profile"
7581
msgstr ""
7682

83+
msgid "Details of the report"
84+
msgstr ""
85+
86+
msgid "Reporting date"
87+
msgstr ""
88+
89+
msgid "Submit or update your report"
90+
msgstr ""
91+
92+
msgid "Thank you for your report on the policy situation"
93+
msgstr ""
94+
95+
msgid "Go back to home page"
96+
msgstr ""
97+
98+
msgid "Programme"
99+
msgstr ""
100+
77101
msgid "Data"
78102
msgstr ""
79103

i18n/es.po

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: i18next-conv\n"
4-
"POT-Creation-Date: 2019-12-13T06:44:20.527Z\n"
4+
"POT-Creation-Date: 2020-07-01T15:57:25.609Z\n"
55
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
@@ -20,6 +20,12 @@ msgstr ""
2020
msgid "World Health Organization"
2121
msgstr "Organización Mundial de la Salud"
2222

23+
msgid "Please wait"
24+
msgstr ""
25+
26+
msgid "Getting ready, Please wait"
27+
msgstr "Preparando, por favor espere"
28+
2329
msgid "National Health Workforce Accounts Online Data Platform"
2430
msgstr ""
2531

@@ -33,7 +39,7 @@ msgid "NHWA Data Viewers"
3339
msgstr ""
3440

3541
msgid "Home page for the Global Reporting System for Hepatitis"
36-
msgstr ""
42+
msgstr "Página de inicio del Sistema Mundial de Información sobre Hepatitis"
3743

3844
msgid "Hepatitis"
3945
msgstr "Hepatitis"
@@ -47,14 +53,20 @@ msgstr ""
4753
msgid "Rabies (no data entry)"
4854
msgstr ""
4955

56+
msgid "WHO Snakebite Webpage"
57+
msgstr ""
58+
59+
msgid "Snakebite"
60+
msgstr ""
61+
5062
msgid "Available landing pages"
5163
msgstr ""
5264

5365
msgid "DHIS2 Utilities"
5466
msgstr ""
5567

56-
msgid "DHIS2"
57-
msgstr "DHIS2"
68+
msgid "WIDP"
69+
msgstr ""
5870

5971
msgid "Browser cache cleaner"
6072
msgstr "Limpiador de caché del navegador"
@@ -69,6 +81,24 @@ msgid "Allows the users to edit account credentials and public profile"
6981
msgstr ""
7082
"Permite a los usuarios editar sus credenciales de cuenta y perfil público"
7183

84+
msgid "Details of the report"
85+
msgstr "Detalles del informe"
86+
87+
msgid "Reporting date"
88+
msgstr "Fecha de reporte"
89+
90+
msgid "Submit or update your report"
91+
msgstr "Enviar o actualizar su informe"
92+
93+
msgid "Thank you for your report on the policy situation"
94+
msgstr "Gracias por su informe sobre la adopción de políticas."
95+
96+
msgid "Go back to home page"
97+
msgstr "Volver a la página principal"
98+
99+
msgid "Programme"
100+
msgstr "Programa"
101+
72102
msgid "Data"
73103
msgstr "Datos"
74104

@@ -188,3 +218,16 @@ msgstr ""
188218

189219
msgid "Enter data on the animal rabies data entry"
190220
msgstr ""
221+
222+
msgid "Snakebite data"
223+
msgstr ""
224+
225+
msgid "Snake bite data entry"
226+
msgstr ""
227+
228+
#, fuzzy
229+
msgid "Enter data on the snakebite data entry"
230+
msgstr "Ingrese datos en la cascada de cuidado / cura"
231+
232+
#~ msgid "DHIS2"
233+
#~ msgstr "DHIS2"

i18n/fr.po

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: i18next-conv\n"
4-
"POT-Creation-Date: 2019-12-13T06:44:20.527Z\n"
4+
"POT-Creation-Date: 2020-07-01T15:57:25.609Z\n"
55
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
@@ -20,6 +20,12 @@ msgstr ""
2020
msgid "World Health Organization"
2121
msgstr "Organisation Mondial de la Santé"
2222

23+
msgid "Please wait"
24+
msgstr ""
25+
26+
msgid "Getting ready, Please wait"
27+
msgstr "Se préparer, veuillez patienter"
28+
2329
msgid "National Health Workforce Accounts Online Data Platform"
2430
msgstr ""
2531

@@ -33,7 +39,7 @@ msgid "NHWA Data Viewers"
3339
msgstr ""
3440

3541
msgid "Home page for the Global Reporting System for Hepatitis"
36-
msgstr ""
42+
msgstr "Page d'accueil du Système mondial d'information sur l'hépatite"
3743

3844
msgid "Hepatitis"
3945
msgstr "Hepatite"
@@ -48,14 +54,20 @@ msgstr ""
4854
msgid "Rabies (no data entry)"
4955
msgstr "Saisie de données rage humaine"
5056

57+
msgid "WHO Snakebite Webpage"
58+
msgstr ""
59+
60+
msgid "Snakebite"
61+
msgstr ""
62+
5163
msgid "Available landing pages"
5264
msgstr ""
5365

5466
msgid "DHIS2 Utilities"
5567
msgstr ""
5668

57-
msgid "DHIS2"
58-
msgstr "DHIS2"
69+
msgid "WIDP"
70+
msgstr ""
5971

6072
msgid "Browser cache cleaner"
6173
msgstr "Netoyage de la cache"
@@ -70,6 +82,24 @@ msgid "Allows the users to edit account credentials and public profile"
7082
msgstr ""
7183
"Ceci permet les utilisateurs de modifier leur credentials et profil public"
7284

85+
msgid "Details of the report"
86+
msgstr "Détails du rapport"
87+
88+
msgid "Reporting date"
89+
msgstr "Date de rapport"
90+
91+
msgid "Submit or update your report"
92+
msgstr "Soumettez ou mettez à jour votre rapport"
93+
94+
msgid "Thank you for your report on the policy situation"
95+
msgstr "Merci pour votre rapport sur la situation politique"
96+
97+
msgid "Go back to home page"
98+
msgstr "Retournez à la page d'accueil"
99+
100+
msgid "Programme"
101+
msgstr "Programme"
102+
73103
msgid "Data"
74104
msgstr "Données"
75105

@@ -190,3 +220,17 @@ msgstr "Saisie de données rage animale"
190220

191221
msgid "Enter data on the animal rabies data entry"
192222
msgstr "Entrer des données pour la rage animale"
223+
224+
msgid "Snakebite data"
225+
msgstr ""
226+
227+
#, fuzzy
228+
msgid "Snake bite data entry"
229+
msgstr "Saisie de données rage animale"
230+
231+
#, fuzzy
232+
msgid "Enter data on the snakebite data entry"
233+
msgstr "Entrer des données pour la rage humaine"
234+
235+
#~ msgid "DHIS2"
236+
#~ msgstr "DHIS2"

0 commit comments

Comments
 (0)