-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #639 from jona42-ui/missing/translations
(feat)add missing translations
- Loading branch information
Showing
17 changed files
with
211 additions
and
108 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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
export const labHeaderData = [ | ||
{ | ||
key: "formName", | ||
header: "FormName", | ||
header: <FormattedMessage id="header.formname"/>, | ||
}, | ||
{ | ||
key: "firstName", | ||
header: "First Name", | ||
header: <FormattedMessage id="patient.first.name"/>, | ||
}, | ||
{ | ||
key: "lastName", | ||
header: "Last Name", | ||
header: <FormattedMessage id="patient.last.name"/>, | ||
}, | ||
]; |
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,26 +1,27 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
export const patientSearchHeaderData = [ | ||
{ | ||
key: "lastName", | ||
header: "Last Name", | ||
header: <FormattedMessage id="patient.last.name"/>, | ||
}, | ||
{ | ||
key: "firstName", | ||
header: "First Name", | ||
header: <FormattedMessage id="patient.first.name"/>, | ||
}, | ||
{ | ||
key: "gender", | ||
header: "Gender", | ||
header: <FormattedMessage id="patient.gender"/>, | ||
}, | ||
{ | ||
key: "dob", | ||
header: "Date Of Birth", | ||
header: <FormattedMessage id="patient.dob"/>, | ||
}, | ||
{ | ||
key: "subjectNumber", | ||
header: "Unique Health ID number", | ||
header: <FormattedMessage id="patient.subject.number"/>, | ||
}, | ||
{ | ||
key: "nationalId", | ||
header: "National ID", | ||
header: <FormattedMessage id="patient.natioanalid"/>, | ||
}, | ||
]; |
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,56 +1,58 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
|
||
export const relationOptions = [ | ||
{ | ||
value: "EQUALS", | ||
label: "equals", | ||
label: <FormattedMessage id="label.equals"/>, | ||
}, | ||
{ | ||
value: "NOT_EQUALS", | ||
label: "does not equal", | ||
label: <FormattedMessage id="label.notequals"/>, | ||
}, | ||
{ | ||
value: "INSIDE_NORMAL_RANGE", | ||
label: "is inside the normal range", | ||
label: <FormattedMessage id="label.inside.normalrange"/>, | ||
}, | ||
{ | ||
value: "OUTSIDE_NORMAL_RANGE", | ||
label: "is outside the normal range", | ||
label: <FormattedMessage id="label.outside.normalrange"/>, | ||
}, | ||
]; | ||
|
||
export const overallOptions = [ | ||
{ | ||
value: "ANY", | ||
label: "Any", | ||
label: <FormattedMessage id="label.any"/>, | ||
}, | ||
{ | ||
value: "ALL", | ||
label: "All", | ||
label: <FormattedMessage id="all.label"/>, | ||
}, | ||
]; | ||
|
||
export const actionOptions = [ | ||
{ | ||
value: "ADD_TEST", | ||
label: "Add test to order", | ||
label: <FormattedMessage id="label.test.add"/>, | ||
}, | ||
{ | ||
value: "ADD_NOTIFICATION", | ||
label: "Add pop up notification to user", | ||
label: <FormattedMessage id="label.add.notification"/>, | ||
}, | ||
{ | ||
value: "ADD_INTERNAL_NOTE", | ||
label: "Add Internal Note", | ||
label: <FormData id="rulebuilder.label.addInternalNote"/>, | ||
}, | ||
{ | ||
value: "ADD_EXTERNAL_NOTE", | ||
label: "Add External Note", | ||
label: <FormattedMessage id="rulebuilder.label.addExternalNote"/>, | ||
}, | ||
{ | ||
value: "ADD_INTERNAL_TRIGGER_MESSAGE", | ||
label: "Add Internal `triggered by` message", | ||
label: <FormattedMessage id="rulebuilder.label.add.internaltrigger"/>, | ||
}, | ||
{ | ||
value: "ADD_EXTERNAL_TRIGGER_MESSAGE", | ||
label: "Add External `triggered by` message", | ||
label: <FormattedMessage id="rulebuilder.label.add.externaltrigger"/>, | ||
}, | ||
]; |
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
Oops, something went wrong.