mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-11-20 01:26:11 +00:00
Log Wallet Connect init failures; give empty errors a text; retranslate Kurmanji (#33)
* Log Wallet Connect init failures; give empty network errors a text - Wallet Connect core and Web3Wallet initialization errors were swallowed silently; log them. A retry is not added: initialization fails only on bad configuration, and the relay connects later on demand. - NovaException.networkError carried an empty message; it now uses the existing translated connection error text. The unused NovaException.unexpectedError is removed. - BaseException.unexpectedError fell back to an empty message when the exception had none; HttpExceptionHandler now passes the translated common error text as the fallback. - Remove the unused AccountRepository.getMyAccounts stub. * Retranslate the Kurmanji strings The values-ku file was word-by-word machine output that mixed English and Kurmanji (1709 of 2080 strings had English left in, 620 were English verbatim). Rebuild it from the English source with a fixed wallet glossary: every translatable string and plural is translated, 18 strings that were missing are added, and strings marked translatable="false" or no longer in the English source are dropped. * Skip commented-out strings in the Kurmanji file Two English strings have an older, commented-out copy; reading the comments emitted each of them twice and failed resource merging.
This commit is contained in:
1 parent
de826acc70
commit
58ef588261
8 files changed
+1954
-2628
No files matched your search
-10
@@ -193,16 +193,6 @@ class AccountRepositoryImpl(
|
||||
return accountDao.getAccount(address)?.let { mapAccountLocalToAccount(it) }
|
||||
}
|
||||
|
||||
override suspend fun getMyAccounts(query: String, chainId: String): Set<Account> {
|
||||
// return withContext(Dispatchers.Default) {
|
||||
// accountDao.getAccounts(query, networkType)
|
||||
// .map { mapAccountLocalToAccount(it) }
|
||||
// .toSet()
|
||||
// }
|
||||
|
||||
return emptySet() // TODO wallet
|
||||
}
|
||||
|
||||
override suspend fun isCodeSet(): Boolean {
|
||||
return accountDataSource.getPinCode() != null
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user