Skip to content

Commit

Permalink
added type-safe i18next - fix minor spelling, styling and translation…
Browse files Browse the repository at this point in the history
… issues (#113)

* type-safe i18next, minor styling fix

* update pin-pad colors related to highlight theme

* red background on locked state

* disable submit button on too low input
  • Loading branch information
KKA11010 committed Jul 11, 2023
1 parent 0d8becd commit 7c9a318
Show file tree
Hide file tree
Showing 56 changed files with 16,913 additions and 988 deletions.
56 changes: 32 additions & 24 deletions assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"mintBalance": "Mint Guthaben",
"calculateFeeEst": "Gebühr wird geschätzt",
"estimatedFees": "Geschätzte Gebühr",
"to": "zu",
"to": "bis",
"expired": "Abgelaufen",
"total": "Gesamt",
"invoiceOrLnurl": "LN Rechnung oder LNURL",
Expand Down Expand Up @@ -101,7 +101,23 @@
"readme": "Lies mich",
"githubIssues": "GitHub Probleme und Fragen",
"cashuRandD": "Cashu Telegram",
"enutsRandD": "eNuts Telegram"
"enutsRandD": "eNuts Telegram",
"english": "Englisch",
"german": "Deutsch",
"french": "Französisch",
"delHistory": "Transaktionsverlauf löschen",
"lnPayment": "Lightning Zahlung",
"lnInvoice": "Lightning Rechnung",
"ecashPayment": "Ecash Zahlung",
"trustMint": "Möchten Sie dieser Mint vertrauen",
"notClaim": "Wenn Sie \"Nein\" wählen, wird der Token nicht beansprucht",
"contact_one": "Kontakt",
"contact_other": "Kontakte",
"getStarted": "Loslegen",
"startHint": "Sie sollten eine Mint hinzufügen, der Sie vertrauen, bevor Sie Token senden oder empfangen.",
"addMintNow": "Füge eine mint hinzu",
"willDoLater": "Mache ich später",
"aboutToLeaveTo": "Sie sind im Begriff die App zu verlassen"
},
"wallet": {
"disclaimer": "Bitte beachten Sie, dass es sich hierbei um eine Alpha-Version in einem frühen Stadium handelt und diese noch vor der offiziellen Veröffentlichung getestet wird. Die Software und alle darauf enthaltenen Inhalte werden als „wie besehen“ und „wie verfügbar“ bereitgestellt. Wir geben keine Garantien, ob ausdrücklich oder stillschweigend, hinsichtlich der Eignung oder Verwendbarkeit der Software oder deren Inhalte.",
Expand Down Expand Up @@ -189,7 +205,16 @@
"checkProofsTxt": "Dadurch wird überprüft, ob Ihre Token ausgegeben werden können und werden andernfalls gelöscht.",
"editMintName": "Mint Name bearbeiten",
"addCustomName": "Benutzerdefinierten Namen hinzufügen",
"funds": "Guthaben"
"funds": "Guthaben",
"cutomNameAdded": "Benutzerdefinierter Name hinzugefügt",
"atLeast2Mints": "Sie brauchen mindestens 2 Mints um einen Tausch auszuführen.",
"swapNotAllowed": "Tausch von einer Test-Mint ist nicht möglich.",
"lowBal": "Kein Guthaben verfügbar",
"lowBackupBal": "Kein Guthaben für eine Mint-Sicherung",
"backupNotCreated": "Mint-Sicherung konnte nicht erstellt werden.",
"updatedDefault": "Änderungen gespeichert",
"deletedProofs": "{{proofsToDel}] Proofs gelöscht.",
"errDelProofs": "Etwas ist schief gelaufen während dem Löschen der Proofs."
},
"backup": {
"copyBackup": "Kopieren Sie den Token und bewahren Sie ihn an einem sicheren Ort."
Expand All @@ -204,7 +229,7 @@
"invalidName": "Invalider Name!",
"personalLnurl": "Persönliche LNURL",
"addContactErr": "Kontakt konnte nicht hinzugefügt werden. Möglicher Name oder LNURL Duplikat.",
"addedContact": "Neue Kontakt hinzugefügt"
"addedContact": "Neuer Kontakt hinzugefügt"
},
"auth": {
"welcome": "Willkommen",
Expand All @@ -214,27 +239,10 @@
"pinSetup": "Sie können ein PIN erstellen um Ihre App zu schützen.",
"pinMismatch": "PIN inkorrekt!",
"createPin": "PIN erstellen",
"editPin":"PIN ändern",
"removePin":"PIN löschen",
"editPin": "PIN ändern",
"removePin": "PIN löschen",
"confirmAction": "Bitte bestätigen Sie die Aktion.",
"pleaseNewPin": "Bitte geben Sie eine neue PIN ein.",
"pleaseConfirmNewPin": "Bitte bestätigen Sie Ihre neue PIN."

},
"english": "Englisch",
"german": "Deutsch",
"french": "Französisch",
"delHistory": "Transaktionsverlauf löschen",
"lnPayment": "Lightning Zahlung",
"lnInvoice": "Lightning Rechnung",
"ecashPayment": "Ecash Zahlung",
"trustMint": "Möchten Sie dieser Mint vertrauen",
"notClaim": "Wenn Sie \"Nein\" wählen, wird der Token nicht beansprucht",
"contact_one": "Kontakt",
"contact_other": "Kontakte",
"getStarted": "Loslegen",
"startHint": "Sie sollten eine Mint hinzufügen, der Sie vertrauen, bevor Sie Token senden oder empfangen.",
"addMintNow": "Füge eine mint hinzu",
"willDoLater": "Mache ich später",
"aboutToLeaveTo": "Sie sind im Begriff die App zu verlassen"
}
}
51 changes: 30 additions & 21 deletions assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,23 @@
"readme": "Read me",
"githubIssues": "GitHub issues and questions",
"cashuRandD": "Cashu Telegram",
"enutsRandD": "eNuts Telegram"
"enutsRandD": "eNuts Telegram",
"english": "English",
"german": "German",
"french": "French",
"delHistory": "Delete transaction history",
"lnPayment": "Lightning payment",
"lnInvoice": "Lightning invoice",
"ecashPayment": "Ecash payment",
"trustMint": "Do you want to trust this mint",
"notClaim": "If you choose \"No\", the token will not be claimed",
"contact_one": "Contact",
"contact_other": "Contacts",
"getStarted": "Get started",
"startHint": "You should add a mint that you trust before sending or receiving token.",
"addMintNow": "Add a mint now",
"willDoLater": "Will do later",
"aboutToLeaveTo": "You are about to leave"
},
"wallet": {
"disclaimer": "Please note that this is an alpha version in its early stage and is still undergoing testing before its official release. The software and all content found on it are provided on an “as is” and “as available” basis. We do not give any warranties, whether express or implied, as to the suitability or usability of the software or any of its content.",
Expand Down Expand Up @@ -189,7 +205,16 @@
"checkProofsTxt": "This will check if your token are spendable and will otherwise delete them.",
"editMintName": "Edit mint name",
"addCustomName": "Add a custom name",
"funds": "Funds"
"funds": "Funds",
"cutomNameAdded": "Added a custom name",
"atLeast2Mints": "You need at least 2 mints to perform an inter-mint swap.",
"swapNotAllowed": "Swap out from a test mint is not possible.",
"lowBal": "Mint balance too low!",
"lowBackupBal": "The mint has no balance for a backup!",
"backupNotCreated": "Backup token could not be created.",
"updatedDefault": "Updated the default mint",
"deletedProofs": "Deleted {{proofsToDel}] proofs.",
"errDelProofs": "Something went wrong while deleting proofs."
},
"backup": {
"copyBackup": "Copy the token and keep it in a safe place."
Expand All @@ -214,26 +239,10 @@
"pinSetup": "You can setup a PIN to secure your app.",
"pinMismatch": "Incorrect PIN!",
"createPin": "Create PIN",
"editPin":"Edit PIN",
"removePin":"Delete PIN",
"editPin": "Edit PIN",
"removePin": "Delete PIN",
"confirmAction": "Please confirm the action.",
"pleaseNewPin": "Please enter a new PIN now.",
"pleaseConfirmNewPin": "Please confirm your new PIN."
},
"english": "English",
"german": "German",
"french": "French",
"delHistory": "Delete transaction history",
"lnPayment": "Lightning payment",
"lnInvoice": "Lightning invoice",
"ecashPayment": "Ecash payment",
"trustMint": "Do you want to trust this mint",
"notClaim": "If you choose \"No\", the token will not be claimed",
"contact_one": "Contact",
"contact_other": "Contacts",
"getStarted": "Get started",
"startHint": "You should add a mint that you trust before sending or receiving token.",
"addMintNow": "Add a mint now",
"willDoLater": "Will do later",
"aboutToLeaveTo": "You are about to leave"
}
}
54 changes: 31 additions & 23 deletions assets/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,23 @@
"readme": "Lisez-moi",
"githubIssues": "GitHub problèmes et questions",
"cashuRandD": "Cashu Telegram",
"enutsRandD": "eNuts Telegram"
"enutsRandD": "eNuts Telegram",
"english": "Anglais",
"german": "Allemand",
"french": "Français",
"delHistory": "Supprimer l'historique transactions",
"lnPayment": "Paiement Lightning",
"lnInvoice": "Facture Lightning",
"ecashPayment": "Paiement Ecash",
"trustMint": "Voulez-vous faire confiance à cette mint",
"notClaim": "Si vous choisissez \"Non\", le jeton ne sera pas réclamé",
"contact_one": "Contact",
"contact_other": "Contacts",
"getStarted": "Commencer",
"startHint": "Vous devriez ajouter une mint à laquelle vous faites confiance avant d'envoyer ou de recevoir des jetons.",
"addMintNow": "Ajoutez une mint",
"willDoLater": "Je ferai plus tard",
"aboutToLeaveTo": "Vous êtes sur le point de quitter"
},
"wallet": {
"disclaimer": "Veuillez noter qu'il s'agit d'une version alpha à un stade précoce et qu'elle est encore en cours de test avant sa sortie officielle. Le logiciel et tous les contenus qui s'y trouvent sont fournis « tels quels » et « tels que disponibles ». Nous n'offrons aucune garantie, expresse ou implicite, quant à l'adéquation ou à l'utilisabilité du logiciel ou de l'un de ses contenus.",
Expand Down Expand Up @@ -189,7 +205,16 @@
"checkProofsTxt": "Cela vérifiera si vos jeton peuvent être dépensés et les supprimera sinon.",
"editMintName": "Modifier le nom de la mint",
"addCustomName": "Ajouter un nom personnalisé",
"funds": "Argent"
"funds": "Argent",
"cutomNameAdded": "Ajouté un nom personnalisé",
"atLeast2Mints": "Vous avez besoin d'au moins 2 mint pour effectuer une échange.",
"swapNotAllowed": "L'échange de mint à partir d'une mint de test n'est pas possible.",
"lowBal": "Solde trop bas!",
"lowBackupBal": "La mint n'a pas de solde pour une sauvegarde!",
"backupNotCreated": "La sauvegarde n'a pas pu être créé.",
"updatedDefault": "Modifications enregistrées",
"deletedProofs": "Supprimé {{proofsToDel}] proofs.",
"errDelProofs": "Une erreur s'est produite lors de la suppression des proofs."
},
"backup": {
"copyBackup": "Copiez le jeton et gardez-le dans un endroit sûr."
Expand All @@ -214,27 +239,10 @@
"pinSetup": "Vous pouvez configurer un PIN pour sécuriser votre app.",
"pinMismatch": "PIN incorrect!",
"createPin": "Créer un PIN",
"editPin":"Modifier le PIN",
"removePin":"Supprimer le PIN",
"editPin": "Modifier le PIN",
"removePin": "Supprimer le PIN",
"confirmAction": "Veuillez confirmer votre action.",
"pleaseNewPin": "Veuillez saisir un nouveau PIN.",
"pleaseConfirmNewPin": "Veuillez confirmer votre nouveau PIN."

},
"english": "Anglais",
"german": "Allemand",
"french": "Français",
"delHistory": "Supprimer l'historique transactions",
"lnPayment": "Paiement Lightning",
"lnInvoice": "Facture Lightning",
"ecashPayment": "Paiement Ecash",
"trustMint": "Voulez-vous faire confiance à cette mint",
"notClaim": "Si vous choisissez \"Non\", le jeton ne sera pas réclamé",
"contact_one": "Contact",
"contact_other": "Contacts",
"getStarted": "Commencer",
"startHint": "Vous devriez ajouter une mint à laquelle vous faites confiance avant d'envoyer ou de recevoir des jetons.",
"addMintNow": "Ajoutez une mint",
"willDoLater": "Je ferai plus tard",
"aboutToLeaveTo": "Vous êtes sur le point de quitter"
}
}
}
2 changes: 1 addition & 1 deletion config/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const config: ExpoConfig = {
config: {
organization: process?.env?.SENTRY_ORG,
project: process?.env?.SENTRY_PROJECT
}
}
}
]
}
Expand Down
Loading

0 comments on commit 7c9a318

Please sign in to comment.