Skip to content
Snippets Groups Projects
Unverified Commit abc3b3ec authored by Chilja Gossow's avatar Chilja Gossow Committed by GitHub
Browse files

Error texts (DEV) (#3368)

* add error texts

* add error texts

* remove cdata
parent 64d4ab65
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,10 @@ package de.rki.coronawarnapp.covidcertificate.exception
import de.rki.coronawarnapp.R
const val ERROR_MESSAGE_GENERIC = R.string.errors_generic_text_unknown_error_cause
// TODO change to correct error message once provided
const val ERROR_MESSAGE_TRY_AGAIN = ERROR_MESSAGE_GENERIC
const val ERROR_MESSAGE_DCC_NOT_SUPPORTED_BY_LAB = ERROR_MESSAGE_GENERIC
const val ERROR_MESSAGE_NO_NETWORK = ERROR_MESSAGE_GENERIC
const val ERROR_MESSAGE_E2E_ERROR_CALL_HOTLINE = ERROR_MESSAGE_GENERIC
const val ERROR_MESSAGE_TRY_AGAIN_DCC_NOT_AVAILABLE_YET = ERROR_MESSAGE_GENERIC
const val ERROR_MESSAGE_CLIENT_ERROR_CALL_HOTLINE = ERROR_MESSAGE_GENERIC
const val ERROR_MESSAGE_DCC_EXPIRED = ERROR_MESSAGE_GENERIC
const val ERROR_MESSAGE_TRY_AGAIN = R.string.error_tc_try_again
const val ERROR_MESSAGE_DCC_NOT_SUPPORTED_BY_LAB = R.string.error_tc_dcc_not_supported_by_lab
const val ERROR_MESSAGE_NO_NETWORK = R.string.error_tc_no_network
const val ERROR_MESSAGE_E2E_ERROR_CALL_HOTLINE = R.string.error_tc_e2e_error_call_hotline
const val ERROR_MESSAGE_TRY_AGAIN_DCC_NOT_AVAILABLE_YET = R.string.error_tc_try_again_dcc_not_available_yet
const val ERROR_MESSAGE_CLIENT_ERROR_CALL_HOTLINE = R.string.error_tc_client_error_call_hotline
const val ERROR_MESSAGE_DCC_EXPIRED = R.string.error_tc_dcc_expired
......@@ -50,20 +50,17 @@ class TestCertificateServerException(
"DCC Test Certificate Components failed with error 500: Internal server error.",
ERROR_MESSAGE_TRY_AGAIN
),
// TODO error message not defined
DCC_COMP_500_LAB_INVALID_RESPONSE(
"DCC Components failed with error 500: Lab Invalid response",
ERROR_MESSAGE_GENERIC
ERROR_MESSAGE_E2E_ERROR_CALL_HOTLINE
),
// TODO error message not defined
DCC_COMP_500_SIGNING_CLIENT_ERROR(
"DCC Components failed with error 500: Signing client error",
ERROR_MESSAGE_GENERIC
ERROR_MESSAGE_E2E_ERROR_CALL_HOTLINE
),
// TODO error message not defined
DCC_COMP_500_SIGNING_SERVER_ERROR(
"DCC Components failed with error 500: Signing server error",
ERROR_MESSAGE_GENERIC
ERROR_MESSAGE_E2E_ERROR_CALL_HOTLINE
),
DCC_COMP_NO_NETWORK(
"DCC Test Certificate Components failed due to no network connection.",
......
......@@ -68,4 +68,18 @@
<string name="test_certificate_error_label">Fehler bei der Zertifikatsabfrage</string>
<!-- XBUT: Test error retry button -->
<string name="test_certificate_error_retry_button">Nochmal versuchen</string>
<!-- XTXT: Error text -->
<string name="error_tc_try_again">Es konnte keine Verbindung hergestellt werden. Bitte versuchen Sie es erneut.</string>
<!-- XTXT: Error text -->
<string name="error_tc_dcc_not_supported_by_lab">Ein Testzertifikat kann nicht angefordert werden, da diese Teststelle die Ausstellung von Testzertifikaten nicht unterstützt. Bitte entfernen Sie das Zertifikat oder kontaktieren Sie die technische Hotline über App-Informationen -> Technische Hotline.</string>
<!-- XTXT: Error text -->
<string name="error_tc_no_network">Ihre Internetverbindung wurde unterbrochen. Bitte prüfen Sie die Verbindung und versuchen Sie es erneut.</string>
<!-- XTXT: Error text -->
<string name="error_tc_e2e_error_call_hotline">Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal oder kontaktieren Sie die technische Hotline über App-Informationen -> Technische Hotline.</string>
<!-- XTXT: Error text -->
<string name="error_tc_try_again_dcc_not_available_yet">Ihr Zertifikat liegt noch nicht vor. Bitte versuchen Sie es noch einmal. Sollte der Fehler weiterhin bestehen, kontaktieren Sie bitte die technische Hotline über App-Informationen -> Technische Hotline.</string>
<!-- XTXT: Error text -->
<string name="error_tc_client_error_call_hotline">Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal oder kontaktieren Sie die technische Hotline über App-Informationen -> Technische Hotline.</string>
<!-- XTXT: Error text -->
<string name="error_tc_dcc_expired">Das Zertifikat ist nicht mehr aktuell, Sie können es aus der Corona-App entfernen.</string>
</resources>
......@@ -67,4 +67,18 @@
<string name="test_certificate_error_label">Fehler bei der Zertifikatsabfrage</string>
<!-- XBUT: Test error retry button -->
<string name="test_certificate_error_retry_button">Nochmal versuchen</string>
<!-- XTXT: Error text -->
<string name="error_tc_try_again">Es konnte keine Verbindung hergestellt werden. Bitte versuchen Sie es erneut.</string>
<!-- XTXT: Error text -->
<string name="error_tc_dcc_not_supported_by_lab">Ein Testzertifikat kann nicht angefordert werden, da diese Teststelle die Ausstellung von Testzertifikaten nicht unterstützt. Bitte entfernen Sie das Zertifikat oder kontaktieren Sie die technische Hotline über App-Informationen -> Technische Hotline.</string>
<!-- XTXT: Error text -->
<string name="error_tc_no_network">Ihre Internetverbindung wurde unterbrochen. Bitte prüfen Sie die Verbindung und versuchen Sie es erneut.</string>
<!-- XTXT: Error text -->
<string name="error_tc_e2e_error_call_hotline">Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal oder kontaktieren Sie die technische Hotline über App-Informationen -> Technische Hotline.</string>
<!-- XTXT: Error text -->
<string name="error_tc_try_again_dcc_not_available_yet">Ihr Zertifikat liegt noch nicht vor. Bitte versuchen Sie es noch einmal. Sollte der Fehler weiterhin bestehen, kontaktieren Sie bitte die technische Hotline über App-Informationen -> Technische Hotline.</string>
<!-- XTXT: Error text -->
<string name="error_tc_client_error_call_hotline">Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal oder kontaktieren Sie die technische Hotline über App-Informationen -> Technische Hotline.></string>
<!-- XTXT: Error text -->
<string name="error_tc_dcc_expired">Das Zertifikat ist nicht mehr aktuell, Sie können es aus der Corona-App entfernen.</string>
</resources>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment