-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(protocol-designer): change tip field and timeline alert copy to …
…i18n (#2062) Move the copy for the options in the get new tip step edit form field into i18n. Update the timeline alerts to pull from i18n and change no tips error copy to reflect field label and copy changes. Closes #1934
- Loading branch information
Showing
5 changed files
with
85 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"field": {}, | ||
"form": {}, | ||
"timeline": { | ||
"error": { | ||
"INSUFFICIENT_TIPS": { | ||
"title": "Not enough tips to complete action", | ||
"body": "Add another tip rack to an empty slot in Deck Setup" | ||
}, | ||
"NO_TIP_ON_PIPETTE": { | ||
"title": "No tip on pipette", | ||
"body": "The setting \"Get new tip\" cannot be \"Never\" the first time a pipette is used in a protocol" | ||
} | ||
}, | ||
"warning": { | ||
"ASPIRATE_MORE_THAN_WELL_CONTENTS": { | ||
"title": "Not enough liquid in well(s)", | ||
"body": "You are trying to aspirate more than the current volume of one of your well(s). If you intended to add air to your tip, please use the Air Gap advanced setting." | ||
}, | ||
"ASPIRATE_FROM_PRISTINE_WELL": { | ||
"title": "Source well is empty", | ||
"body": "The well(s) you're trying to aspirate from are empty. You can add a starting liquid to this labware in Labware & Liquids" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
// @flow | ||
|
||
import alert from './alert.json' | ||
import step_edit_form from './step_edit_form.json' | ||
import tooltip from './tooltip.json' | ||
|
||
export default { | ||
translation: { | ||
alert, | ||
step_edit_form, | ||
tooltip | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"consolidate": { | ||
"change_tip_option": { | ||
"always": "For each dispense", | ||
"once": "Only the first aspirate", | ||
"never": "Never" | ||
} | ||
}, | ||
"distribute": { | ||
"change_tip_option": { | ||
"always": "For each aspirate", | ||
"once": "Only the first aspirate", | ||
"never": "Never" | ||
} | ||
}, | ||
"mix": { | ||
"change_tip_option": { | ||
"always": "For each well", | ||
"once": "Only the first aspirate", | ||
"never": "Never" | ||
} | ||
}, | ||
"transfer": { | ||
"change_tip_option": { | ||
"always": "For each aspirate", | ||
"once": "Only the first aspirate", | ||
"never": "Never" | ||
} | ||
}, | ||
"field": { | ||
"change_tip": { | ||
"label": "Get new tip" | ||
} | ||
} | ||
} |