Skip to content

Commit

Permalink
fix: add missing translations (#80)
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Drouin <[email protected]>
  • Loading branch information
jcdrouin21 authored Dec 13, 2023
1 parent ed6850c commit f44c582
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 7 deletions.
42 changes: 39 additions & 3 deletions app/src/localization/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ const translation = {
Remove: 'Remove',
},
Language: {
English: 'English',
French: 'French',
Portuguese: 'Portuguese',
code_en: 'English',
code_fr: 'French',
'code_pt-BR': 'Portuguese',
},
Date: {
ShortFormat: 'MMM D',
Expand Down Expand Up @@ -145,6 +145,7 @@ const translation = {
Screens: {
Splash: 'Splash',
Onboarding: 'Quebec Wallet',
Preface: 'QC Wallet',
Terms: 'Terms & Conditions',
CreatePin: 'Create 6-Digit Pin',
EnterPin: 'Enter Pin',
Expand All @@ -154,6 +155,7 @@ const translation = {
CredentialDetails: 'Credential Details',
Notifications: 'Notifications',
CredentialOffer: 'Credential Offer',
ProofChangeCredential: 'Choose a credential',
ProofRequest: 'Proof Request',
ProofRequestAttributeDetails: 'Proof Request Attribute Details',
Settings: 'Settings',
Expand Down Expand Up @@ -185,8 +187,10 @@ const translation = {
CreatePIN: 'Create a PIN',
EnterPIN: 'Enter PIN',
DataRetention: 'Data retention',
RenameContact: 'Edit Contact Name',
},
Error: {
ReportThisProblem: 'Report this problem',
Title2020: 'Unable to parse invitation',
Message2020: 'There was a problem parsing the connection invitation.',
Title2021: 'Unable to receive invitation',
Expand Down Expand Up @@ -509,6 +513,18 @@ const translation = {
UnableToHandleRedirection: 'Unable to handle redirection',
Close: 'Close',
Torch: 'Flash',
ScanHelp: 'Scan Help',
ScanNow: 'Scan Now',
WhatToScan: 'What QR Codes can be scanned?',
ScanOnySpecial: 'Only special QR codes can be scanned by the Wallet.',
ScanOnlySpecial2:
'These are presented by participating services or people to receive a credential offer, request for information or to connect.',
ScanOnlySpecial3:
"The Wallet currently doesn't support adding digital credential by scanning or taking photos of physical ones.",
WhereToUseLink: 'See where you can use the Wallet',
BadQRCode: 'QR Code Not Recognized',
BadQRCodeDescription:
"Ths QR code scanned doesn't work with the Wallet. The Wallet only works with participating services.\n\nIt currently can't add digital credentials by taking photos of physical ones.",
WillScanAutomatically: 'A valid QR code will scan automatically.',
ScanQRCode: 'Scan QR code',
MyQRCode: 'My QR code',
Expand Down Expand Up @@ -575,6 +591,8 @@ const translation = {
PopupExit: 'Got it',
},
ProofRequest: {
FromYourWallet: 'From your wallet',
MissingCredentials: 'Missing credentials',
PredicateGeDate: 'is after',
PredicateLeDate: 'is before',
PredicateGe: 'is greater than or equal to',
Expand Down Expand Up @@ -614,6 +632,7 @@ const translation = {
DeclineTitle: 'Decline proof request?',
Declined: 'Declined',
ReviewSentInformation: 'You shared the following information from {{count}} credentials with',
ShareFollowingInformation: 'is sharing the following information from {{count}} credentials.',
ShareFollowingInformation_one: 'is sharing the following information from {{count}} credential.',
ShareFollowingInformation_other: 'is sharing the following information from {{count}} credentials.',
DeclineBulletPoint1:
Expand Down Expand Up @@ -669,6 +688,16 @@ const translation = {
EmptyNameTitle: "Wallet name can't be empty",
EmptyNameDescription: 'This is the name people see when connecting with you.\n\nPlease enter a wallet name.',
},
RenameContact: {
ThisContactName: 'This contact name is only displayed in your Contacts List.',
ContactName: 'Contact name',
CharCountTitle: 'Character count exceeded',
CharCountDescription:
"You've exceeded the maximum character count of 50 characters. Please reduce your character count.",
EmptyNameTitle: "Contact name can't be empty",
EmptyNameDescription:
'This is the name you will see for this Contact in your Contacts list.\n\nPlease enter a contact name.',
},
NetInfo: {
NoInternetConnectionTitle: 'No internet connection',
NoInternetConnectionMessage:
Expand Down Expand Up @@ -764,6 +793,12 @@ const translation = {
Tip13: 'Information sent via your wallet is trusted by you and your Contacts you interact with',
Tip14: "Even revoked or expired credentials can be usable if the organisation doesn't request for it",
},
Preface: {
PrimaryHeading: 'Is this app for you?',
Paragraph1:
'Most people will not have a need for the wallet because very few digital credentials are currently available.',
Confirmed: 'I have confirmed that this app is for me.',
},
Chat: {
OpenItem: 'Open',
UserYou: 'You',
Expand Down Expand Up @@ -811,6 +846,7 @@ const translation = {
ZeroKnowledgeProof: 'Zero-knowledge proof',
Parameterizable: 'Parameterizable',
GenerateNewQR: 'Generate new QR Code',
BackToList: 'Back to list',
ShareLink: 'Share link',
ScanQR: 'Scan this QR Code',
ScanQRComment: 'with your digital wallet to receive a proof request.',
Expand Down
45 changes: 41 additions & 4 deletions app/src/localization/fr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ const translation = {
Remove: 'Supprimer',
},
Language: {
English: 'Anglais',
French: 'Français',
Portuguese: 'Portugais',
code_en: 'Anglais',
code_fr: 'Français',
'code_pt-BR': 'Portugais',
},
Date: {
ShortFormat: 'D MMM',
Expand Down Expand Up @@ -124,6 +124,7 @@ const translation = {
NoBiometricsErrorDetails: 'Pour résoudre ce problème, activez la biométrie dans les paramètres de votre appareil.',
},
Error: {
ReportThisProblem: 'Signaler ce problème',
Title2020: "Impossible de traiter l'invitation",
Message2020: "Un problème est survenu lors du traitement de l'invitation à se connecter.",
Title2021: "Impossible de recevoir l'invitation",
Expand Down Expand Up @@ -338,6 +339,7 @@ const translation = {
PINTooShortValidation: 'Votre NIP doit contenir six (6) chiffres. Veuillez choisir un nouveau NIP.',
PINTooLongValidation: 'Votre NIP doit contenir six (6) chiffres. Veuillez choisir un nouveau NIP.',
AncienPINIncorrect: 'Votre ancien NIP est incorrect. Veuillez réessayer.',
OldPINIncorrect: "L'ancien NIP est incorrect. Veuillez réessayer.",
},
Helper: {
CrossPatternValidation: 'Ne doit pas contenir une séquence en forme de croix.',
Expand Down Expand Up @@ -458,10 +460,22 @@ const translation = {
ConnectionRecordIdNotFound: "Identifiant de l'enregistrement de connexion introuvable",
ConnectionAccepted: 'Connexion acceptée',
ConnectionNotFound: 'Connexion non détectée',
InvalidQrCode: 'Code QR erroné. Veuillez réessayer.',
InvalidQrCode: 'Code QR invalide. Veuillez réessayer.',
UnableToHandleRedirection: 'Impossible de traiter la redirection',
Close: 'Fermer',
Torch: 'Flash',
ScanHelp: 'Aide à la numérisation',
ScanNow: 'Numériser maintenant',
WhatToScan: 'Quels codes QR peuvent être scannés ?',
ScanOnySpecial: 'Seuls certains codes QR spéciaux peuvent être scannés par le portefeuille.',
ScanOnlySpecial2:
"Ces codes QR sont présentés par des services ou des personnes qui souhaitent recevoir une offre d'attestation, une demande d'informations ou pour se connecter.",
ScanOnlySpecial3:
"Le portefeuille ne prend actuellement pas en charge l'ajout d'attestations numériques en scannant ou en prenant des photos de cartes physiques.",
WhereToUseLink: 'Découvrez où vous pouvez utiliser le portefeuille',
BadQRCode: 'QR Code non reconnu',
BadQRCodeDescription:
"Le QR code scanné ne fonctionne pas avec le portefeuille. Le portefeuille ne fonctionne qu'avec les services participants.\n\nIl ne peut actuellement pas ajouter des attestations numériques en prenant des photos de cartes physiques.",
WillScanAutomatically: 'Un code QR valide sera scanné automatiquement.',
ScanQRCode: 'Scanner le code QR',
MyQRCode: 'Mon code QR',
Expand Down Expand Up @@ -533,6 +547,8 @@ const translation = {
PopupExit: "J'ai compris",
},
ProofRequest: {
FromYourWallet: 'à partir de votre portefeuille',
MissingCredentials: 'Attestations manquantes',
PredicateGeDate: 'est après le',
PredicateLeDate: 'est avant le',
PredicateGe: 'est supérieur ou égal à',
Expand Down Expand Up @@ -574,6 +590,7 @@ const translation = {
AbortDecline: 'Non, revenir en arrière',
DeclineTitle: 'Refuser la demande de preuve?',
Declined: 'Refusé',
ShareFollowingInformation: "Partage les informations suivantes à partir de l'attestation {{count}}.",
ShareFollowingInformation_one: "partage les informations suivantes à partir de l'attestation {{count}}.",
ShareFollowingInformation_other: "partage les informations suivantes à partir de l'attestation {{count}}.",
DeclineBulletPoint1:
Expand Down Expand Up @@ -635,6 +652,7 @@ const translation = {
Screens: {
Splash: 'Page de garde',
Onboarding: 'Portefeuille numérique du Québec',
Preface: 'Portefeuille QC',
Terms: "Conditions d'utilisation",
CreatePin: 'Créer un NIP à 6 chiffres',
EnterPin: 'Saisir le NIP',
Expand All @@ -645,6 +663,7 @@ const translation = {
Notifications: 'Notifications',
CredentialOffer: "Proposition d'attestation",
ProofRequest: 'Demande de preuve',
ProofChangeCredential: "Changer l'attestation",
ProofRequestAttributeDetails: 'Détails des attributs de la demande de preuve',
Settings: 'Paramètres',
Language: 'Langue',
Expand Down Expand Up @@ -675,6 +694,7 @@ const translation = {
CreatePIN: 'Créer un NIP',
EnterPIN: 'Entrer le NIP',
DataRetention: 'Conservation des données',
RenameContact: 'Renommer le contact',
},
OnboardingPages: {
FirstPageTitle: 'Bienvenue dans le portefeuille numérique du Québec',
Expand All @@ -694,6 +714,16 @@ const translation = {
'Vous avez le contrôle sur les informations qui sont partagées et utilisées depuis votre portefeuille Québec. Vous ne partagez que les informations requises selon la situation. \n\nLe gouvernement du Québec n’est jamais mis au courant des interactions réalisées lorsque vous utilisez une attestation numérique.',
ButtonGetStarted: 'Configurer le portefeuille',
},
RenameContact: {
ThisContactName: "Ce nom de contact n'est affiché que dans votre liste de contacts.",
ContactName: 'Nom du contact',
CharCountTitle: 'Dépassement de la limite de caractères',
CharCountDescription:
'Vous avez dépassé la limite maximale de 50 caractères. Veuillez réduire le nombre de caractères.',
EmptyNameTitle: 'Le nom du contact ne peut pas être vide',
EmptyNameDescription:
"C'est le nom que vous verrez pour ce contact dans votre liste de contacts.\n\nVeuillez entrer un nom de contact.",
},
NetInfo: {
NoInternetConnectionTitle: 'Pas de connexion Internet',
NoInternetConnectionMessage:
Expand Down Expand Up @@ -776,6 +806,12 @@ const translation = {
Tip14:
"Même les attestations d'identité révoquées ou expirées peuvent être utilisées si l'organisation n'en fait pas la demande.",
},
Preface: {
PrimaryHeading: 'Cette application est-elle pour vous ?',
Paragraph1:
"La plupart des gens n'auront pas besoin le portefeuille numérique car très peu d'attestations numériques sont actuellement disponibles.",
Confirmed: "J'ai confirmé que cette application est pour moi.",
},
Chat: {
OpenItem: 'Ouvrir',
UserYou: 'Vous avez',
Expand Down Expand Up @@ -844,6 +880,7 @@ const translation = {
ZeroKnowledgeProof: 'Preuve à divulgation nulle',
Parameterizable: 'Paramétrable',
GenerateNewQR: 'Générer un nouveau code QR',
BackToList: 'Retour à la liste',
ShareLink: 'Partager le lien',
ScanQR: 'Veuillez lire ce code QR',
ScanQRComment: 'avec votre portefeuille numérique pour recevoir une demande de preuve.',
Expand Down

0 comments on commit f44c582

Please sign in to comment.