Implemented stating that displayed text comes from bank and not from us (there are many really curious descriptions banks show so we tell user that this doesn't come from our side)

This commit is contained in:
dankito 2020-04-30 15:42:23 +02:00
parent 66496938d3
commit f13eb168a5
6 changed files with 6 additions and 2 deletions

View File

@ -47,6 +47,7 @@ enter.tan.dialog.select.tan.procedure=TAN procedure:
enter.tan.dialog.select.tan.medium=TAN medium:
enter.tan.dialog.size.label=Size:
enter.tan.dialog.frequency.label=Speed:
enter.tan.dialog.hint.from.bank=Hint from your bank: %s
enter.tan.dialog.enter.tan.label=TAN:
enter.tan.dialog.error.could.not.decode.tan.image=Could not decode flicker code or QR code / PhotoTan. Most likely an internal error:\n%s.
enter.tan.dialog.tan.medium.successfully.changed=TAN medium successfully changed to \'%s\'.

View File

@ -47,6 +47,7 @@ enter.tan.dialog.select.tan.procedure=TAN Verfahren:
enter.tan.dialog.select.tan.medium=TAN Medium:
enter.tan.dialog.size.label=Größe:
enter.tan.dialog.frequency.label=Geschwindigkeit:
enter.tan.dialog.hint.from.bank=Hinweis Ihrer Bank: %s
enter.tan.dialog.enter.tan.label=TAN:
enter.tan.dialog.error.could.not.decode.tan.image=Flickercode bzw. QR-Code / PhotoTan konnte nicht dekodiert werden. Höchst wahrscheinlich ein interner Fehler:\n%s.
enter.tan.dialog.tan.medium.successfully.changed=TAN Medium erfolgreich geändert zu \'%s\'.

View File

@ -120,7 +120,7 @@ open class EnterTanDialog(
hbox {
maxWidth = 400.0
label(challenge.messageToShowToUser) {
label(String.format(messages["enter.tan.dialog.hint.from.bank"], challenge.messageToShowToUser)) {
isWrapText = true
}

View File

@ -80,7 +80,7 @@ open class EnterTanDialog : DialogFragment() {
setupTanView(rootView)
rootView.txtTanDescriptionToShowToUser.text = tanChallenge.messageToShowToUser
rootView.txtTanDescriptionToShowToUser.text = getString(R.string.dialog_enter_tan_hint_from_bank, tanChallenge.messageToShowToUser)
rootView.btnCancel.setOnClickListener { enteringTanDone(null) }

View File

@ -68,6 +68,7 @@
<string name="dialog_enter_tan_select_tan_procedure">TAN Verfahren</string>
<string name="dialog_enter_tan_select_tan_medium">TAN Medium</string>
<string name="dialog_enter_tan_hint_from_bank">Hinweis Ihrer Bank: %s</string>
<string name="dialog_enter_tan_enter_tan">TAN eingeben:</string>
<string name="dialog_enter_tan_error_could_not_decode_tan_image">Flicker code oder QR code / PhotoTan konnten nicht dekodiert werden. Sehr wahrscheinlich ein interner Fehler:\n%s.</string>
<string name="dialog_enter_tan_tan_medium_successfully_changed">TAN Medium erfolgreich zu \'%s\' geändert.</string>

View File

@ -68,6 +68,7 @@
<string name="dialog_enter_tan_select_tan_procedure">TAN procedure</string>
<string name="dialog_enter_tan_select_tan_medium">TAN medium</string>
<string name="dialog_enter_tan_hint_from_bank">Hint from your bank: %s</string>
<string name="dialog_enter_tan_enter_tan">Enter TAN:</string>
<string name="dialog_enter_tan_error_could_not_decode_tan_image">Could not decode flicker code or QR code / PhotoTan. Most likely an internal error:\n%s.</string>
<string name="dialog_enter_tan_tan_medium_successfully_changed">TAN medium successfully changed to \'%s\'.</string>