Skip to content

Commit

Permalink
Merge pull request #55 from openmsupply/#54-prompt-incorrect
Browse files Browse the repository at this point in the history
add translation
  • Loading branch information
mark-prins authored Dec 22, 2020
2 parents b484b26 + 60da3e5 commit e4249de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion frontend/src/common/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"msupply": "mSupply",
"delete_report_group": "Delete report group",
"delete_report_group_question": "Are you sure you want to delete this report group?",
"delete_report_schedule": "Delete report schedule",
"delete_report_schedule_question": "Are you sure you want to delete this report schedule?",
"delete": "DELETE",
"no_email": "No email for this user",
"edit_report_group": "Edit Report Group",
Expand Down Expand Up @@ -73,7 +75,8 @@
"available_panels": "Available Panels",
"available_panels_tooltip": "This is a list of all panels which are available to be added as a sheet within an emailed report. They are panels created within any dashboard of your Grafana instance with a few requirements. Panels must use a table format, and must only use variables which are either a query or custom type. For query type variables, the datasource must be the same datasource as defined in this mSupply app configuration.",
"users": "Users",
"users_tooltip": "Select a user who should be a part of this report group and receive emails from any report schedule assigned this group. Only users who have an email entered into your mSupply instance can be selected.", "send_test_emails": "SEND TEST",
"users_tooltip": "Select a user who should be a part of this report group and receive emails from any report schedule assigned this group. Only users who have an email entered into your mSupply instance can be selected.",
"send_test_emails": "SEND TEST",
"report_time": "Report time",
"report_time_description": "The time at which to send emails",
"report_day": "Report day",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Groups/EditReportScheduleModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export const EditReportScheduleModal: FC<Props> = ({ reportSchedule, onClose, is

<ConfirmModal
isOpen={deleteAlertIsOpen}
title={intl.get('delete_report_group')}
body={intl.get('delete_report_group_question')}
title={intl.get('delete_report_schedule')}
body={intl.get('delete_report_schedule_question')}
confirmText={intl.get('delete')}
icon="exclamation-triangle"
onConfirm={onConfirmDelete}
Expand Down

0 comments on commit e4249de

Please # to comment.