From 6a88acfe155eda0490c9ccbd2d09067c9e9fc81a Mon Sep 17 00:00:00 2001 From: tschumpr Date: Wed, 7 Feb 2024 14:43:35 +0100 Subject: [PATCH 1/3] Update label --- src/client/public/locale/common.json | 1 + src/client/public/locale/de/common.json | 1 + src/client/public/locale/en/common.json | 1 + src/client/public/locale/fr/common.json | 1 + src/client/public/locale/it/common.json | 1 + src/client/src/commons/form/profile/data/stratigraphydata.js | 2 +- 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client/public/locale/common.json b/src/client/public/locale/common.json index 73ca34183..e951480ef 100644 --- a/src/client/public/locale/common.json +++ b/src/client/public/locale/common.json @@ -207,6 +207,7 @@ "original_lithology": "", "organic_component": "", "plasticity": "", + "completeness": "", "qt_description": "", "striae": "", "uscs_1": "", diff --git a/src/client/public/locale/de/common.json b/src/client/public/locale/de/common.json index 71443f961..84849f907 100644 --- a/src/client/public/locale/de/common.json +++ b/src/client/public/locale/de/common.json @@ -216,6 +216,7 @@ "original_lithology": "Ursprüngliche Lithologie", "organic_component": "Organische Komponenten", "plasticity": "Plastizität", + "completeness": "Vollständigkeit der Einträge", "qt_description": "Qualität der Beschreibung", "striae": "Striemung", "uscs_1": "USCS 1", diff --git a/src/client/public/locale/en/common.json b/src/client/public/locale/en/common.json index f6f83f671..ee5eb4f05 100644 --- a/src/client/public/locale/en/common.json +++ b/src/client/public/locale/en/common.json @@ -216,6 +216,7 @@ "original_lithology": "Original lithology", "organic_component": "Organic components", "plasticity": "Plasticity", + "completeness": "Completeness of entries", "qt_description": "Quality of the description", "striae": "Striations", "uscs_1": "USCS 1", diff --git a/src/client/public/locale/fr/common.json b/src/client/public/locale/fr/common.json index e9a062b27..7aac52a80 100644 --- a/src/client/public/locale/fr/common.json +++ b/src/client/public/locale/fr/common.json @@ -216,6 +216,7 @@ "original_lithology": "Lithologie originale", "organic_component": "Composants organiques", "plasticity": "Plasticité", + "completeness": "Exhaustivité des informations", "qt_description": "Qualité de la description", "striae": "Stries", "uscs_1": "USCS 1", diff --git a/src/client/public/locale/it/common.json b/src/client/public/locale/it/common.json index 9dac13745..cb1302077 100644 --- a/src/client/public/locale/it/common.json +++ b/src/client/public/locale/it/common.json @@ -216,6 +216,7 @@ "original_lithology": "Litologia originale", "organic_component": "Componenti organici", "plasticity": "Plasticità", + "completeness": "Integralità dei dati", "qt_description": "Qualità della descrizione", "striae": "Strie", "uscs_1": "USCS 1", diff --git a/src/client/src/commons/form/profile/data/stratigraphydata.js b/src/client/src/commons/form/profile/data/stratigraphydata.js index 9e6e5c068..6df2868d4 100644 --- a/src/client/src/commons/form/profile/data/stratigraphydata.js +++ b/src/client/src/commons/form/profile/data/stratigraphydata.js @@ -44,7 +44,7 @@ export const stratigraphyData = { { id: 3, type: "Dropdown", - label: "qt_description", + label: "completeness", value: "qtDescriptionId", schema: "qt_description", multiple: false, From 6f52ed5b59e7740ea92db3d6769ab452b91da1c4 Mon Sep 17 00:00:00 2001 From: tschumpr Date: Wed, 7 Feb 2024 14:49:08 +0100 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 323400acd..2db21e09f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ - Link hydrogeology observations to new completion casing. - Use always _m MD_ as unit for borehole depth. - Use reusable form components for hydrogeology. +- Replaced label for layer description quality. ### Fixed From 6cbdd86fc40f38a835de0467acebcf995320322a Mon Sep 17 00:00:00 2001 From: tschumpr Date: Wed, 7 Feb 2024 15:21:16 +0100 Subject: [PATCH 3/3] Remove deprecated code --- src/client/src/commons/form/profile/profile.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client/src/commons/form/profile/profile.js b/src/client/src/commons/form/profile/profile.js index ee9c493ee..cd8bfe480 100644 --- a/src/client/src/commons/form/profile/profile.js +++ b/src/client/src/commons/form/profile/profile.js @@ -62,9 +62,6 @@ const Profile = props => { const setKind = useCallback(kind => { switch (kind) { - case "instruments": - setStratigraphyKind(profileKind.INSTRUMENT); - break; case "stratigraphy": setAttributesBasedKind(stratigraphyData); setStratigraphyKind(profileKind.STRATIGRAPHY);