diff --git a/app/build.gradle b/app/build.gradle index d3603f973a..99b43a1293 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -67,9 +67,9 @@ dependencies { implementation 'com.google.android.material:material:1.2.1' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10' - implementation 'com.tangem:blockchain:1.82.0' - implementation 'com.tangem:core:1.67.0' - implementation 'com.tangem:sdk:1.67.0' + implementation 'com.tangem:blockchain:1.83.0' + implementation 'com.tangem:core:1.68.0' + implementation 'com.tangem:sdk:1.68.0' //lifecycle implementation "androidx.lifecycle:lifecycle-runtime:2.2.0" diff --git a/app/src/main/java/com/tangem/tap/domain/TapErrors.kt b/app/src/main/java/com/tangem/tap/domain/TapErrors.kt index e3f8ab3646..6e5388a40d 100644 --- a/app/src/main/java/com/tangem/tap/domain/TapErrors.kt +++ b/app/src/main/java/com/tangem/tap/domain/TapErrors.kt @@ -28,14 +28,14 @@ sealed class TapError( object NoInternetConnection : TapError(R.string.wallet_notification_no_internet) object InsufficientBalance : TapError(R.string.send_error_insufficient_balance) object BlockchainInternalError : TapError(R.string.send_error_blockchain_internal) - object AmountExceedsBalance : TapError(R.string.send_error_amount_exceeds_balance) - object FeeExceedsBalance : TapError(R.string.send_error_fee_exceeds_balance) - object TotalExceedsBalance : TapError(R.string.send_error_total_exceeds_balance) - object InvalidAmountValue : TapError(R.string.send_error_invalid_amount) + object AmountExceedsBalance : TapError(R.string.send_validation_amount_exceeds_balance) + object FeeExceedsBalance : TapError(R.string.send_validation_invalid_fee) + object TotalExceedsBalance : TapError(R.string.send_validation_invalid_total) + object InvalidAmountValue : TapError(R.string.send_validation_invalid_amount) object InvalidFeeValue : TapError(R.string.send_error_invalid_fee_value) data class DustAmount(override val args: List) : TapError(R.string.send_error_dust_amount_format) object DustChange : TapError(R.string.send_error_dust_change) - data class CreateAccountUnderfunded(override val args: List) : TapError(R.string.send_error_no_target_accout) + data class CreateAccountUnderfunded(override val args: List) : TapError(R.string.send_error_no_target_account) data class ValidateTransactionErrors( override val errorList: List, diff --git a/app/src/main/java/com/tangem/tap/features/details/redux/DetailsAction.kt b/app/src/main/java/com/tangem/tap/features/details/redux/DetailsAction.kt index a38ca15f92..448e0a48ad 100644 --- a/app/src/main/java/com/tangem/tap/features/details/redux/DetailsAction.kt +++ b/app/src/main/java/com/tangem/tap/features/details/redux/DetailsAction.kt @@ -24,7 +24,7 @@ sealed class DetailsAction : Action { object Check : EraseWallet() object Proceed : EraseWallet() { object NotAllowedByCard: EraseWallet(), NotificationAction { - override val messageResource = R.string.details_notification_erase_wallet_not_allowed + override val messageResource = R.string.error_purge_prohibited } object NotEmpty: EraseWallet(), NotificationAction { override val messageResource = R.string.details_notification_erase_wallet_not_possible diff --git a/app/src/main/java/com/tangem/tap/features/home/HomeFragment.kt b/app/src/main/java/com/tangem/tap/features/home/HomeFragment.kt index c12785fd92..b8b8aa52fc 100644 --- a/app/src/main/java/com/tangem/tap/features/home/HomeFragment.kt +++ b/app/src/main/java/com/tangem/tap/features/home/HomeFragment.kt @@ -32,7 +32,7 @@ class HomeFragment : Fragment(R.layout.fragment_home), StoreSubscriber R.string.send_error_payid_unsupported_by_blockchain - Error.PAY_ID_NOT_REGISTERED -> R.string.send_error_payid_not_registere + Error.PAY_ID_NOT_REGISTERED -> R.string.send_error_payid_not_registered Error.PAY_ID_REQUEST_FAILED -> R.string.send_error_payid_request_failed - Error.ADDRESS_INVALID_OR_UNSUPPORTED_BY_BLOCKCHAIN -> R.string.send_error_address_invalid_or_unsupported + Error.ADDRESS_INVALID_OR_UNSUPPORTED_BY_BLOCKCHAIN -> R.string.send_validation_invalid_address Error.ADDRESS_SAME_AS_WALLET -> R.string.send_error_address_same_as_wallet else -> null } diff --git a/app/src/main/java/com/tangem/tap/features/wallet/ui/WalletFragment.kt b/app/src/main/java/com/tangem/tap/features/wallet/ui/WalletFragment.kt index d8d0e11931..c3e7f6c8fe 100644 --- a/app/src/main/java/com/tangem/tap/features/wallet/ui/WalletFragment.kt +++ b/app/src/main/java/com/tangem/tap/features/wallet/ui/WalletFragment.kt @@ -151,7 +151,7 @@ class WalletFragment : Fragment(R.layout.fragment_wallet), StoreSubscriber + Nein + Änderungen speichern + Warnung + Erneut versuchen + Erledigt + Abbrechen + Akzeptieren - + Der Kamerazugriff wurde verweigert + Sie haben keinen Zugang zur Kamera erteilt, bitte passen Sie Ihre Datenschutzeinstellungen an + Einstellungen + Willkommen bei Tangem. Haben Sie eine dieser Karten? + Willkommen bei Tangem Tap. Scannen Sie Ihre Karten um zu starten. + Ja! Bitte scannen + Einkaufen + Halten Sie die \ncard hinter dem \nphone bereit und scannen Sie sie. + Eintippen + Karte scannen + Scannen + Absenden + ein Wallet erstellen + Tangem Tap + eine Walletoption wählen + Token + Tokens + Verifizierte Bilanz + Die Bilanz wird aufgeladen… + Blockchain ist nicht erreichbar + Das Konto ist nicht erstellt + %s+ %s aufladen um ein Konto zu erstellen + Leere Karte + Erstellen Sie ein Wallet um die Tangem-Karte verwenden zu können + Diese Karte wird nicht unterstützt + Ihre Tangem-Karte wurde für die Arbeit mit einer anderen App ausgestellt. Bitte sehen Sie sich den Namen und die Anleitung auf Ihrer Karte an und installieren Sie eine korrekte App + Die Transaktion läuft… + Senden\u0020 + an %s + Erhalten\u0020 + von %s + Adresse erkunden + PayID erstellen + %s Wallet + PayID erstellen + Karte: %s + PayID Name + $payid.tangem.com + Erstellen + PayID sind Ihre einzigartigen Identifikationsdaten wie Telefonnummer, E-Mail-Adresse oder ABN. + Ihre PayID wurde erfolgreich erstellt und zum Clipboard kopiert + Fehlerantwort beim Erstellen der ZahlungsID + Diese PayID existiert bereits. Versuchen Sie mit einer anderen erneut. + Adresse oder PayID + Absenden + Netzgebühr + Betrag + Gebühr + Gesamt + Höchstbetrag + Ungültige Adresse + Ungültiger Betrag + Der Betrag geht über die Bilanz hinaus + Der Gesamtbetrag geht über die Bilanz hinaus + Die Gebühr geht über die Bilanz hinaus + Niedrig + Normal + Priorität + inkl. Gebühr + %s %s wird gesendet + ≈ %s (inkl. Gebühr: %s) + %s %s und %s %s werden gesendet + Bilanz: %s %s + Die Transaktion wurde erfolgreich signiert und an den Blockchain-Knoten gesendet. Die Walletbilanz wird aktualisiert + Details + KartenID + Emittent + Signiert + %s Hasch + App Währung + Einstellungen + Karte + Karte validieren + Sicherheit verwalteny + Wallet löschen + Dieser Vorgang ist irriversibel. Wenn jemand nach dem Löschen des Wallets Geld überweist, können Sie es nicht mehr abheben. + Sollten Sie den Code verloren haben, haben Sie keinen Zugriff auf die Karte. Sie können Ihren Code nicht wiederherstellen und nicht ändern, wenn Sie ihn verlieren. + Sicherheit verwalten + Langes Tippen + Dieser Mechanismus schützt vor Annäherungsangriffen auf eine Karte. Es wird eine Verzögerung zwischen dem Empfang und der Ausführung eines Befehls erzwungen. Nach der ersten signierten Transaktion wird dieses Telefon mit der Karte verknüpft und die Transaktionen werden sofort signiert + Passcode + Bevor Sie einen Befehl ausführen, der eine Änderung des Kartenstatus zur Folge hat, müssen Sie den Passcode eingeben. + Zugangscode + Sie müssen den richtigen Zugangscode eingeben, bevor Sie die Karte scannen. + Sie können NFC-Probleme mit einigen iPhone 7/7+ während der Extraktion haben + Warnung: Diese Karte wurde früher bereits aufgeladen und Transaktionen wurden damit signiert.\n Ziehen Sie eine sofortige Auszahlung aller Beträge in Betracht, wenn Sie diese Karte von einer nicht vertrauenswürdigen Quelle erhalten haben. + + Diese Karte ist für die Zusammenarbeit mit Tangem Tap nicht geeignet + Die von Ihnen gescannte Karte ist eine Entwicklungskarte. Akzeptieren Sie sie nicht als Zahlungsmittel + Die vor September 2019 ausgestellten Karten können mit iPhone momentan nicht extrahiert werden. Wir arbeiten eng mit Apple zusammen, damit es in den nächsten Versionen von iOS möglich wäre. + Tippen um zu signieren + Scannen Sie die Karte mit Ihrem Handy wie oben gezeigt + Tippen Sie um das Wallet zu löschen + Tippen Sie um ein Wallet zu erstellen + Tippen Sie um den Zugangscode zu ändern + Tippen Sie um den Passcode zu ändern + Ungültige ZahlungsID + + + RECHTLICHER HAFTUNGSAUSSCHLUSS \n\n1.Tangem Tap App (Software)   @@ -53,4 +159,12 @@ RECHTLICHER HAFTUNGSAUSSCHLUSS \n\nDieser Haftungsausschuss wurde am 1. Oktober 2020 zum letzten Mal geändert. + Nutzungsbedingungen + + Keine Internetverbindung + Tippen um zu scannen + Tippen um zu scannen + Das Zielkonto ist nicht erstellt. Der abzusendende Betrag soll %1$s %2$s + Gebühr oder mehr sein + Erhalt der Gebühr fehlgeschlagen + \ No newline at end of file diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 971bb1682a..4bf21924ff 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -1,6 +1,111 @@ + Non + Sauvegarder les modifications + Alerte + Réessayer + Exécuté + Annuler + J\'accepte + + L’accès à la caméra est refusé + Vous n\'avez pas octroyé l’accès à votre caméra, veuillez modifier vos paramètres de confidentialité + Paramètres + Bienvenue à Tangem. Avez-vous une de nos cartes + Encore une fois, bienvenue dans Tangem Tap. \nScannez votre carte pour commencer. + Oui! Scannez-la. + Magasin + Préparez-vous à appuyer votre carte au dos de votre téléphone. + Appuyez + Scannez la carte + Scanner + Envoyer + Créer un portefeuille + Tangem Tap + Choisir une variante de portefeuille + Jeton d\'authentification + Jetons d\'authentification + Solde confirmé + Solde est en cours de téléchargement … + Blockchain est inaccessible + Compte n’est pas créé + Téléchargez %s +%s pour créer un compte + Carte vide + Créez un portefeuille pour commencer à utiliser votre carte Tangem + Cette carte n\'est pas prise en charge + Votre carte Tangem a été créée pour fonctionner avec une autre application. Regardez le nom et les instructions sur votre carte et installez l\'application pertinente + Transaction en cours… + Envoi\u0020 + jusqu’à %s + Réception \u0020 + de %s + Explorer l\'adresse + Créer PayID + Portefeuille %s + Créer PayID + Carte: %s + Dénomination PayID + $payid.tangem.com + Créer + Votre PayID est une information qui vous est propre, comme un numéro de téléphone, une adresse du courrier électronique ou un ABN. + PayID a été créé avec succès et copié dans le presse-papiers + Mauvaise réponse lors de la création de PayID + Ce PayID existe déjà. Essayez une autre variante. + Adresse ou PayID + Envoyer + Commissions du réseau + Somme + Commissions + Total + Somme maximale + Adresse incorrecte + Somme incorrecte + Le montant dépasse le solde + Le total dépasse le solde + Les commissions dépassent le solde + Bas + Normal + Priorité + Inclure les commissions + Sera envoyé %s %s + ≈ %s (incl. les commissions : %s) + Sera envoyé %s %s et %s %s + Solde : %s %s + La transaction a été signée avec succès et envoyée au nœud de blockchain. Le solde du portefeuille sera mis à jour après un certain temps + Référénces + ID de la carte + Emetteur + Signé + %s hashes + Monnaie de l’application + Paramètres + Carte + Valider la carte + Gestion de la sécurité + Annuler le portefeuille + Cette action est irréversible. Si, après avoir annulé le portefeuille, quelqu\'un lui envoie des fonds, vous ne pourrez pas les retirer. + Si vous oubliez le code, vous perdrez la possibilité d\'utiliser la carte. Si vous perdez le code, il sera impossible de le restaurer ou modifier. + Gestion de la sécurité + Tenez la carte fermement + Ce mécanisme protège contre les attaques sans contact sur la carte. Il y a un délai entre la réception et l\'exécution de la commande. Après la première transaction signée, ce téléphone sera associé à la carte et les transactions seront signées immédiatement. + Mot de passe + Avant d\'exécuter une commande qui modifie l\'état de la carte, vous devrez entrer un mot de passe. + Code d’accès + Vous devrez entrer le mot de passe correct avant de scanner la carte + Vous pouvez rencontrer des problèmes NFC avec certains iPhone 7/7 + lors de l’extraction + Attention: cette carte a déjà été rechargée et a signé des transactions avant. Envisagez la possibilité de retirer tous les fonds immédiatement si vous avez reçu cette carte d\'une source non fiable. + Cette carte n\'est pas conçue pour fonctionner avec Tangem Tap + La carte que vous avez scannée est une carte de développement. Ne l\'acceptez pas comme paiement + Les cartes Tangem émises avant septembre 2019 ne peuvent actuellement pas être extraites à l\'aide de l\'iPhone. Nous travaillons activement avec Apple pour rendre cela possible dans les futures versions d\'iOS. + Touchez pour signer + Appuyez votre carte au téléphone comme indiqué ci-dessus + Touchez, pour annuler un portefeuille + Touchez, pour créer un portefeuille + Touchez, pour modifier le code d’accès + Touchez, pour modifier le mot de passe + PayID incorrect + Avertissement @@ -52,4 +157,12 @@ Avertissement \n\nCette avertissement a été modifié, pour la dernière fois, le 1 octobre 2020. + Conditions d\'utilisation + + Pas de connexion internet + Touchez pour scanner + Touchez pour scanner + Le compte cible n\'a pas été créé. Le montant à envoyer doit être de %1$s %2$s + commissions ou plus + Échec de réception des commissions + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a9ed98a110..8142ff23cc 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -9,112 +9,81 @@ Done Cancel Accept - + Camera access denied You have not given access to your camera, please adjust your privacy settings Settings Welcome to Tangem.\nDo you have one of our cards? Welcome back to Tangem Tap. \nScan your card to start. - Yes. Scan it! Shop Get ready to tap your \ncard to the back of the \nphone. Tap in Scan card - @string/common_no + Yes! Scan it. - @string/app_name Scan Send - Create Wallet + Create wallet + Tangem Tap Choice wallet option + Token + Tokens + Verified Balance + Balance is loading… + Blockchain is unreachable + + Account is not created + Load %1$s+ %2$s to create account + Empty card + Create wallet to start using Tangem card + This card is not supported + Your Tangem card was made to work with a different application. Please see the name and instructions on your card, and install the correct app + + Transaction is in progress… + to %s + from %s + Receiving\u0020 + Sending\u0020 + Explore address Create PayID - - Verified Balance - Blockchain is unreachable - Balance is loading… - Transaction is in progress - Tokens - Token - - This card is not supported - Your Tangem card was made to work with a different application. Please see the name and instructions on your card, and install the correct app. - Empty Card - Create wallet to start using Tangem card - Account is not created - Load %1s+ %2s to create account - - Receiving\u0020 - Sending\u0020 - from %s - to %s + $s wallet Create PayID Card: %s - Enter desired PayID first PayID name + $payid.tangem.com Create - $payid.tangem.com Your PayID is information unique to you, like your phone number, email or ABN. - This PayID already exists. Try a different one. - Error response while creating PayID PayID created successfully and copied to clipboard + Error response while creating PayID + This PayID already exists. Try a different one. - %s wallet - - Address was successfully copied - No internet connection - @string/common_retry - - The card you scanned is a development card. Don\'t accept it as a payment. - Warning: This card has been already topped up and signed transactions in the past. - Consider immediate withdrawal of all funds if you have received this card from an untrusted source. - This card it is not designed to work with Tangem Tap - You may experience NFC problems with some iPhone 7/7+ during the extraction - - Unknown error - PayID verification failed - PayID unsupported by blockchain - PayID not registered - PayID request failed - Address is invalid or unsupported by blockchain - Address is the same as wallet address - Network fee request is failed - Insufficient balance - Blockchain internal error - Amount Exceeds Balance - Fee Exceeds Balance - Total Exceeds Balance - Invalid Amount - Invalid Fee - Minimum amount is %s - Change is too small - Target account is not created. Send more than %1$s %2$s to create - - Send Address or PayID + Send Network fee - Include fee + Amount + Fee + Total + Maximum amount + Invalid address + Invalid amount + Amount Exceeds Balance + Total Exceeds Balance + Fee Exceeds Balance Low Normal Priority - @string/send_title - Total - Amount - Fee - %1s %2s will be sent - ≈ %1s (inc. fee: %2s) - %1s %2s and %3s %4s will be sent - Balance: %1s %2s - Maximum amount - Transaction was signed and sent to the blockchain + Include fee + %1$s %2$s will be sent + ≈ %1$s (inc. fee: %2$s) + %1$s %2$s and %3$s %4$s will be sent + Balance: %1$s %2$s + Transaction has been successfully signed and sent to blockchain node. Wallet balance will be updated in a while Details - Card settings prohibits from erasing wallet - You balance on this wallet is not zero, or you have unconfirmed transactions - This is the currently active option Card ID Issuer Signed @@ -123,27 +92,30 @@ Settings Card Validate card - Manage security + Manage Security Erase wallet - Continue - - Long Tap - Passcode - Access Code - This mechanism protects against proximity attack on a card. It will enforce a delay between reception and execution of a command. After the first signed transaction this phone will be linked with the card and transactions will be signed immediately. - Before execution of any command entailing a change of the card state you will have to enter the passcode. - You will have to submit the correct access code before scanning the card. - This action is irreversible. If, after deleting the wallet, someone sends funds to it, then you will not be able to withdraw them. If you forget the code, you will lose the ability to use the card. There is no way to recover or change your code if you lose it. + Manage Security + Long Tap + This mechanism protects against proximity attack on a card. It will enforce a delay between reception and execution of a command. After the first signed transaction this phone will be linked with the card and transactions will be signed immediately. + Passcode + Before execution any command entailing a change of the card state you will have to enter the passcode. + Access code + You will have to submit the correct access code before scanning the card + + You may experience NFC problems with some iPhone 7/7+ during the extraction + Warning: This card has been already topped up and signed transactions in the past.\n\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020Consider immediate withdrawal of all funds if you have received this card from an untrusted source. + This card it is not designed to work with Tangem Tap + The card you scanned is a development card. Don’t accept it as a payment + Tangem cards manufactured before September 2019 cannot currently be extracted with an iPhone. We’re working hard with Apple to make it possible in future versions of iOS. - Tap to scan - Tap the card Tap to sign + Tap the card to your phone as shown above Tap to erase wallet Tap to create wallet - Tap to change the passcode Tap to change the access code + Tap to change the passcode Invalid PayID @@ -196,6 +168,35 @@ \n8. Last amendment \n \nThis disclaimer was amended for the last time on October 1st, 2020. - Terms of service> + Terms of service + + Failed to get fee + Target account is not created. Amount to send should be %1$s %2$s + fee or more to create + No internet connection + + Unknown error + PayID verification failed + PayID unsupported by blockchain + PayID not registered + PayID request failed + + Address is the same as wallet address + Insufficient balance + Blockchain internal error + Invalid Fee + Minimum amount is %s + Change is too small + + Address was copied to clipboard + + + Enter desired PayID first + + Tap to scan + Tap the card + + You balance on this wallet is not zero, or you have unconfirmed transactions + This is the currently active option + \ No newline at end of file