Skip to content

Commit

Permalink
locales: update Tor startup error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Mar 15, 2023
1 parent 57a18d9 commit c1a69d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@
"stores.SettingsStore.lndhubError": "Error creating LNDHub account. Please check the host and try again.",
"error.connectionRefused": "Host unreachable. Try restarting your node or its Tor process.",
"error.hostUnreachable": "Host unreachable. Try restarting your node or its Tor process.",
"error.torBootstrap": "Error starting up Tor on your phone. Try restarting Zeus. If the problem persists consider reinstalling the app.",
"error.torBootstrap": "Error starting up Tor on your phone. Try restarting Zeus. If the problem persists consider using Orbot to connect to Tor.",
"pos.views.Wallet.PosPane.noOrders": "No orders open at the moment. To send to ZEUS, mark order as 'Other Payment Type' with a note that includes 'Zeus', 'BTC', or 'Bitcoin'",
"pos.views.Wallet.PosPane.noOrdersPaid": "No orders have been paid yet",
"pos.views.Wallet.PosPane.fetchingRates": "Fetching exchange rates",
Expand Down
4 changes: 2 additions & 2 deletions utils/ErrorUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ describe('ErrorUtils', () => {
false
)
).toEqual(
'Error starting up Tor on your phone. Try restarting Zeus. If the problem persists consider reinstalling the app.'
'Error starting up Tor on your phone. Try restarting Zeus. If the problem persists consider using Orbot to connect to Tor.'
);
expect(
ErrorUtils.errorToUserFriendly(
'Error: called `Result::unwrap()` on an `Err` value: BootStrapError("Timeout waiting for boostrap")',
false
)
).toEqual(
'Error starting up Tor on your phone. Try restarting Zeus. If the problem persists consider reinstalling the app.'
'Error starting up Tor on your phone. Try restarting Zeus. If the problem persists consider using Orbot to connect to Tor.'
);
});

Expand Down

0 comments on commit c1a69d5

Please sign in to comment.