Skip to content

Commit

Permalink
refactor: Rename BLM_STANDARD to BLM
Browse files Browse the repository at this point in the history
  • Loading branch information
knipec committed Jul 11, 2024
1 parent 11e2d3b commit 564c171
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions dev-client/__tests__/integration/SlopeScreen-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test('renders correctly', () => {
status: 'ready',
soilData: {
'1': {
depthIntervalPreset: 'LANDPKS',
depthIntervalPreset: 'NRCS',
depthIntervals: [],
depthDependentData: [],
slopeSteepnessSelect: 'FLAT',
Expand All @@ -45,7 +45,7 @@ test('renders correctly', () => {
collectionMethods.map(method => [methodRequired(method), false]),
),
soilPitRequired: false,
depthIntervalPreset: 'LANDPKS',
depthIntervalPreset: 'NRCS',
depthIntervals: [],
slopeRequired: true,
},
Expand Down
9 changes: 5 additions & 4 deletions dev-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dev-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"react-native-screens": "^3.32.0",
"react-native-svg": "^15.3.0",
"react-native-tab-view": "^3.5.2",
"terraso-client-shared": "github:techmatters/terraso-client-shared#f059d42",
"terraso-client-shared": "github:techmatters/terraso-client-shared#567f109",
"uuid": "^10.0.0",
"yup": "^1.4.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export const EditSiteSoilDepthPreset = ({selected, updateChoice}: Props) => {
label={t('soil.soil_preset.label')}
labelProps={{variant: 'body1'}}
options={{
LANDPKS: {text: t('soil.soil_preset.LANDPKS')},
NRCS: {text: t('soil.soil_preset.NRCS')},
BLM: {text: t('soil.soil_preset.BLM')},
CUSTOM: {text: t('soil.soil_preset.CUSTOM')},
}}
groupProps={{
Expand Down
6 changes: 3 additions & 3 deletions dev-client/src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@
"depths": {
"title": "Soil Pit Depths",
"preset": {
"LANDPKS": "LandPKS",
"NRCS": "NRCS/GSP",
"BLM": "BLM Monitoring Standard",
"CUSTOM": "Custom…",
"NONE": "None specified"
},
Expand Down Expand Up @@ -602,8 +602,8 @@
"header": "Change soil pit depths",
"info": "Data already entered for a depth will be deleted when the depth is changed.",
"label": "Depths",
"LANDPKS": "LandPKS (default)",
"NRCS": "NRCS/GSP",
"NRCS": "NRCS/GSP (default)",
"BLM": "BLM Monitoring Standard",
"CUSTOM": "Custom"
},
"depth": {
Expand Down

0 comments on commit 564c171

Please sign in to comment.