diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt index d98dbaa7..e6f7aed4 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/home/HomeFragment.kt @@ -161,8 +161,9 @@ class HomeFragment : Fragment() { updateTransactionsToDisplayOnUiThread() } else if (response.userCancelledAction == false) { // if user cancelled entering TAN then don't show a error message - AlertDialog.Builder(activity) // TODO: may show account name in message - .setMessage(activity.getString(R.string.fragment_home_could_not_retrieve_account_transactions, response.errorToShowToUser)) + AlertDialog.Builder(activity) + .setMessage(activity.getString(R.string.fragment_home_could_not_retrieve_account_transactions, + response.bankAccount.displayName, response.errorToShowToUser)) .setPositiveButton(android.R.string.ok) { dialog, _ -> dialog.dismiss() } .show() } diff --git a/ui/BankingAndroidApp/src/main/res/values-de/strings.xml b/ui/BankingAndroidApp/src/main/res/values-de/strings.xml index 38d1b5b7..f630cf86 100644 --- a/ui/BankingAndroidApp/src/main/res/values-de/strings.xml +++ b/ui/BankingAndroidApp/src/main/res/values-de/strings.xml @@ -28,7 +28,7 @@ Umsätze aktualisieren - Kontoumsätze konnten nicht empfangen werden.\n\nFehlermeldung Ihrer Bank:\n\n%s + Kontoumsätze für \'%1$s\' konnten nicht empfangen werden.\n\nFehlermeldung Ihrer Bank:\n\n%2$s Neue Überweisung an %s Bankleitzahl (Suche auch mittels Bankname oder Ort): diff --git a/ui/BankingAndroidApp/src/main/res/values/strings.xml b/ui/BankingAndroidApp/src/main/res/values/strings.xml index 93ddf885..f696a614 100644 --- a/ui/BankingAndroidApp/src/main/res/values/strings.xml +++ b/ui/BankingAndroidApp/src/main/res/values/strings.xml @@ -28,7 +28,7 @@ Update transactions - Could not retrieve account transactions.\n\nError message from your bank:\n\n%s + Could not retrieve account transactions for \'%1$s\'.\n\nError message from your bank:\n\n%2$s Transfer money to %s Bank code (find also by bank name or city):