Merge branch 'main' into main

This commit is contained in:
GiMa-Maya 2024-11-09 14:10:52 +01:00 committed by GitHub
commit 47a4f945e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
259 changed files with 4838 additions and 1396 deletions

View file

@ -5,7 +5,7 @@ Last modified: January 24, 2024
Introduction
============
Cake Labs LLC ("Cake Labs", "Company", or "We") respect your privacy and are committed to protecting it through our compliance with this policy.
Cake Labs LLC ("Cake Labs", "Company", or "We") respects your privacy and are committed to protecting it through our compliance with this policy.
This policy describes the types of information we may collect from you or that you may provide when you use the App (our "App") and our practices for collecting, using, maintaining, protecting, and disclosing that information.
@ -13,7 +13,7 @@ Introduction
- On this App.
- In email, text, and other electronic messages between you and this App.
It does not apply to information collected by:
- Us offline or through any other means, including on any other App operated by Company or any third party (including our affiliates and subsidiaries); or
- Us offline or through any other means, including on any other App operated by the Company or any third party (including our affiliates and subsidiaries); or
- Any third party (including our affiliates and subsidiaries), including through any application or content (including advertising) that may link to or be accessible from or on the App.
Please read this policy carefully to understand our policies and practices regarding your information and how we will treat it. If you do not agree with our policies and practices, you have the choice to not use the App. By accessing or using this App, you agree to this privacy policy. This policy may change from time to time. Your continued use of this App after we make changes is deemed to be acceptance of those changes, so please check the policy periodically for updates.

View file

