From ffc78da700c5665786d2838752d8465e1b07c72f Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Thu, 23 Apr 2020 11:52:04 -0300 Subject: [cashier] add offline detection to all failing HTTP requests and show a better error message in these cases --- cashier/src/main/res/values/strings.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'cashier/src/main/res/values/strings.xml') diff --git a/cashier/src/main/res/values/strings.xml b/cashier/src/main/res/values/strings.xml index d0ac3ae..b4964d8 100644 --- a/cashier/src/main/res/values/strings.xml +++ b/cashier/src/main/res/values/strings.xml @@ -7,12 +7,13 @@ Save The address is invalid. Please enter your username! - Error retrieving configuration%s + Error retrieving configuration: %s Invalid username or password! + @string/balance_offline For testing, you can create a test account at the demo bank]]>. Current balance - ERROR%s + ERROR: %s Offline. Please connect to the Internet. Reconfigure Lock @@ -21,14 +22,15 @@ How much e-cash should be withdrawn? Enter positive amount! Insufficient balance - Error communicating with bank%s + Error communicating with bank: %s No wallet tried to withdraw. Please try again. + @string/balance_offline Withdraw - - Scan code with the Taler wallet app to get - - Scan code or use NFC with the Taler wallet app to get + + Scan code with the Taler wallet app to withdraw: + + Scan code or use NFC with the Taler wallet app to withdraw: Please confirm the transaction! Confirm Abort -- cgit v1.2.3