Skip to content

Commit

Permalink
fix(protocol-designer): fix localization refactor mistakes (#2499)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanLondon authored Oct 18, 2018
1 parent 4890374 commit 4ef34f2
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class WellOrderInput extends React.Component<OP & SP, WellOrderInputState> {
render () {
return (
<FormGroup
label={i18n.t('form.step_edit_from.field.well_order.label')}
label={i18n.t('form.step_edit_form.field.well_order.label')}
className={styles.well_order_input}>
<WellOrderModal
prefix={this.props.prefix}
Expand Down
91 changes: 43 additions & 48 deletions protocol-designer/src/localization/en/form.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"generic": {
"labware_type": "Type",
"nickname": "Nickname"
},
"labware": {
"type": "Labware Type"
"generic": {
"labware_type": "Type",
"nickname": "Nickname"
},
"liquid": {
"details": "Details",
Expand All @@ -14,50 +11,48 @@
"serialize_explanation": "Each placement of the liquid will get its own number. (\"Sample 1\", \"Sample 2\", \"Sample 3\")"
},
"step_edit_form": {
"step_edit_form": {
"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"
}
"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"
},
"transfer": {
"change_tip_option": {
"always": "For each aspirate",
"once": "Only the first aspirate",
"never": "Never"
}
"tip_position": {
"label": "Tip Position"
},
"field": {
"change_tip": {
"label": "Get new tip"
},
"tip_position": {
"label": "Tip Position"
},
"well_order": {
"label": "Well Order",
"option": {
"l2r": "Left to right",
"r2l": "Right to left",
"t2b": "Top to bottom",
"b2t": "Bottom to top"
}
"well_order": {
"label": "Well Order",
"option": {
"l2r": "Left to right",
"r2l": "Right to left",
"t2b": "Top to bottom",
"b2t": "Bottom to top"
}
}
}
Expand Down

0 comments on commit 4ef34f2

Please sign in to comment.