patbef-iOS/Befund/Core/Lang/EN.swift

177 lines
12 KiB
Swift
Raw Normal View History

2024-01-29 16:20:42 +01:00
//
// EN.swift
// Befund
//
// Created by Irakli Abetschkhrischwili on 27.06.22.
// Copyright © 2022 MVZ Dr. Stein und Kollegen. All rights reserved.
//
import Foundation
extension Core.Lang
{
public struct EN
{
/**
* Returns dict of words in english
*/
public static func GetDict() -> NSMutableDictionary
{
let result = NSMutableDictionary()
//TODO: word have to be translated in english
//MARK: LABELS
result.setValue("My results", forKey: "LBL_MY_RESULTS")
result.setValue("My result", forKey: "BTN_MY_RESULT")
result.setValue("ZIP", forKey: "LBL_ZIP")
result.setValue("Birthday", forKey: "LBL_BIRTHDAY")
result.setValue("Sample Id", forKey: "LBL_SAMPLEID")
result.setValue("Password", forKey: "LBL_PASSWORD")
result.setValue("Confirm Password", forKey: "LBL_PASSWORD_CONFIRM")
result.setValue("Pending", forKey: "LBL_PENDING")
result.setValue("Ready to Download", forKey: "LBL_READY_TO_DOWNLOAD")
result.setValue("Downloaded", forKey: "LBL_ALREADY_DOWNLOAD")
result.setValue("Rejected", forKey: "LBL_REJECTED")
result.setValue("Expired", forKey: "LBL_EXPIRED")
result.setValue("You currently have no results", forKey: "LBL_NO_RESULTS")
//result.setValue("Old Password", forKey: "LBL_OLD_PASSWORD")
//result.setValue("Support Code", forKey: "LBL_SUPPORT_CODE")
result.setValue( "Privacy Policy", forKey: "LBL_PRIVACY_POLICY")
result.setValue( "Downloading...", forKey: "LBL_DOWNLOADING")
result.setValue( "Select Labor", forKey: "LBL_SELECT_LABOR")
result.setValue( "MENU", forKey: "LBL_MENU")
result.setValue( "Biometrical Authentification", forKey: "LBL_BIOMETRICAL_AUTHENTIFICATION")
//result.setValue( "Error", forKey: "LBL_ERROR")
result.setValue( "PIN", forKey: "LBL_PIN")
result.setValue( "New Password", forKey: "LBL_NEW_PASSWORD")
result.setValue( "Scan QR-Code", forKey: "LBL_SCAN_QR_CODE")
result.setValue( "Title", forKey: "LBL_TITLE")
result.setValue( "Surname", forKey: "LBL_FIRSTNAME")
result.setValue( "Name", forKey: "LBL_LASTNAME")
result.setValue( "Prefix", forKey: "LBL_NAME_PREFIX")
result.setValue( "Additional Names", forKey: "LBL_ADDITION_NAME")
result.setValue( "Gender", forKey: "LBL_GENDER")
result.setValue( "Street", forKey: "LBL_STREET")
result.setValue( "Nr.", forKey: "LBL_STREET_NUMBER")
result.setValue( "City", forKey: "LBL_CITY")
result.setValue( "Male", forKey: "LBL_GENDER_M")
result.setValue( "Female", forKey: "LBL_GENDER_W")
result.setValue( "Diverse", forKey: "LBL_GENDER_D")
result.setValue( "Unknown", forKey: "LBL_GENDER_X")
result.setValue( "Phone", forKey: "LBL_TELEFON")
result.setValue( "CWA Policy", forKey: "LBL_CWA_POLICY")
result.setValue( "Language", forKey: "LBL_LANGUAGE")
result.setValue( "Current Password", forKey: "LBL_CURRENT_PASSWORD")
//result.setValue( "Settings", forKey: "LBL_SETTINGS")
result.setValue( "Your Labor", forKey: "LBL_YOUR_LABOR")
result.setValue( "Connected", forKey: "LBL_CONNECTED")
result.setValue( "Disconnected", forKey: "LBL_DISCONNECTED")
//MARK: BUTTONS
//result.setValue("New Result", forKey: "BTN_NEW_RESULTS")
result.setValue("Add", forKey: "BTN_ADD")
result.setValue("Register", forKey: "BTN_REGISTER")
result.setValue("Next", forKey: "BTN_NEXT")
result.setValue("Done", forKey: "BTN_DONE")
result.setValue("Cancel", forKey: "BTN_CANCEL")
result.setValue("Back", forKey: "BTN_BACK")
result.setValue("Decrypt", forKey: "BTN_ENCRYPT")
result.setValue("Delete", forKey: "BTN_DELETE")
//result.setValue("Accept", forKey: "BTN_TAKE_OVER")
result.setValue("Settings", forKey: "BTN_SETTINGS")
result.setValue("Change Password", forKey: "BTN_CHANGE_PASSWORD")
result.setValue("Support", forKey: "BTN_SUPPORT")
result.setValue("Close", forKey: "BTN_CLOSE")
result.setValue("OK", forKey: "BTN_OK")
result.setValue("FAQ", forKey: "BTN_FAQ")
result.setValue( "I accept the privacy policy", forKey: "BTN_ACCEPT_PRIVACY_POLICY")
//result.setValue( "Select", forKey: "BTN_SELECT")
result.setValue( "Login", forKey: "BTN_LOGIN")
result.setValue( "Forgot password", forKey: "BTN_FORGOT")
result.setValue( "Edit", forKey: "BTN_EDIT")
result.setValue( "Change", forKey: "BTN_CHANGE")
result.setValue( "Request PIN", forKey: "BTN_PIN_REQUEST")
result.setValue( "Print", forKey: "BTN_PRINT")
result.setValue( "Share", forKey: "BTN_FILE_SHARE")
//result.setValue( "Create", forKey: "BTN_CREATE")
result.setValue( "Accept CWA Policy", forKey: "BTN_ACCEPT_CWA_POLICY")
result.setValue( "No", forKey: "BTN_NO")
result.setValue( "Yes", forKey: "BTN_YES")
//result.setValue( "Save", forKey: "BTN_SAVE")
result.setValue( "Send", forKey: "BTN_SEND")
result.setValue( "Support", forKey: "LBL_SUPPORT")
result.setValue( "E-Mail", forKey: "LBL_EMAIL")
//result.setValue( "Text", forKey: "LBL_TEXT")
result.setValue( "Information", forKey: "LBL_SUPPORT_TOPIC_INFO")
result.setValue( "Problem", forKey: "LBL_SUPPORT_TOPIC_TROUBLE")
result.setValue( "Delete Account", forKey: "LBL_SUPPORT_TOPIC_ACCOUNT_DELETE")
//MARK: ERRORS
result.setValue("Bitte geben Sie die PLZ Ihres Wohnorts ein", forKey: "ERROR_ENTER_ZIP")
result.setValue("Bitte geben Sie Ihr Geburtsdatum ein", forKey: "ERROR_ENTER_BIRTHDAY")
result.setValue("Bitte geben Sie eine Auftragsnummer ein", forKey: "ERROR_ENTER_SAMPLEID")
result.setValue("Bitte geben Sie Ihr persönliches Kennwort ein", forKey: "ERROR_ENTER_PASSWORD")
result.setValue("Leider ist Ihr Kennwort nicht stark genug(Min. 8 Zeichen, 1x Großbuchstabe, 1x Kleinbuchstabe, 1x Ziffer und 1x Sonderzeichen)", forKey: "ERROR_ENTER_STRONG_PASSWORD")
result.setValue("Bitte bestätigen Sie Ihr Kennwort", forKey: "ERROR_CONFIRM_PASSWORD")
result.setValue("Die Passwörter stimmen nicht überein", forKey: "ERROR_PASSWORD_MISMATCH")
result.setValue("Die Daten konnten auf dem Gerät nicht geschrieben werden. Bitte prüfen Sie, ob die Berechtigung zum Datenschreiben erlaubt ist", forKey: "ERROR_COULD_NOT_SAVE")
result.setValue("Leider Ihr Gerät unterstützt keine Verschlüsselung und kann für unsere Applikation nicht verwendet werden", forKey: "ERROR_ENCRYPTION_NOT_SUPPORTED")
result.setValue("Leider ist aktuell der Server nicht erreichbar. Bitte versuchen Sie es später erneut", forKey: "ERROR_SERVER_NOT_REACHABLE")
result.setValue("Bitte geben Sie eine gültige PLZ ein", forKey: "ERROR_ENTER_VALID_ZIP")
result.setValue("Bitte geben Sie ein gültiges Geburtsdatum ein", forKey: "ERROR_ENTER_VALID_BIRTHDAY")
result.setValue("Bitte geben Sie eine gültige Auftragsnummer ein", forKey: "ERROR_ENTER_VALID_SAMPLEID")
result.setValue("Die Antwort vom Server konnte nicht validiert werden. Bitte versuchen Sie es später erneut", forKey: "ERROR_INVALID_RESPONSE")
//result.setValue("Der Sicherheitsschlüssel konnte mit dem Server nicht ausgetauscht werden", forKey: "ERROR_KEYS_COULD_NOT_EXCHANGED")
result.setValue("Leider konnte Ihre Anfrage für diesen Auftrag nicht registriert werden", forKey: "ERROR_COULD_NOT_REGISTER_PGS")
result.setValue("Sie haben die Anzahl der maximalen zulässigen öffenen Anfragen überschritten. (Max. 10 öffene Anfragen erlaubt)", forKey: "ERROR_MAX_OPENED_REQUEST_LIMIT")
result.setValue("Die von Ihnen eingegebene Auftragsnummer wurde bereits auf einem anderen Gerät registriert", forKey: "ERROR_ALREADY_SUBSCRIBTED")
result.setValue("Sie haben in letzter Zeit zu viele Anfragen gesendet. Bitte warten Sie und versuchen Sie es später erneut", forKey: "ERROR_TOO_MANY_REQUESTS")
result.setValue("Das eingegebene Passwort ist ungültig", forKey: "ERROR_INVALID_PASSWORD")
result.setValue("Der Befund konnte leider nicht heruntergeladen werden. Bitte versuchen Sie es später erneut", forKey: "ERROR_DOWNLOAD_NOT_FOUND")
result.setValue("Der Befund konnte leider nicht entschlüsselt werden. Bitte versuchen Sie es später erneut", forKey: "ERROR_COULD_NOT_DECRYPT")
result.setValue("Der Befund konnte nicht gespeichert werden", forKey: "ERROR_COULD_NOT_SAVE_ENCRYPTED")
result.setValue("Der Befund konnte nicht gelesen werden", forKey: "ERROR_ENCRYPTED_FILE_NOT_FOUND")
result.setValue("Please enter your previous password", forKey: "ERROR_ENTER_OLD_PASSWORD")
//result.setValue("Leider konnte der Befund nicht übernommen werden. Bitte wenden Sie sich an unseren Support", forKey: "ERROR_NOT_AUTHORIZED_TO_TAKE_OVER")
//result.setValue("Bitte wenden Sie sich an unseren Support, um diesen Befund übernehmen zu können", forKey: "ERROR_SUPPORT_CODE_NEEDED")
//result.setValue("Please enter a Support Code. If you don't have a Support Code, please contact our hotline.", forKey: "ERROR_ENTER_SUPPORT_CODE_PASSWORD")
result.setValue("Um unsere Datenschutzerklärung lesen und akzeptieren zu können müssen Sie mit dem Internet verbunden sein", forKey: "ERROR_PRIVACY_POLICY_NEEDS_CONNECTION")
result.setValue("Biometrical authentication is necessary to request your PIN", forKey: "MSG_TOUCHID_INFO")
//MARK: MESSAGES
result.setValue("The number you've entered is already contained in your list.", forKey: "MSG_PGS_ALREADY_EXISTS")
result.setValue("Refreshing...", forKey: "MSG_DATA_REFRESHING")
result.setValue("Vielen Dank. Ein Status zu Ihrem Befund ist bereits vorhanden", forKey: "MSG_PGS_ALREADY_AVAILABLE")
//result.setValue("Please enter the password from your previous device.", forKey: "MSG_ENTER_OLD_PASSWORD")
//result.setValue("Your result was successfully transferred from your old device", forKey: "MSG_PGS_SUCCESSFULLY_OVER_TOOK")
result.setValue("Thank you, your request has been successfully registered. We will notify you of a new status for your finding.", forKey: "MSG_PGS_SUCCESSFULLY_CREATED")
result.setValue("Account deleted successful", forKey: "MSG_ACCOUNT_SUCCESSFULLY_DELETED")
result.setValue("Your request was sent successfully", forKey: "MSG_SUPPORT_SUCCESSFULLY_SENT")
result.setValue("Account could not be deleted, please try again later", forKey: "MSG_ACCOUNT_COULD_NOT_DELETED")
result.setValue("Request could not be sent", forKey: "MSG_SUPPORT_COULD_NOT_SEND")
result.setValue("Aktuell führen wir Wartungsarbeit durch. Bitte beachten Sie, dass unsere App nur eingeschränkt zur Verfügung steht.", forKey: "MSG_MAINTENANCE")
result.setValue("Your device does not support scanning a code from an item. Please use a device with a camera.", forKey: "MSG_SCAN_NOT_SUPPORTED")
result.setValue("Scanning not supported", forKey: "LBL_SCAN_NOT_SUPPORTED")
result.setValue("https://www.limbachgruppe.com/datenschutz/", forKey: "AGB_POLICY_LINK")
result.setValue("https://www.limbachgruppe.com/impressum/", forKey: "FAQ_LINK")
result.setValue("<html><h1>Application must be closed.</h1></html>", forKey: "APP_MUST_BE_CLOSED")
result.setValue("<html><h1>Internet connection is needed. No AGB.</h1></html>", forKey: "NO_AGB_AVAILABLE")
result.setValue("<html><h1>Internet connection is needed. No FAQ.</h1></html>", forKey: "NO_FAQ_AVAILABLE")
return result
}
}
}