Skip to content

Commit

Permalink
Merge pull request #921 from opencrvs/master-to-develop
Browse files Browse the repository at this point in the history
Merge master into develop
  • Loading branch information
rikukissa authored Feb 29, 2024
2 parents e30e35f + 38f5d46 commit 6371dfe
Show file tree
Hide file tree
Showing 27 changed files with 1,036 additions and 692 deletions.
2 changes: 1 addition & 1 deletion src/api/certificate-configuration/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function certificateConfigurationHandler(): Configuration {
fonts: {
['Noto Sans']: {
normal: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Regular.ttf`,
bold: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-SemiBold.ttf`,
bold: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Bold.ttf`,
italics: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Regular.ttf`,
bolditalics: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Regular.ttf`
}
Expand Down
8 changes: 8 additions & 0 deletions src/api/content/client/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,9 @@
"fieldAgentHome.requireUpdatesCountLoading": "Checking your declarations",
"fieldAgentHome.sentForReviewCount": "Sent for review ({total})",
"fieldAgentHome.zeroUpdatesText": "No declarations require updates",
"form.customField.label.numberOfDependants": "No. of dependants",
"form.customField.label.reasonForLateRegistrationBirth": "Reason for delayed registration",
"form.customField.label.reasonForLateRegistrationDeath": "Reason for late registration",
"form.field.SearchField.changeButtonLabel": "{fieldName, select, registrationOffice {Change assigned office} other {Change health institute}}",
"form.field.SearchField.modalTitle": "{fieldName, select, registrationOffice {Assigned registration office} other {Health institutions}}",
"form.field.SearchField.officeLocationId": "Id: {locationId}",
Expand Down Expand Up @@ -1357,6 +1360,7 @@
"home.header.nationalId": "National ID",
"home.header.placeHolderBrnDrn": "Search for a BRN/DRN",
"home.header.placeHolderEmail": "Search for an email.",
"home.header.placeHolderId": "Search for an ID",
"home.header.placeHolderNationalId": "Search for a national ID.",
"home.header.placeHolderPhone": "Search for a phone no.",
"home.header.placeHolderTrackingId": "Search for a tracking ID",
Expand Down Expand Up @@ -3012,6 +3016,9 @@
"fieldAgentHome.requireUpdatesCountLoading": "Vérification de vos déclarations",
"fieldAgentHome.sentForReviewCount": "Envoyées pour révision ({total})",
"fieldAgentHome.zeroUpdatesText": "Aucune déclaration ne nécessite de mise à jour",
"form.customField.label.numberOfDependants": "Nombre de personnes à charge",
"form.customField.label.reasonForLateRegistrationBirth": "Raison du retard d'inscription",
"form.customField.label.reasonForLateRegistrationDeath": "Raison de l'inscription tardive",
"form.field.SearchField.changeButtonLabel": "{fieldName, select, registrationOffice {Bureau d'enregistrement assigné} autre {Instituts de santé}}",
"form.field.SearchField.modalTitle": "{fieldName, select, registrationOffice {Bureau d'enregistrement assigné} autre {Instituts de santé}}",
"form.field.SearchField.officeLocationId": "Id : {locationId}",
Expand Down Expand Up @@ -3488,6 +3495,7 @@
"home.header.nationalId": "Carte d'identité nationale",
"home.header.placeHolderBrnDrn": "Recherche d'un BRN/DRN",
"home.header.placeHolderEmail": "Recherchez un e-mail.",
"home.header.placeHolderId": "Recherche d'un ID",
"home.header.placeHolderNationalId": "Recherche d'une carte d'identité nationale",
"home.header.placeHolderPhone": "Recherche d'un numéro de téléphone",
"home.header.placeHolderTrackingId": "Recherche d'un ID de suivi",
Expand Down
2 changes: 0 additions & 2 deletions src/api/content/client/descriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,6 @@
"constants.issueToInformant": "Issuance of death to informant",
"constants.issueConfirmationMessage": "Confirmation of issuance",
"constants.idCheckWithoutVerify": "Issuance without the confirmation of proof",
"form.field.label.UNION": "Label for Union",
"form.field.label.DIVISION": "Label for Division",
"form.field.label.district": "Label for District",
"form.field.label.cityUrbanOption": "Label for City",
"form.field.label.state": "Label for State",
Expand Down
4 changes: 2 additions & 2 deletions src/api/content/login/login.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"login.verficationCodeLabel": "Verification code (6 digits)",
"login.verify": "Verify",
"misc.newPass.header": "Choose a new password",
"misc.newPass.instruction": "Create a unique password one that you don't use for another website or application",
"password.cases": "Contain upper and lower cases",
"misc.newPass.instruction": "Create a unique password - one that you don't use for other websites or applications. A secure and easy to remember passphrase could include three random words, while avoiding the use of personal info.",
"password.cases": "At least one upper and lower case character",
"password.label.confirm": "Confirm password",
"password.label.new": "New password",
"password.match": "Passwords match",
Expand Down
Binary file added src/api/fonts/NotoSans-Bold.ttf
Binary file not shown.
236 changes: 0 additions & 236 deletions src/data-seeding/certificates/README.md

This file was deleted.

12 changes: 6 additions & 6 deletions src/data-seeding/certificates/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ export async function certificateHandler(request: Request, h: ResponseToolkit) {
const Certificates = [
{
event: 'birth',
fileName: 'farajaland-birth-certificate-v1.svg',
fileName: 'Farajaland-birth-certificate-v2.svg',
svgCode: readFileSync(
'./src/data-seeding/certificates/source/BirthCertificate.svg'
'./src/data-seeding/certificates/source/Farajaland-birth-certificate-v2.svg'
).toString()
},
{
event: 'death',
fileName: 'farajaland-death-certificate-v1.svg',
fileName: 'Farajaland-death-certificate-v2.svg',
svgCode: readFileSync(
'./src/data-seeding/certificates/source/DeathCertificate.svg'
'./src/data-seeding/certificates/source/Farajaland-death-certificate-v2.svg'
).toString()
},
{
event: 'marriage',
fileName: 'farajaland-marriage-certificate-v1.svg',
fileName: 'Farajaland-marriage-certificate-v2.svg',
svgCode: readFileSync(
'./src/data-seeding/certificates/source/MarriageCertificate.svg'
'./src/data-seeding/certificates/source/Farajaland-marriage-certificate-v2.svg'
).toString()
}
]
Expand Down
Loading

0 comments on commit 6371dfe

Please sign in to comment.