Skip to content

Commit

Permalink
fix: Fixed copy change
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Jun 10, 2024
1 parent 60b9525 commit 6160eb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/localization/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@
"form_location_helper_text_step_3_image_src": "/storyMap/set-map-step-3-en.png",
"form_location_helper_text_step_3_image_alt": "A screenshot of the Set Map Location screen. The “Set Location” button in the top right is circled.",
"form_location_helper_text_bearing_icon_alt": "Bearing",
"form_location_add_data_layer_button": "Add Data Layer",
"form_location_add_data_layer_button": "Add Map Layer",
"form_location_add_data_layer_current": "Data Layer: <1>{{title}}</1>",
"form_location_add_data_layer_dialog_title": "<0>Add a map layer to </0><1>{{title}}</1>",
"form_location_add_data_layer_dialog_title_blank": "Add a map layer to chapter",
Expand Down
4 changes: 2 additions & 2 deletions src/storyMap/components/StoryMapForm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ test('StoryMapForm: Change chapter style', async () => {
expect(saveCall[0].style).toEqual('newStyle');
});

test('StoryMapForm: Add data layer', async () => {
test('StoryMapForm: Add map layer', async () => {
const map = {
...baseMapOptions(),
getCenter: () => ({ lng: -78.54414857836304, lat: -0.2294635049867253 }),
Expand All @@ -850,7 +850,7 @@ test('StoryMapForm: Add data layer', async () => {
});

const addDataLayerButton = within(dialog).getByRole('button', {
name: 'Add Data Layer',
name: 'Add Map Layer',
});
await act(async () => fireEvent.click(addDataLayerButton));

Expand Down

0 comments on commit 6160eb3

Please sign in to comment.