Skip to content

Commit

Permalink
Merge branch 'main' into gysimichael-patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
danjov authored Sep 21, 2022
2 parents 8f1f7fd + 2bd4ad5 commit 12549c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/client/public/locale/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
"mainStratigraphy": "Dies ist die Hauptstratigraphie",
"map": "Karte",
"materialCasingLayer": "Verrohrungsmaterial",
"materialFilling": "Hinerfüllungsmaterial",
"materialFilling": "Hinterfüllungs-/Verfüllungsmaterial",
"meter": "Meter",
"msgCasingEmpty": "Für ein Verrohrungsprofil bitte das Plus-Symbol oben rechts klicken",
"msgDeleteUser": "Der ausgewählte Benutzer kann für immer gelöscht werden, da derzeit keine Aktivitäten in der Datenbank vorhanden sind.",
Expand Down Expand Up @@ -338,4 +338,4 @@
"import_database": "Bitte importieren Sie eine gezippte .gpkg-Datei (nur swissforages-Exporte) einer Arbeitsgruppe oder Bohrung.",
"import": "Importieren",
"to": "bis"
}
}
2 changes: 1 addition & 1 deletion src/client/public/locale/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
"mainStratigraphy": "This is the main stratigraphy",
"map": "Map",
"materialCasingLayer": "Casing material",
"materialFilling": "Backfill material",
"materialFilling": "Backfill/Sealing material",
"meter": "Meter",
"msgCasingEmpty": "For a casing profile please click the plus symbol at the top left",
"msgDeleteUser": "The selected user can be deleted permanantly because currently there is no trace of activity in the database.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const ProfileAttributeList = props => {
<Form.Group style={{ display: "flex", paddingTop: "5px" }}>
<Form.Radio
checked={
_.isNil(layer?.[item.value]) ? true : layer[item.value]
_.isNil(layer?.[item.value]) ? false : layer[item.value]
}
label={t("yes")}
onChange={() => updateChange(item.value, true, item?.to)}
Expand All @@ -86,6 +86,11 @@ const ProfileAttributeList = props => {
label={t("no")}
onChange={() => updateChange(item.value, false, item?.to)}
/>
<Form.Radio
checked={_.isNil(layer?.[item.value])}
label={t("np")}
onChange={() => updateChange(item.value, null, item?.to)}
/>
</Form.Group>
)}

Expand Down

0 comments on commit 12549c4

Please sign in to comment.