Skip to content

Commit a051bee

Browse files
Use ‘upload’ and ‘download’ within manage data section
1 parent 4ef1723 commit a051bee

3 files changed

Lines changed: 35 additions & 34 deletions

File tree

app/locales/en.js

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -975,21 +975,22 @@ export const en = {
975975
}
976976
},
977977
download: {
978-
label: 'Exports',
978+
label: 'Downloads',
979979
list: {
980-
label: 'Exports',
981-
title: 'Exports'
980+
label: 'Downloads',
981+
title: 'Downloads',
982+
results: 'All downloads'
982983
},
983984
search: {
984-
label: 'Find export'
985+
label: 'Find download'
985986
},
986987
results:
987-
'{count, plural, =0 {No exports matching your search criteria were found} one {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> export} other {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> exports}}',
988+
'{count, plural, =0 {No downloads matching your search criteria were found} one {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> download} other {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> downloads}}',
988989
new: {
989990
label: 'Download vaccination report',
990991
confirm: 'Download vaccination data',
991992
success:
992-
'It will take some time to prepare the records. You’ll be able to download them soon in [Exports](/downloads)'
993+
'It will take some time to prepare the records. You’ll be able to download them soon in [Downloads](/downloads)'
993994
},
994995
createdAt: {
995996
label: 'Requested at'
@@ -2497,7 +2498,7 @@ export const en = {
24972498
action: {
24982499
title: 'Are you sure you want to %s?',
24992500
description: 'This cannot be undone.',
2500-
cancel: 'No, return to import',
2501+
cancel: 'No, return to upload',
25012502
confirm: 'Yes, %s'
25022503
},
25032504
delete: {
@@ -2506,33 +2507,33 @@ export const en = {
25062507
success: 'Upload deleted'
25072508
},
25082509
approve: {
2509-
confirm: 'Approve and import records',
2510+
confirm: 'Approve and upload records',
25102511
success: 'Upload approved'
25112512
},
25122513
list: {
2513-
label: 'Imports',
2514-
title: 'Imports',
2515-
description:
2516-
'Import child, cohort and vaccination records and see important notices',
2514+
label: 'Uploads',
2515+
title: 'Uploads',
2516+
results: 'All uploads',
2517+
description: 'Upload child, cohort and vaccination records',
25172518
introduction:
2518-
'Use this page to upload and import child, class list and vaccination records.\n\nUpload times can vary. Refresh the page to see the latest status.'
2519+
'Use this page to upload child, class list and vaccination records.\n\nUpload times can vary. Refresh the page to see the latest status.'
25192520
},
25202521
search: {
2521-
label: 'Find import'
2522+
label: 'Find upload'
25222523
},
25232524
results:
2524-
'{count, plural, =0 {No imports matching your search criteria were found} one {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> import} other {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> imports}}',
2525+
'{count, plural, =0 {No uploads matching your search criteria were found} one {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> upload} other {Showing <b>{from}</b> to <b>{to}</b> of <b>{count}</b> uploads}}',
25252526
recent: {
25262527
label: 'Uploaded files',
25272528
title: 'Uploaded files',
25282529
count:
25292530
'{count, plural, =0 {No uploaded files} one {1 uploaded file} other {# uploaded files}} ({needsReview, plural, =0 {none need} one {1 needs} other {# need}} review)'
25302531
},
25312532
imported: {
2532-
label: 'Completed imports',
2533-
title: 'Completed imports',
2533+
label: 'Completed uploads',
2534+
title: 'Completed uploads',
25342535
count:
2535-
'{count, plural, =0 {No completed imports} one {1 completed import} other {# completed imports}}'
2536+
'{count, plural, =0 {No completed uploads} one {1 completed upload} other {# completed uploads}}'
25362537
},
25372538
show: {
25382539
title: 'Upload ({{upload.formatted.createdAt}})',
@@ -2554,7 +2555,7 @@ export const en = {
25542555
title: {
25552556
[UploadStatus.Review]:
25562557
'Close matches to existing records – need review',
2557-
[UploadStatus.Approved]: 'Upload issues resolved for this import'
2558+
[UploadStatus.Approved]: 'Issues resolved for this upload'
25582559
},
25592560
count: {
25602561
[UploadStatus.Review]:
@@ -2588,7 +2589,7 @@ export const en = {
25882589
[UploadStatus.Review]:
25892590
'This upload includes {count, plural, =0 {no records} one {1 record} other {# records}} that are close matches to existing records in Mavis. You need to review these records before you can approve this upload.',
25902591
[UploadStatus.Approved]:
2591-
'{count, plural, =0 {No records} one {1 import issue} other {# import issues}} reviewed'
2592+
'{count, plural, =0 {No records} one {1 upload issue} other {# upload issues}} reviewed'
25922593
}
25932594
},
25942595
matched: {
@@ -2599,14 +2600,14 @@ export const en = {
25992600
'This upload includes {count, plural, =0 {no records that already exist} one {1 record that already exists} other {# records that already exist}} in Mavis. You do not need to remove these from your CSV file. If you approve the upload, any new information will be added to the existing records.'
26002601
},
26012602
imported: {
2602-
title: 'Imported records',
2603+
title: 'Uploaded records',
26032604
count:
2604-
'{count, plural, =0 {No imported records} one {1 imported record} other {# imported records}}'
2605+
'{count, plural, =0 {No uploaded records} one {1 uploaded record} other {# uploaded records}}'
26052606
},
26062607
moves: {
26072608
title: {
26082609
[UploadStatus.Review]: 'School moves – need review',
2609-
[UploadStatus.Approved]: 'School moves resolved for this import'
2610+
[UploadStatus.Approved]: 'School moves resolved for this upload'
26102611
},
26112612
count:
26122613
'{count, plural, =0 {No school moves} one {1 school move} other {# school moves}}',
@@ -2633,11 +2634,11 @@ export const en = {
26332634
success: 'Records uploaded for processing'
26342635
},
26352636
file: {
2636-
title: 'Import {{type}}',
2637+
title: 'Upload {{type}}',
26372638
label: 'Upload file',
26382639
description: {
26392640
report:
2640-
'You can import vaccination records by uploading:\n\n- a Mavis CSV file\n- a SystmOne file',
2641+
'You can add vaccination records by uploading:\n\n- a Mavis CSV file\n- a SystmOne file',
26412642
other:
26422643
'The file you upload should use the Mavis CSV format for {{type}}'
26432644
},
@@ -2650,7 +2651,7 @@ export const en = {
26502651
title: 'Bulk remove relationships',
26512652
label: 'Bulk remove relationships',
26522653
description:
2653-
'If there is a problem in the class list import, you can bulk remove relationships between parents and children.',
2654+
'If there is a problem in the class list upload, you can bulk remove relationships between parents and children.',
26542655
nonConsenting:
26552656
'Remove relationships where parents haven’t given consent yet',
26562657
all: 'Remove relationships for all parents and children',
@@ -2667,18 +2668,18 @@ export const en = {
26672668
title: 'Which year groups do you want to import class list records for?'
26682669
},
26692670
invalid: {
2670-
title: 'Records could not be imported',
2671+
title: 'Records could not be uploaded',
26712672
description:
2672-
'The records could not be imported due to errors in the CSV file. When fixing these errors, note that the header does not count as a row.'
2673+
'The records could not be uploaded due to errors in the CSV file. When fixing these errors, note that the header does not count as a row.'
26732674
},
26742675
devoid: {
26752676
title: 'No new records',
2676-
description: 'All records in this upload have already been imported'
2677+
description: 'All records in this file have already been uploaded'
26772678
},
26782679
failed: {
26792680
title: 'Too many records could not be matched',
26802681
description:
2681-
'The records could not be imported as an unusually low number of records were matched to PDS (spine). PDS successfully matched only 60 records, a 10% match rate.\n\nReview your file and try uploading it again.',
2682+
'The records could not be uploaded as an unusually low number of records were matched to PDS (spine). PDS successfully matched only 60 records, a 10% match rate.\n\nReview your file and try uploading it again.',
26822683
count:
26832684
'{count, plural, =0 {No unmatched records} one {1 unmatched record} other {# unmatched records}}'
26842685
},

app/views/download/list.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555

5656
<div class="app-grid-column-results">
5757
{% if data.type and data.type != "none" %}
58-
{% set title = data.type | replace("records", "record exports") %}
58+
{% set title = data.type | replace("records", "record downloads") %}
5959
{% else %}
60-
{% set title = "All exports" %}
60+
{% set title = __("download.list.results") %}
6161
{% endif %}
6262

6363
{{ appHeading({

app/views/upload/list.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777

7878
<div class="app-grid-column-results">
7979
{% if data.type and data.type != "none" %}
80-
{% set title = data.type | replace("records", "record imports") %}
80+
{% set title = data.type | replace("records", "record uploads") %}
8181
{% else %}
82-
{% set title = "All imports" %}
82+
{% set title = __("upload.list.results") %}
8383
{% endif %}
8484

8585
{{ appHeading({

0 commit comments

Comments
 (0)