From 9530ab59e433dfb59d93dc93c2c324f1ac3e89ae Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 5 Oct 2022 20:25:03 -0700 Subject: content tweaks --- src/locales/en.json | 8 ++++---- src/routes/invoice/[id]/paid/+page.svelte | 2 +- src/routes/login/+page.server.js | 2 -- src/routes/login/+page.svelte | 2 +- src/routes/send/lightning/[payreq]/+page.svelte | 8 ++++---- src/routes/sent/+page.svelte | 3 ++- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index e9af5557..a6c94b58 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -56,15 +56,15 @@ "header": "FAQ", "cost": { "question": "What does it cost?", - "answer": "You pay nothing to register and maintain your account and receive unlimited payments over the lightning network. We charge a 0.1% fee to convert regular bitcoin to lightning and vice versa. Lightning withdrawals are subject to network routing fees that are typically very low." + "answer": "There's no cost to register and maintain your account and receive unlimited payments over the lightning network. We charge a 0.1% fee to convert from lightning to bitcoin." }, "compatibility": { "question": "Do I need any special device or software?", "answer": "No. Coinos is web-based, so as long as you have an internet connection, you can use it on any device. Retail merchants might use it on a phone or a tablet." }, "safety": { - "question": "What can I do with the bitcoin I receive?", - "answer": "Use it to pay staff and suppliers, support other bitcoin-accepting businesses or hold onto it and watch your purchasing power grow." + "question": "Can I exchange my bitcoin to my local currency or other cryptos?", + "answer": "That's not something we support but you can withdraw your funds at any time to a third party wallet or exchange." } }, "footer": { @@ -89,7 +89,7 @@ }, "step3": { "header": "3. That's all!", - "description": "You're now free to use your bitcoin however you like." + "description": "Now you can pay your staff and suppliers or go shopping at other bitcoin businesses." } }, "invoice": { diff --git a/src/routes/invoice/[id]/paid/+page.svelte b/src/routes/invoice/[id]/paid/+page.svelte index 9479f0aa..95c721d0 100644 --- a/src/routes/invoice/[id]/paid/+page.svelte +++ b/src/routes/invoice/[id]/paid/+page.svelte @@ -23,7 +23,7 @@
-
+

{$t('invoice.paymentSuccessful')}

diff --git a/src/routes/login/+page.server.js b/src/routes/login/+page.server.js index 750933a0..69077fc6 100644 --- a/src/routes/login/+page.server.js +++ b/src/routes/login/+page.server.js @@ -7,10 +7,8 @@ export const actions = { try { await login(user, cookies); } catch (e) { - console.log("fail") return invalid(400, { error: 'Login failed' }); } - console.log("succ") throw redirect(303, `/${user.username}/dashboard`); } diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte index 57b67643..cf7cb517 100644 --- a/src/routes/login/+page.svelte +++ b/src/routes/login/+page.svelte @@ -1,6 +1,6 @@ diff --git a/src/routes/send/lightning/[payreq]/+page.svelte b/src/routes/send/lightning/[payreq]/+page.svelte index 65e8989e..b61a9264 100644 --- a/src/routes/send/lightning/[payreq]/+page.svelte +++ b/src/routes/send/lightning/[payreq]/+page.svelte @@ -20,10 +20,10 @@
{#if amount}
-

Send

-

{s(amount)} sats

-

To

-

{alias}

+

Sending

+

{s(amount)} sats

+

to

+

{alias}

{:else} diff --git a/src/routes/sent/+page.svelte b/src/routes/sent/+page.svelte index c70aea39..f79166e4 100644 --- a/src/routes/sent/+page.svelte +++ b/src/routes/sent/+page.svelte @@ -1,4 +1,5 @@
-
+

Sent!

-- cgit v1.2.3