diff --git a/examples/add-example-Web3Id/index.html b/examples/add-example-Web3Id/index.html index 17fd3070..b2fd5213 100644 --- a/examples/add-example-Web3Id/index.html +++ b/examples/add-example-Web3Id/index.html @@ -96,7 +96,7 @@ const values = { degreeType: degreeType.value, degreeName: degreeName.value, - graduationDate: graduationDate.valueAsDate, + graduationDate: { type: 'date-time', timestamp: graduationDate.valueAsDate.toISOString() }, }; const metadataUrl = { url: web3metadataUrl.value, diff --git a/packages/browser-wallet/CHANGELOG.md b/packages/browser-wallet/CHANGELOG.md index 4ad5bd20..702209d8 100644 --- a/packages/browser-wallet/CHANGELOG.md +++ b/packages/browser-wallet/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## Unreleased + +### Fixed + +- Changed 'Zero Knowledge' to 'Zero-knowledge' in display texts. +- An issue with images in verifiable credentials for lower resolutions. + ## 1.1.6 ### Fixed diff --git a/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/da.ts b/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/da.ts index 2da97ad1..de130f81 100644 --- a/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/da.ts +++ b/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/da.ts @@ -14,18 +14,18 @@ const da: typeof en = { body: 'Når du afslører information til en tredjepart, kan de beholde denne information. Dette betyder, at du kun bør afsløre information til dem hvis du er bekendt med deres databrugs- samt databeskyttelses-politik.\n\nDu kan læse mere i\n<1>udvikler dokumentationen.', }, secretTooltip: { - header: 'Zero Knowledge beviser', - body: 'Zero Knowledge beviser er en måde at bevise noget overfor en service eller dApp, uden at afsløre den underliggende personlige information. Et eksempel kan være, at du beviser at du er over 18 år gammel, uden at bevise din specifikke fødselsdato. Et andet eksempel kan være, at du bor i ét ud af en række lande, uden at afsløre hvilken af disse lande du bor i.\n\nDu kan læse mere i\n<1>udvikler dokumentationen.', + header: 'Zero-knowledge beviser', + body: 'Zero-knowledge beviser er en måde at bevise noget overfor en service eller dApp, uden at afsløre den underliggende personlige information. Et eksempel kan være, at du beviser at du er over 18 år gammel, uden at bevise din specifikke fødselsdato. Et andet eksempel kan være, at du bor i ét ud af en række lande, uden at afsløre hvilken af disse lande du bor i.\n\nDu kan læse mere i\n<1>udvikler dokumentationen.', }, headers: { reveal: 'Information der afsløres', - age: 'Zero Knowledge bevis for alder', - dob: 'Zero Knowledge bevis for fødselsdato', - idValidity: 'Zero Knowledge bevis for ID validitet', - nationality: 'Zero Knowledge bevis for nationalitet', - residence: 'Zero Knowledge bevis for bopælsland', - idDocType: 'Zero Knowledge bevis for identitetsdokumenttype', - idDocIssuer: 'Zero Knowledge bevis for identitetsdokumentudsteder', + age: 'Zero-knowledge bevis for alder', + dob: 'Zero-knowledge bevis for fødselsdato', + idValidity: 'Zero-knowledge bevis for ID validitet', + nationality: 'Zero-knowledge bevis for nationalitet', + residence: 'Zero-knowledge bevis for bopælsland', + idDocType: 'Zero-knowledge bevis for identitetsdokumenttype', + idDocIssuer: 'Zero-knowledge bevis for identitetsdokumentudsteder', }, names: { age: 'Alder', diff --git a/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/en.ts b/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/en.ts index 1d0ec3d0..7d17ad89 100644 --- a/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/en.ts +++ b/packages/browser-wallet/src/popup/pages/IdProofRequest/i18n/en.ts @@ -6,24 +6,24 @@ export default { requirementsMet: 'You meet this requirement', requirementsNotMet: "You don't meet this requirement", revealDescription: - '<1>Important: {{dappName}} will be given all the information above. You should only accept, if you trust the service, and you are familiar with their privacy policy.', + '<1>Important: {{dappName}} will be given all the information above. You should only accept if you trust the service, and you are familiar with their privacy policy.', revealTooltip: { header: 'Revealing information <1 />', body: 'When you reveal information to a third party, you effectively hand over the information to them. This means you should only do this if you agree to their data usage and protection policies.\n\nYou can read more in\n<1>the developer documentation.', }, secretTooltip: { - header: 'Zero Knowledge proofs', - body: 'Zero Knowledge proofs are a way of proving something to a service or dApp without revealing the exact personal information. One example can be that you prove that you are over 18 years old without revealing your exact age. Another example could be proving your residency is within a given set of countries without revealing which of those countries you reside within.\n\nYou can read more in\n<1>the developer documentation.', + header: 'Zero-knowledge proofs', + body: 'Zero-knowledge proofs are a way of proving something to a service or dApp without revealing the exact personal information. One example can be that you prove that you are over 18 years old without revealing your exact age. Another example could be proving your residency is within a given set of countries without revealing which of those countries you reside within.\n\nYou can read more in\n<1>the developer documentation.', }, headers: { reveal: 'Information to reveal', - age: 'Zero Knowledge proof of age', - dob: 'Zero Knowledge proof of date of birth', - idValidity: 'Zero Knowledge proof of ID validity', - nationality: 'Zero Knowledge proof of nationality', - residence: 'Zero Knowledge proof of country of residence', - idDocType: 'Zero Knowledge proof of identity document type', - idDocIssuer: 'Zero Knowledge proof of identity document issuer', + age: 'Zero-knowledge proof of age', + dob: 'Zero-knowledge proof of date of birth', + idValidity: 'Zero-knowledge proof of ID validity', + nationality: 'Zero-knowledge proof of nationality', + residence: 'Zero-knowledge proof of country of residence', + idDocType: 'Zero-knowledge proof of identity document type', + idDocIssuer: 'Zero-knowledge proof of identity document issuer', }, names: { age: 'Age', diff --git a/packages/browser-wallet/src/popup/pages/VerifiableCredential/VerifiableCredential.scss b/packages/browser-wallet/src/popup/pages/VerifiableCredential/VerifiableCredential.scss index ad7a30b7..4090e1d2 100644 --- a/packages/browser-wallet/src/popup/pages/VerifiableCredential/VerifiableCredential.scss +++ b/packages/browser-wallet/src/popup/pages/VerifiableCredential/VerifiableCredential.scss @@ -70,9 +70,10 @@ } &__image { - margin: auto; + margin-left: 8px; + margin-right: 8px; + width: calc(100% - 16px); height: 120px; - width: 308px; img { max-width: 100%; diff --git a/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/da.ts b/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/da.ts index 2b2568ec..dd31d4ed 100644 --- a/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/da.ts +++ b/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/da.ts @@ -16,12 +16,12 @@ const t: typeof en = { body: 'Når du afslører information til en tredjepart, kan de beholde denne information. Dette betyder, at du kun bør afsløre information til dem hvis du er bekendt med deres databrugs- samt databeskyttelses-politik.\n\nDu kan læse mere i\n<1>udvikler dokumentationen.', }, secretTooltip: { - header: 'Zero Knowledge beviser', - body: 'Zero Knowledge beviser er en måde at bevise noget overfor en service eller dApp, uden at afsløre den underliggende personlige information. Et eksempel kan være, at du beviser at du er over 18 år gammel, uden at bevise din specifikke fødselsdato. Et andet eksempel kan være, at du bor i ét ud af en række lande, uden at afsløre hvilken af disse lande du bor i.\n\nDu kan læse mere i\n<1>udvikler dokumentationen.', + header: 'Zero-knowledge beviser', + body: 'Zero-knowledge beviser er en måde at bevise noget overfor en service eller dApp, uden at afsløre den underliggende personlige information. Et eksempel kan være, at du beviser at du er over 18 år gammel, uden at bevise din specifikke fødselsdato. Et andet eksempel kan være, at du bor i ét ud af en række lande, uden at afsløre hvilken af disse lande du bor i.\n\nDu kan læse mere i\n<1>udvikler dokumentationen.', }, headers: { reveal: 'Information der afsløres', - secret: 'Zero Knowledge bevis', + secret: 'Zero-knowledge bevis', }, proofs: { range: 'Mellem {{ lower }} og {{ upper }}', diff --git a/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/en.ts b/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/en.ts index 0188ef4a..ab27b3c6 100644 --- a/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/en.ts +++ b/packages/browser-wallet/src/popup/pages/Web3ProofRequest/i18n/en.ts @@ -8,18 +8,18 @@ export default { requirementsMet: 'You meet this requirement', requirementsNotMet: "You don't meet this requirement", revealDescription: - '<1>Important: {{dappName}} will be given all the information above. You should only accept, if you trust the service, and you are familiar with their privacy policy.', + '<1>Important: {{dappName}} will be given all the information above. You should only accept if you trust the service, and you are familiar with their privacy policy.', revealTooltip: { header: 'Information to reveal', body: 'When you reveal information for a third party, you effectively hand over the information to them. This means that you should only do this if you have absolute trust in them, and if you are familiar with their data usage and protection procedures.\n\nYou can read more on\ndeveloper.concordium.software', }, secretTooltip: { - header: 'Zero Knowledge proof', + header: 'Zero-knowledge proof', body: 'Zero-knowledge proofs are a way of proving something to a service or dApp without revealing the exact personal information. One example can be that you prove that you are over 18 years old without revealing your exact date of birth. Another example could be that you live in one of a range of countries without revealing exactly which country you live in.\n\nYou can read more on\ndeveloper.concordium.software', }, headers: { reveal: 'Information to reveal', - secret: 'Zero Knowledge proof', + secret: 'Zero-knowledge proof', }, proofs: { range: 'Between {{ lower }} and {{ upper }}',