diff --git a/dev-client/src/screens/SoilScreen/components/SoilSurfaceScreen.tsx b/dev-client/src/screens/SoilScreen/components/SoilSurfaceScreen.tsx index fd8034333..4e9e045c1 100644 --- a/dev-client/src/screens/SoilScreen/components/SoilSurfaceScreen.tsx +++ b/dev-client/src/screens/SoilScreen/components/SoilSurfaceScreen.tsx @@ -15,7 +15,7 @@ * along with this program. If not, see https://www.gnu.org/licenses/. */ import {useCallback, useMemo} from 'react'; -import {useTranslation} from 'react-i18next'; +import {Trans, useTranslation} from 'react-i18next'; import {Image} from 'react-native'; import { @@ -30,6 +30,7 @@ import { Column, Heading, Paragraph, + Text, } from 'terraso-mobile-client/components/NativeBaseAdapters'; import {RestrictBySiteRole} from 'terraso-mobile-client/components/RestrictByRole'; import {SiteRoleContextProvider} from 'terraso-mobile-client/context/SiteRoleContext'; @@ -87,9 +88,37 @@ export const SoilSurfaceScreen = ({siteId}: Props) => { /> + {t('soil.vertical_cracking.description')} + + + , + }} + /> + + - {t('soil.vertical_cracking.description', {units: 'METRIC'})} + , + }} + /> + + + , + }} + /> + + No Cracks\nNo cracks are visible on the soil surface.", + "surface_cracks": "Surface Cracks\nSurface cracks are less than $t(soil.vertical_cracking.description_depth, {\"context\": \"{{units}}\"}) deep.", + "deep_vertical_cracks": "Deep Vertical Cracks\nDeep vertical cracks are at least $t(soil.vertical_cracking.description_width, {\"context\": \"{{units}}\"}) wide and $t(soil.vertical_cracking.description_depth, {\"context\": \"{{units}}\"}) deep. You should be able to place a pencil inside the cracks.", "description_width_METRIC": "5 mm", "description_width_ENGLISH": "3/16”", "description_depth_METRIC": "25 cm", diff --git a/dev-client/src/translations/es.json b/dev-client/src/translations/es.json index b5767f901..84ea0f51c 100644 --- a/dev-client/src/translations/es.json +++ b/dev-client/src/translations/es.json @@ -737,7 +737,10 @@ "soilTexture": "Incluye clase de textura y volumen de fragmentos de roca" }, "vertical_cracking": { - "description": "Pueden aparecer grietas verticales en la superficie cuando algunos suelos experimentan cambios de humedad o temperatura. Las grietas pueden ser permanentes o desaparecer con el tiempo.\n\nLas grietas verticales tienen al menos $t(soil.vertical_cracking.description_width, {\"context\": \"{{units}}\"}) de ancho y $t(soil.vertical_cracking.description_depth, {\"context\": \"{{units}}\"}) de profundidad. Deberías poder colocar un lápiz dentro de las grietas.", + "description": "Surface cracks develop in clay-rich soils after they dry out.", + "no_cracks": "No Cracks\nNo cracks are visible on the soil surface.", + "surface_cracks": "Surface Cracks\nSurface cracks are less than $t(soil.vertical_cracking.description_depth, {\"context\": \"{{units}}\"}) deep.", + "deep_vertical_cracks": "Deep Vertical Cracks\nDeep vertical cracks are at least $t(soil.vertical_cracking.description_width, {\"context\": \"{{units}}\"}) wide and $t(soil.vertical_cracking.description_depth, {\"context\": \"{{units}}\"}) deep. You should be able to place a pencil inside the cracks.", "description_width_METRIC": "5 mm", "description_width_ENGLISH": "3/16”", "description_depth_METRIC": "25 cm",