@ -18,7 +18,7 @@
# Cake Wallet
[Cake Wallet](https://cakewallet.com) is an open source, non-custodial, and private multi-currency crypto wallet for Android, iOS, macOS, and Linux.
[Cake Wallet](https://cakewallet.com) is an open-source, non-custodial, and private multi-currency crypto wallet for Android, iOS, macOS, and Linux.
Cake Wallet includes support for several cryptocurrencies, including:
* Monero (XMR)
@ -44,7 +44,7 @@ Cake Wallet includes support for several cryptocurrencies, including:
* Create several wallets
* Select your own custom nodes/servers
* Address book
* Backup to external location or iCloud
* Backup to an external location or iCloud
* Send to OpenAlias, Unstoppable Domains, Yats, and FIO Crypto Handles
* Set desired network fee level
* Store local transaction notes
@ -161,7 +161,7 @@ The only parts to be translated, if needed, are the values m and s after the var
4. Add the language to `lib/entities/language_service.dart` under both `supportedLocales` and `localeCountryCode`. Use the name of the language in the local language and in English in parentheses after for `supportedLocales`. Use the [ISO 3166-1 alpha-3 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) for `localeCountryCode`. You must choose one country, so choose the country with the most native speakers of this language or is otherwise best associated with this language.
5. Add a relevant flag to `assets/images/flags/XXXX.png`, replacing XXXX with the 3 letters localeCountryCode. The image must be 42x26 pixels with a 3 pixels of transparent margin on all 4 sides. You can resize the flag with [paint.net](https://www.getpaint.net/) to 36x20 pixels, expand the canvas to 42x26 pixels with the flag anchored in the middle, and then manually delete the 3 pixels on each side to make transparent. Or you can use another program like Photoshop.
5. Add a relevant flag to `assets/images/flags/XXXX.png`, replacing XXXX with the 3 letters localeCountryCode. The image must be 42x26 pixels with 3 pixels of transparent margin on all 4 sides. You can resize the flag with [paint.net](https://www.getpaint.net/) to 36x20 pixels, expand the canvas to 42x26 pixels with the flag anchored in the middle, and then manually delete the 3 pixels on each side to make it transparent. Or you can use another program like Photoshop.
6. Add the new language code to `tool/utils/translation/translation_constants.dart`

View file

@ -9,4 +9,4 @@ If you need to report a vulnerability, please either:
## Supported Versions
As we don't maintain prevoius versions of the app, only the latest release for each platform is supported and any updates will bump the version number.
As we don't maintain previous versions of the app, only the latest release for each platform is supported and any updates will bump the version number.

BIN
assets/images/flags/abw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

BIN
assets/images/flags/afg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
assets/images/flags/ago.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/images/flags/aia.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/images/flags/and.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
assets/images/flags/asm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

BIN
assets/images/flags/atf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/images/flags/atg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

BIN
assets/images/flags/aut.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

BIN
assets/images/flags/aze.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

BIN
assets/images/flags/bel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

BIN
assets/images/flags/bes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

BIN
assets/images/flags/bhr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

BIN
assets/images/flags/blz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/images/flags/bmu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/images/flags/bol.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

BIN
assets/images/flags/brn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
assets/images/flags/btn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
assets/images/flags/bvt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

BIN
assets/images/flags/bwa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

BIN
assets/images/flags/cck.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/images/flags/cmr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

BIN
assets/images/flags/cok.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets/images/flags/cpv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

BIN
assets/images/flags/cri.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

BIN
assets/images/flags/cuw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

BIN
assets/images/flags/cxr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/images/flags/cyp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/images/flags/dji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

BIN
assets/images/flags/dma.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/images/flags/dza.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

BIN
assets/images/flags/ecu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/images/flags/est.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

BIN
assets/images/flags/eth.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/images/flags/fin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

BIN
assets/images/flags/fji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/images/flags/flk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
assets/images/flags/fro.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

BIN
assets/images/flags/fsm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

BIN
assets/images/flags/gab.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

BIN
assets/images/flags/geo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

BIN
assets/images/flags/ggi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

BIN
assets/images/flags/ggy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

BIN
assets/images/flags/glp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
assets/images/flags/gmb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

BIN
assets/images/flags/grc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

BIN
assets/images/flags/grd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

BIN
assets/images/flags/grl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

BIN
assets/images/flags/guf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

BIN
assets/images/flags/gum.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/images/flags/guy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

BIN
assets/images/flags/hmd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

BIN
assets/images/flags/iot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
assets/images/flags/irl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

BIN
assets/images/flags/jam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

BIN
assets/images/flags/jey.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

BIN
assets/images/flags/jor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
assets/images/flags/kaz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/images/flags/ken.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
assets/images/flags/kir.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
assets/images/flags/kwt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

BIN
assets/images/flags/lbn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

BIN
assets/images/flags/lie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 B

BIN
assets/images/flags/lka.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/images/flags/ltu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

BIN
assets/images/flags/lux.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

BIN
assets/images/flags/lva.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

BIN
assets/images/flags/mco.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

BIN
assets/images/flags/mlt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

BIN
assets/images/flags/mnp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
assets/images/flags/mrt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

BIN
assets/images/flags/msr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/images/flags/mtq.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/images/flags/mwi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

BIN
assets/images/flags/myt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
assets/images/flags/ner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

BIN
assets/images/flags/nfk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets/images/flags/niu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/images/flags/omn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

BIN
assets/images/flags/per.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

BIN
assets/images/flags/plw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

BIN
assets/images/flags/pri.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
assets/images/flags/pyf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/images/flags/qat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
assets/images/flags/slb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

BIN
assets/images/flags/slv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

BIN
assets/images/flags/svk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

BIN
assets/images/flags/svn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
assets/images/flags/tkm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
assets/images/flags/ton.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

BIN
assets/images/flags/tuv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
assets/images/flags/ury.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,017 B

BIN
assets/images/flags/vat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

BIN
assets/images/flags/vir.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
assets/images/flags/vut.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -55,7 +55,7 @@ Need to install flutter. For this please check section [How to install flutter o
### 3. Verify Installations
Verify that the Flutter have been correctly installed on your system with the following command:
Verify that the Flutter has been correctly installed on your system with the following command:
`$ flutter doctor`
@ -163,7 +163,7 @@ And then export bundle:
`$ flatpak build-bundle export cake_wallet.flatpak com.cakewallet.CakeWallet`
Result file: `cake_wallet.flatpak` should be generated in current directory.
Result file: `cake_wallet.flatpak` should be generated in the current directory.
For install generated flatpak file use:

View file

@ -124,6 +124,7 @@ class ElectrumClient {
final errorMsg = error.toString();
print(errorMsg);
unterminatedString = '';
socket = null;
},
onDone: () {
print("SOCKET CLOSED!!!!!");
@ -132,6 +133,7 @@ class ElectrumClient {
if (host == socket?.address.host || socket == null) {
_setConnectionStatus(ConnectionStatus.disconnected);
socket?.destroy();
socket = null;
}
} catch (e) {
print("onDone: $e");

Some files were not shown because too many files have changed in this diff Show more