{t('faq:heading')}
+{t('imprint:heading')}
diff --git a/public/locales/en/common.yml b/public/locales/en/common.yml
index 19f3e75..bcf6f83 100644
--- a/public/locales/en/common.yml
+++ b/public/locales/en/common.yml
@@ -1,8 +1,8 @@
title: Vaccination Receipt to Wallet
-subtitle: This tool converts your vaccination receipt from Ontario Health to an Apple Wallet pass with an QR code. Other organizations (e.g. schools, workplaces) can then scan that QR code to validate in a privacy-respecting way.
+subtitle: This tool converts your vaccination receipt from Ontario Ministry of Health to an Apple Wallet pass with a QR code. Other organizations (e.g. schools, workplaces) can then scan that QR code to validate in a privacy-respecting way.
privacyPolicy: Privacy Policy
donate: Sponsor
gitHub: GitHub
-imprint: Imprint
+faq: FAQ
contact: Contact Us
returnToMainSite: Return to Vaccine-Ontario.ca
diff --git a/public/locales/en/faq.yml b/public/locales/en/faq.yml
new file mode 100644
index 0000000..53b138b
--- /dev/null
+++ b/public/locales/en/faq.yml
@@ -0,0 +1,4 @@
+heading: Frequently Asked Questions
+contact: Contact
+credits: Credits
+creditsSource: Core engine from https://github.com/covidpass-org/covidpass
diff --git a/public/locales/en/imprint.yml b/public/locales/en/imprint.yml
index 4250e5b..38b6cfd 100644
--- a/public/locales/en/imprint.yml
+++ b/public/locales/en/imprint.yml
@@ -1,27 +1,4 @@
-heading: Information according to § 5 TMG
+heading: FAQ
contact: Contact
-euDisputeResolution: EU Dispute Resolution
-euDisputeResolutionParagraph: |
- The European Commission provides a platform for online dispute resolution (OS) https://ec.europa.eu/consumers/odr.
- You can find our e-mail address in the imprint above.
-consumerDisputeResolution: Consumer dispute resolution / universal arbitration board
-consumerDisputeResolutionParagraph: We are not willing or obliged to participate in dispute resolution proceedings before a consumer arbitration board.
-liabilityForContents: Liability for contents
-liabilityForContentsParagraph: |
- As a service provider, we are responsible for our own content on these pages in accordance with § 7 paragraph 1 TMG under the general laws.
- According to §§ 8 to 10 TMG, we are not obligated to monitor transmitted or stored information or to investigate circumstances that indicate illegal activity.
- Obligations to remove or block the use of information under the general laws remain unaffected.
- However, liability in this regard is only possible from the point in time at which a concrete infringement of the law becomes known.
- If we become aware of any such infringements, we will remove the relevant content immediately.
-liabilityForLinks: Liability for links
-liabilityForLinksParagraph: |
- Our offer contains links to external websites of third parties, on whose contents we have no influence.
- Therefore, we cannot assume any liability for these external contents.
- The respective provider or operator of the sites is always responsible for the content of the linked sites.
- The linked pages were checked for possible legal violations at the time of linking.
- Illegal contents were not recognizable at the time of linking.
- However, a permanent control of the contents of the linked pages is not reasonable without concrete evidence of a violation of the law.
- If we become aware of any infringements, we will remove such links immediately.
credits: Credits
-creditsSource: With excerpts from https://www.e-recht24.de/impressum-generator.html
-creditsTranslation: Translated with https://www.DeepL.com/Translator (free version)
\ No newline at end of file
+creditsSource: Core engine from https://github.com/covidpass-org/covidpass
diff --git a/public/locales/en/index.yml b/public/locales/en/index.yml
index 9d74a68..f6ed808 100644
--- a/public/locales/en/index.yml
+++ b/public/locales/en/index.yml
@@ -2,7 +2,7 @@ iosHint: On iOS, please use Safari.
errorClose: Close
selectCertificate: Select vaccination receipt (PDF)
selectCertificateDescription: |
- Press "Select File", "Browse..." and select the PDF file you have saved in Step 1.
+ Press "Select File", "Browse..." and select the PDF file you have saved in Step 1. [ Reminder : Only receipts downloaded from the provincial web site can be verified and converted to Apple Wallet Pass.]
#stopCamera: Stop Camera
#startCamera: Start Camera
openFile: Select File
diff --git a/src/process.ts b/src/process.ts
index 80fb7ee..2b1046a 100644
--- a/src/process.ts
+++ b/src/process.ts
@@ -2,8 +2,9 @@ import {PayloadBody, Receipt} from "./payload";
import * as PdfJS from 'pdfjs-dist'
import {COLORS} from "./colors";
import { getCertificatesInfoFromPDF } from "@ninja-labs/verify-pdf"; // ES6
+
import { TextItem } from "pdfjs-dist/types/display/api";
-// import verifyPDF from "@ninja-labs/verify-pdf";
+
// import {PNG} from 'pngjs'
// import {decodeData} from "./decode";
// import {Result} from "@zxing/library";
@@ -32,27 +33,21 @@ export async function getPayloadBodyFromFile(file: File, color: COLORS): Promise
}
}
-async function loadPDF(signedPdfBuffer): Promise