Skip to content

Commit

Permalink
Merge branch 'opencrvs:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Zangetsu101 authored Nov 4, 2024
2 parents 48574a5 + c0ec52d commit a679d29
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 1.7.0 Release candidate

### New features

- Update the translations for System user add/edit form, `Last name` to `User's surname` and `First name` to `User's first name` to make them less confusing for system users [#6830](https://github.com/opencrvs/opencrvs-core/issues/6830)

### Bug fixes

- Protect individual certificate endpoint with token
Expand All @@ -15,6 +19,7 @@
### Improvements

- Auth token, ip address, remote address, mobile number, email redacted/masked from server log
- Optimised deployment times by making docker images download in parallel.
- Country alpha3 ISO code now is derived from variables to the Docker Compose files and don't need to be hard coded

### Infrastructure breaking changes
Expand Down Expand Up @@ -116,6 +121,7 @@ INSERT CSV ROWS IN ENGLISH ONLY

- Github pipeline dedicated for reading secrets and variables from other environments now checks if GH_TOKEN is still valid before attempting other operations
- Remove unnecessary UI dividers that add in various sections of the declaration forms(e.g the Death, Birth and Marriage forms) [#244](https://github.com/opencrvs/opencrvs-countryconfig/pull/244)
- Update template transformer for fields `informantType` and `otherInformantType` that fixes the bug of unavailability of these template fields [#5952](https://github.com/opencrvs/opencrvs-countryconfig/pull/5952)

## 1.5.2 (https://github.com/opencrvs/opencrvs-countryconfig/compare/v1.5.1...v1.5.2)

Expand Down
5 changes: 3 additions & 2 deletions infrastructure/deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,10 @@ docker_stack_deploy() {
do
echo "Server failed to download $tag. Retrying..."
sleep 5
done
done &
done

wait
echo "Images are successfully downloaded"
echo "Updating docker swarm stack with new compose files"

configured_ssh 'cd /opt/opencrvs && \
Expand Down
14 changes: 13 additions & 1 deletion src/translations/client.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
id,description,en,fr
action.action,Label for action button,Action,Action
action.archive,Label for archive record button in dropdown menu,Archive declaration,Déclaration d'archive
action.assignee,Label for asignee,Assigned to {name } at {officeName},Attribué à {name} chez {officeName}
action.correct,Label for correct record button in dropdown menu,Correct record,Enregistrement correct
action.issue,Label for reinstate issue button in dropdown menu,Issue certificate,Délivrer un certificat
action.print,Label for reinstate print button in dropdown menu,Print certified copy,Imprimer une copie certifiée
action.reinstate,Label for reinstate record button in dropdown menu,Reisntate declaration,Déclaration de rétablissement
action.review.correction,Label for review correction in dropdown menu,Review correction request,Vérifier la demande de correction
action.review.declaration,Label for review declaration button in dropdown menu,"Review {isDuplicate, select, true{potential duplicate} other{declaration}}","Review {isDuplicate, select, true{doublon potentiel} other{déclaration}}"
action.update,Label for reinstate update button in dropdown menu,Update declaration,Mettre à jour la déclaration
action.view,Label for view button in dropdown menu,View {recordOrDeclaration},"voir {recordOrDeclaration, select, record{enregistrer} other{déclaration}}"
advancedSearch.accordion.hide,Label for hide button when accordion is closed,Hide,Cacher
advancedSearch.accordion.show,Label for show button when accordion is closed,Show,Voir
advancedSearch.form.childDetails,The title of Child details accordion,Child details,information de l'enfant
Expand Down Expand Up @@ -963,7 +974,6 @@ form.field.label.fetchRegistrationModalInfo,,Birth Registration Number,Numéro d
form.field.label.fileSizeError,,File size must be less than 2MB,La taille du fichier doit être inférieure à 2 Mo
form.field.label.fileUploadError,,{type} supported image only,{type} format d'images accepté
form.field.label.firstName,,First name(s),Prénom(s)
form.field.label.firstNameEN,,First name(s),Prénom(s)
form.field.label.firstNames,,First name(s),Prénom(s)
form.field.label.healthInstitution,,Health Institution,Institution de santé
form.field.label.hospital,,Hospital,Hôpital
Expand Down Expand Up @@ -1160,9 +1170,11 @@ form.field.label.uploadFile,,Upload,Télécharger
form.field.label.urban,,Urban,Urbain
form.field.label.userAttachmentSection,,Signature,Signature
form.field.label.userDevice,,Device,Dispositif
form.field.label.userFirstName,,User's first name,Prénom de l'utilisateur
form.field.label.userSignatureAttachment,,User's signature,Signature de l'utilisateur
form.field.label.userSignatureAttachmentDesc,,Ask the user to sign a piece of paper and then scan or take a photo,"Demandez à l'utilisateur de signer une feuille de papier, puis scannez ou prenez une photo."
form.field.label.userSignatureAttachmentTitle,,Upload signature,Joindre la signature
form.field.label.userSurname,,User's surname,Nom de famille de l'utilisateur
form.field.label.verbalAutopsy,,Verbal autopsy,Autopsie verbale
form.field.label.verbalAutopsyReport,,Verbal autopsy report,Rapport d'autopsie verbal
form.field.label.weightAtBirth,,Weight at birth,Poids à la naissance
Expand Down
8 changes: 7 additions & 1 deletion src/utils/mapping/field-mapping-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,17 @@ export function getFieldMapping(
},
template: {
fieldName: certificateHandlebar,
operation: 'selectTransformer'
operation: 'fieldValueTransformer',
parameters: ['relationship']
}
}
case 'otherInformantType':
return {
template: {
fieldName: certificateHandlebar,
operation: 'fieldValueTransformer',
parameters: ['otherRelationship']
},
mutation: {
operation: 'fieldValueSectionExchangeTransformer',
parameters: ['registration', 'otherInformantType']
Expand Down

0 comments on commit a679d29

Please sign in to comment.