Skip to content

Commit

Permalink
Fixed lang json errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KZongker committed Sep 18, 2024
1 parent 310bcf1 commit 044adbd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@
},
"tasks": "Tasks"
},
"donation": {
"paymentMethods": {
"noMethod": "Please select a payment method."
}
},
"donations": {
"batchEdit": {
"confirmMsg": "Are you sure you wish to permanently delete this batch and all donations within it?",
Expand Down Expand Up @@ -475,19 +480,19 @@
}
},
"person": {
"address": "Address",
"address": "Address",
"age": "Age",
"anniversary": "Anniversary",
"birthDate": "Birth Date",
"city": "City",
"city": "City",
"country": "Country",
"displayName": "Display Name",
"divorced": "Divorced",
"email": "Email",
"female": "Female",
"firstName": "First Name",
"gender": "Gender",
"inactive": "Inactive",
"inactive": "Inactive",
"lastName": "Last Name",
"line1": "Line 1",
"line2": "Line 2",
Expand All @@ -502,7 +507,7 @@
"person": "Person",
"phone": "Phone",
"prefix": "Prefix",
"regularAttendee": "Regular Attendee",
"regularAttendee": "Regular Attendee",
"single": "Single",
"staff": "Staff",
"state": "State/Province",
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/automations/components/AutomationDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const AutomationDetails = (props: Props) => {
<div><b>{Locale.label("common.name")}:</b> {automation?.title}</div>
<div><b>{Locale.label("tasks.automationDetails.rep")}:</b> {automation?.recurs}</div>
<br />
<span style={{ float: "right" }}><SmallButton icon="add" onClick={() => { setEditAction({ automationId: automation.id, actionType: "task" }) }} /></span><b>{Locale.label("tasks.automationDetails.act")}:</b>
<span style={{ float: "right" }}><SmallButton icon="add" onClick={() => { setEditAction({ automationId: automation.id, actionType: "task" }) }} /></span><b>{Locale.label("tasks.automationDetails.acts")}:</b>
<hr />
<ul>
{getActions()}
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/automations/components/ConjunctionEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const ConjunctionEdit = (props: Props) => {
<InputBox headerIcon="settings_suggest" headerText={Locale.label("tasks.conjunctionEdit.conjEdit")} saveFunction={handleSave} cancelFunction={props.onCancel} help="chums/automations">
<ErrorMessages errors={errors} />
<Select fullWidth label={Locale.label("tasks.conjunctionEdit.conjType")} value={conjunction?.groupType} name="groupType" onChange={handleChange}>
<MenuItem value="and">{Locale.label("tasks.conjunctionEdit.add")}</MenuItem>
<MenuItem value="and">{Locale.label("tasks.conjunctionEdit.and")}</MenuItem>
<MenuItem value="or">{Locale.label("tasks.conjunctionEdit.or")}</MenuItem>
</Select>
</InputBox>
Expand Down

0 comments on commit 044adbd

Please sign in to comment.