Skip to content

Commit

Permalink
Merge pull request #35 from EyeSeeTea/development
Browse files Browse the repository at this point in the history
Release 0.4.1
  • Loading branch information
ifoche authored Nov 9, 2021
2 parents 6a4f0e2 + b2dc23c commit 908bf90
Show file tree
Hide file tree
Showing 28 changed files with 3,237 additions and 3,044 deletions.
10 changes: 3 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
/** @format */

module.exports = {
extends: [
"react-app",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
],
extends: ["react-app", "eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
rules: {
"no-console": ["warn", { allow: ["debug", "warn", "error"] }],
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": ["off"],
"unused-imports/no-unused-imports": "warn",
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
"react/prop-types": "off",
"react/display-name": "off",
Expand Down Expand Up @@ -41,7 +37,7 @@ module.exports = {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
},
plugins: ["@typescript-eslint", "react-hooks"],
plugins: ["@typescript-eslint", "react-hooks", "unused-imports"],
settings: {
react: {
pragma: "React",
Expand Down
30 changes: 30 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* Required for CRA 4, see https://github.com/welldone-software/why-did-you-render/issues/154#issuecomment-773905769 */

module.exports = {
babel: {
loaderOptions: babelLoaderOptions => {
const origBabelPresetCRAIndex = babelLoaderOptions.presets.findIndex(preset => {
return preset[0].includes("babel-preset-react-app");
});

const origBabelPresetCRA = babelLoaderOptions.presets[origBabelPresetCRAIndex];

babelLoaderOptions.presets[origBabelPresetCRAIndex] = function overridenPresetCRA(api, opts, env) {
const babelPresetCRAResult = require(origBabelPresetCRA[0])(api, origBabelPresetCRA[1], env);

babelPresetCRAResult.presets.forEach(preset => {
// detect @babel/preset-react with {development: true, runtime: 'automatic'}
const isReactPreset =
preset && preset[1] && preset[1].runtime === "automatic" && preset[1].development === true;
if (isReactPreset) {
preset[1].importSource = "@welldone-software/why-did-you-render";
}
});

return babelPresetCRAResult;
};

return babelLoaderOptions;
},
},
};
26 changes: 19 additions & 7 deletions i18n/de.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-08-12T06:18:08.594Z\n"
"POT-Creation-Date: 2021-10-22T05:36:29.610Z\n"
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -157,12 +157,6 @@ msgid ""
"with the existing data."
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Enables users to create pivot tables, using available data"
msgstr ""

msgid "Data Visualizer"
msgstr ""

Expand Down Expand Up @@ -200,6 +194,24 @@ msgstr ""
msgid "Enables the users to approves the data submitted in the system"
msgstr ""

msgid "User Extended"
msgstr ""

msgid "List, edit or create users in the NHWA platform"
msgstr ""

msgid "Messaging"
msgstr ""

msgid "Send internal messages to other users in the NHWA Platform"
msgstr ""

msgid "Training App"
msgstr ""

msgid "Learn how to use the different applications of DHIS2"
msgstr ""

msgid "Enter data"
msgstr ""

Expand Down
28 changes: 20 additions & 8 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2021-08-12T06:18:08.594Z\n"
"PO-Revision-Date: 2021-08-12T06:18:08.594Z\n"
"POT-Creation-Date: 2021-10-22T05:36:29.610Z\n"
"PO-Revision-Date: 2021-10-22T05:36:29.610Z\n"

msgid "National Health Workforce Accounts Online Data Platform"
msgstr ""
Expand Down Expand Up @@ -151,12 +151,6 @@ msgid ""
"with the existing data."
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Enables users to create pivot tables, using available data"
msgstr ""

msgid "Data Visualizer"
msgstr ""

Expand Down Expand Up @@ -194,6 +188,24 @@ msgstr ""
msgid "Enables the users to approves the data submitted in the system"
msgstr ""

msgid "User Extended"
msgstr ""

msgid "List, edit or create users in the NHWA platform"
msgstr ""

msgid "Messaging"
msgstr ""

msgid "Send internal messages to other users in the NHWA Platform"
msgstr ""

msgid "Training App"
msgstr ""

msgid "Learn how to use the different applications of DHIS2"
msgstr ""

msgid "Enter data"
msgstr ""

Expand Down
26 changes: 19 additions & 7 deletions i18n/es.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-08-12T06:18:08.594Z\n"
"POT-Creation-Date: 2021-10-22T05:36:29.610Z\n"
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -152,12 +152,6 @@ msgid ""
"with the existing data."
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Enables users to create pivot tables, using available data"
msgstr ""

msgid "Data Visualizer"
msgstr ""

Expand Down Expand Up @@ -195,6 +189,24 @@ msgstr ""
msgid "Enables the users to approves the data submitted in the system"
msgstr ""

msgid "User Extended"
msgstr ""

msgid "List, edit or create users in the NHWA platform"
msgstr ""

msgid "Messaging"
msgstr ""

msgid "Send internal messages to other users in the NHWA Platform"
msgstr ""

msgid "Training App"
msgstr ""

msgid "Learn how to use the different applications of DHIS2"
msgstr ""

msgid "Enter data"
msgstr ""

Expand Down
26 changes: 19 additions & 7 deletions i18n/fr.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-08-12T06:18:08.594Z\n"
"POT-Creation-Date: 2021-10-22T05:36:29.610Z\n"
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -153,12 +153,6 @@ msgid ""
"with the existing data."
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Enables users to create pivot tables, using available data"
msgstr ""

msgid "Data Visualizer"
msgstr ""

Expand Down Expand Up @@ -196,6 +190,24 @@ msgstr ""
msgid "Enables the users to approves the data submitted in the system"
msgstr ""

msgid "User Extended"
msgstr ""

msgid "List, edit or create users in the NHWA platform"
msgstr ""

msgid "Messaging"
msgstr ""

msgid "Send internal messages to other users in the NHWA Platform"
msgstr ""

msgid "Training App"
msgstr ""

msgid "Learn how to use the different applications of DHIS2"
msgstr ""

msgid "Enter data"
msgstr ""

Expand Down
26 changes: 19 additions & 7 deletions i18n/it.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-08-12T06:18:08.594Z\n"
"POT-Creation-Date: 2021-10-22T05:36:29.610Z\n"
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -154,12 +154,6 @@ msgid ""
"with the existing data."
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Enables users to create pivot tables, using available data"
msgstr ""

msgid "Data Visualizer"
msgstr ""

Expand Down Expand Up @@ -197,6 +191,24 @@ msgstr ""
msgid "Enables the users to approves the data submitted in the system"
msgstr ""

msgid "User Extended"
msgstr ""

msgid "List, edit or create users in the NHWA platform"
msgstr ""

msgid "Messaging"
msgstr ""

msgid "Send internal messages to other users in the NHWA Platform"
msgstr ""

msgid "Training App"
msgstr ""

msgid "Learn how to use the different applications of DHIS2"
msgstr ""

msgid "Enter data"
msgstr ""

Expand Down
26 changes: 19 additions & 7 deletions i18n/pt.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-08-12T06:18:08.594Z\n"
"POT-Creation-Date: 2021-10-22T05:36:29.610Z\n"
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -151,12 +151,6 @@ msgid ""
"with the existing data."
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Enables users to create pivot tables, using available data"
msgstr ""

msgid "Data Visualizer"
msgstr ""

Expand Down Expand Up @@ -194,6 +188,24 @@ msgstr ""
msgid "Enables the users to approves the data submitted in the system"
msgstr ""

msgid "User Extended"
msgstr ""

msgid "List, edit or create users in the NHWA platform"
msgstr ""

msgid "Messaging"
msgstr ""

msgid "Send internal messages to other users in the NHWA Platform"
msgstr ""

msgid "Training App"
msgstr ""

msgid "Learn how to use the different applications of DHIS2"
msgstr ""

msgid "Enter data"
msgstr ""

Expand Down
26 changes: 19 additions & 7 deletions i18n/ru.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-08-12T06:18:08.594Z\n"
"POT-Creation-Date: 2021-10-22T05:36:29.610Z\n"
"PO-Revision-Date: 2019-08-07T14:26:49.235Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -154,12 +154,6 @@ msgid ""
"with the existing data."
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Enables users to create pivot tables, using available data"
msgstr ""

msgid "Data Visualizer"
msgstr ""

Expand Down Expand Up @@ -197,6 +191,24 @@ msgstr ""
msgid "Enables the users to approves the data submitted in the system"
msgstr ""

msgid "User Extended"
msgstr ""

msgid "List, edit or create users in the NHWA platform"
msgstr ""

msgid "Messaging"
msgstr ""

msgid "Send internal messages to other users in the NHWA Platform"
msgstr ""

msgid "Training App"
msgstr ""

msgid "Learn how to use the different applications of DHIS2"
msgstr ""

msgid "Enter data"
msgstr ""

Expand Down
Loading

0 comments on commit 908bf90

Please sign in to comment.