Skip to content

Commit

Permalink
0.4.1 beta (#357)
Browse files Browse the repository at this point in the history
* Update the mint screen when there are no mints

* Use "autoCapitalize='none'" on most Text Inputs

* Include Button in Mints screen to navigate to bitcoinmints dot com

* Fix lottie animations

* Fix overview screen &  swipe button

* Update bottom navigation appearance

* Update contacts screen bottom space

* Update padding top in Balance component

* translate hard coded strings

* lint, fix translation tests

* fix translation tests

* add .npmrc with legacy-peer-deps=true
  • Loading branch information
KKA11010 authored Jul 7, 2024
1 parent ef23631 commit 9a9ff22
Show file tree
Hide file tree
Showing 33 changed files with 251 additions and 134 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "{{ count }} Rechnung wurde mit einem Gesamtbetrag von {{ total }} Sats bezahlt",
"paidInvoices": "{{ count }} Rechnungen wurden mit einem Gesamtbetrag von {{ total }} Sats bezahlt",
"checkPayment": "Zahlung überprüfen",
"lnPaymentSpamHint": "Bitte warten Sie {{ remainingSeconds }} Sekunden um die Mint zu entlasten."
"lnPaymentSpamHint": "Bitte warten Sie {{ remainingSeconds }} Sekunden um die Mint zu entlasten.",
"supportUs": "Unterstütze uns",
"shareEnuts": "Teile eNuts mit jemandem"
},
"error": {
"checkSpendableErr": "Fehler beim Überprüfen, ob der Token ausgegeben werden kann",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "{{ count }} invoice has been paid with a total amount of {{ total }} Sats",
"paidInvoices": "{{ count }} invoices have been paid with a total amount of {{ total }} Sats",
"checkPayment": "Check payment",
"lnPaymentSpamHint": "Please wait {{ remainingSeconds }} seconds to avoid spamming the mint."
"lnPaymentSpamHint": "Please wait {{ remainingSeconds }} seconds to avoid spamming the mint.",
"supportUs": "Support us",
"shareEnuts": "Share eNuts with someone"
},
"error": {
"checkSpendableErr": "Error while checking if token is spendable",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "Se ha pagado {{ count }} factura con un importe total de {{ total }} Sats",
"paidInvoices": "Se han pagado {{ count }} facturas con un importe total de {{ total }} Sats",
"checkPayment": "Comprobar pago",
"lnPaymentSpamHint": "Por favor, espere {{ remainingSeconds }} segundos para aliviar la Mint."
"lnPaymentSpamHint": "Por favor, espere {{ remainingSeconds }} segundos para aliviar la Mint.",
"shareEnuts": "Comparte eNuts con alguien",
"supportUs": "Apóyanos"
},
"error": {
"checkSpendableErr": "Error al comprobar si el token puede ser gastado",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "{{ count }} facture a été payée pour un montant total de {{ total }} Sats",
"paidInvoices": "{{ count }} factures ont été payées pour un montant total de {{ total }} Sats",
"checkPayment": "Vérifier le paiement",
"lnPaymentSpamHint": "Veuillez attendre {{ remainingSeconds }} secondes pour soulager la Mint."
"lnPaymentSpamHint": "Veuillez attendre {{ remainingSeconds }} secondes pour soulager la Mint.",
"shareEnuts": "Partagez eNuts avec quelqu'un",
"supportUs": "Soutenez-nous"
},
"error": {
"checkSpendableErr": "Erreur lors de la vérification si le token est dépensable",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "{{ count }} számla kifizetésre került, összesen {{ total }} Sats összegben",
"paidInvoices": "{{ count }} számla kifizetésre került, összesen {{ total }} Sats összegben",
"checkPayment": "Fizetés ellenőrzése",
"lnPaymentSpamHint": "Kérjük, várjon {{ remainingSeconds }} másodpercet a Mint tehermentesítése érdekében."
"lnPaymentSpamHint": "Kérjük, várjon {{ remainingSeconds }} másodpercet a Mint tehermentesítése érdekében.",
"shareEnuts": "Oszd meg az eNuts-ot valakivel",
"supportUs": "Támogass minket"
},
"error": {
"checkSpendableErr": "Hiba a token elkölthetőségének ellenőrzése közben",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "{{ count }} richiesta di pagamento pagata con un totale di {{ total }} Sat",
"paidInvoices": "{{ count }} richieste di pagamento pagate con un totale di {{ total }} Sat",
"checkPayment": "Controllare pagamento",
"lnPaymentSpamHint": "Attendere {{ remainingSeconds }} secondi per evitare di sovraccaricare la mint."
"lnPaymentSpamHint": "Attendere {{ remainingSeconds }} secondi per evitare di sovraccaricare la mint.",
"supportUs": "Supportaci",
"shareEnuts": "Condividi eNuts con qualcuno"
},
"error": {
"checkSpendableErr": "Errore di verifica del token",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"lnPaymentSpamHint": "Пожалуйста, подождите {{ remainingSeconds }} секунд, чтобы избежать спама монетой.",
"trustHint": "Монетный двор, связанный с принимаемым токеном, будет добавлен в Ваш список доверенных монетных дворов.",
"noDefaultHint": "Вам необходимо настроить монетный двор по умолчанию для выполнения автоматического перевода средств.",
"autoSwapSuccess": "Обмен прошёл успешно!"
"autoSwapSuccess": "Обмен прошёл успешно!",
"shareEnuts": "Поделитесь eNuts с кем-нибудь",
"supportUs": "Поддержите нас"
},
"error": {
"checkSpendableErr": "Ошибка при проверке попытке потратить токен",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/sw.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "{{ count }} ankara imelipwa kwa jumla ya {{ total }} Sats",
"paidInvoices": "Bilansi ya ankara {{ count }} zimelipwa kwa jumla ya {{ total }} Sats",
"checkPayment": "Angalia malipo",
"lnPaymentSpamHint": "Tafadhali subiri {{ remainingSeconds }} sekunde ili kupunguza mzigo kwa Mint."
"lnPaymentSpamHint": "Tafadhali subiri {{ remainingSeconds }} sekunde ili kupunguza mzigo kwa Mint.",
"shareEnuts": "Shiriki eNuts na mtu",
"supportUs": "Tusaidie"
},
"error": {
"checkSpendableErr": "Kumetokea kosa wakati wa kuangalia ikiwa kijenzi kina pesa za kutumiwa",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "{{ count }} ใบแจ้งหนี้ได้รับการชำระเงินด้วยจำนวนรวม {{ total }} Sats",
"paidInvoices": "{{ count }} ใบแจ้งหนี้ได้รับการชำระเงินด้วยจำนวนรวม {{ total }} Sats",
"checkPayment": "ตรวจสอบการชำระเงิน",
"lnPaymentSpamHint": "โปรดรอ {{ remainingSeconds }} วินาทีเพื่อหลีกเลี่ยงการสแปมมิ้นต์"
"lnPaymentSpamHint": "โปรดรอ {{ remainingSeconds }} วินาทีเพื่อหลีกเลี่ยงการสแปมมิ้นต์",
"shareEnuts": "แบ่งปัน eNuts กับใครสักคน",
"supportUs": "สนับสนุนเรา"
},
"error": {
"checkSpendableErr": "เกิดข้อผิดพลาดขณะตรวจสอบว่า Token สามารถใช้ได้",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/zh-Hans-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "已支付 {{ count }} 张发票,总金额为 {{ total }} 聪",
"paidInvoices": "已支付 {{ count }} 张发票,总金额为 {{ total }} 聪",
"checkPayment": "检查付款",
"lnPaymentSpamHint": "请等待 {{ remainingSeconds }} 秒,以免对铸币厂造成垃圾邮件。"
"lnPaymentSpamHint": "请等待 {{ remainingSeconds }} 秒,以免对铸币厂造成垃圾邮件。",
"shareEnuts": "与某人分享 eNuts",
"supportUs": "支持我们"
},
"error": {
"checkSpendableErr": "检查代币是否可使用时出错",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/zh-Hant-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
"paidInvoice": "已支付 {{ count }} 張發票,總金額爲 {{ total }} 聰",
"paidInvoices": "已支付 {{ count }} 張發票,總金額爲 {{ total }} 聰",
"checkPayment": "檢查付款",
"lnPaymentSpamHint": "請等待 {{ remainingSeconds }} 秒,以免對鑄幣廠造成垃圾郵件。"
"lnPaymentSpamHint": "請等待 {{ remainingSeconds }} 秒,以免對鑄幣廠造成垃圾郵件。",
"shareEnuts": "與某人分享 eNuts",
"supportUs": "支持我們"
},
"error": {
"checkSpendableErr": "檢查代幣是否可使用時出錯",
Expand Down
34 changes: 0 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/Balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function Balance({ nav }: IBalanceProps) {
txt={t('seeFullHistory')}
onPress={() => nav?.navigate('history')}
txtColor={getColor(highlight, color)}
style={[{ paddingTop: s(15), paddingBottom: hidden.txs ? s(15) : 0 }]}
style={[{ paddingTop: s(15) }]}
/>
}
</View>
Expand Down
Loading

0 comments on commit 9a9ff22

Please sign in to comment.