aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-21 08:16:00 -0700
committerAdam Soltys <[email protected]>2026-09-21 08:16:00 -0700
commite2ca38a1088a0ec0595432726b2e708b14a811ea (patch)
treed3153f4bd4066ccf78ff031dbcb26053d4697a80 /src/i18n.js
parent40257dad7978797d5185e796136596ff10b6abec (diff)
downloadcoinosv3-e2ca38a1088a0ec0595432726b2e708b14a811ea.tar.gz
coinosv3-e2ca38a1088a0ec0595432726b2e708b14a811ea.zip
Point of sale: a bill, an optional tip prompt, one invoice, and a ledger that keeps tips apart.
A new deferred feature (src/features/pos.js): type the amount in the display unit, optionally a note, Charge. With the tip prompt on, the customer sees the bill and picks a percentage (configurable, default 10/15/20), their own figure, or no tip; one Lightning invoice is made for the total through the Ark feature's receive (new hooks arkLnInvoice/arkLnWatch/arkLnUnwatch/ arkLnCancel wrap createLnInvoice and pollArkLn). Paid, expired and cancelled sales are recorded with the bill and the tip as separate figures, and the fiat rate at the time; the amount screen shows today's bills, tips and total. Doors: Settings → Payments card, and a button under the payment address on Receive (a receiveExtras hook the names pane renders). Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index 5ce4a18..721bf98 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -245,6 +245,36 @@ const STR = {
feedSumFollowsPlus: 'Everyone you follow + {n} more',
feedSumPeople: '{n} people',
feedPacks: 'Follow packs',
+ posTitle: 'Point of sale',
+ posDesc: 'Charge a customer a set amount, with an optional tip prompt. Bills and tips are counted separately.',
+ posOpen: 'Open',
+ posEnterAmount: 'Enter an amount first',
+ posNeedsSpending: 'Point of sale takes Lightning into Spending — connect first',
+ posNoteHint: 'Note (optional)',
+ posCharge: 'Charge',
+ posAskTip: 'Ask the customer for a tip',
+ posTipChoices: 'Tip choices',
+ posYourBill: 'Your bill',
+ posAddTip: 'Add a tip?',
+ posTipCustom: 'Other',
+ posNoTip: 'No tip',
+ posTotalLine: 'Total {n}',
+ posContinue: 'Continue',
+ posScanToPay: 'Scan to pay',
+ posBreakdown: 'Bill {bill} + tip {tip} {u}',
+ posWaiting: 'Waiting for payment…',
+ posPaid: 'Paid',
+ posNewSale: 'New sale',
+ posInvoiceFailed: 'Could not create an invoice',
+ posInvoiceExpired: 'That invoice expired before it was paid',
+ posMemo: 'Bill {bill}, tip {tip}',
+ posSalesToday: 'Today',
+ posBills: 'Bills',
+ posTips: 'Tips',
+ posTotal: 'Total',
+ posTipWord: 'tip',
+ posVoid: 'cancelled',
+ posAwaiting: 'awaiting payment',
linkHandlerTitle: 'Open links here',
linkHandlerDesc: 'Make this app the one your browser opens for nostr links (what njump calls "Your default web app") and bitcoin: links.',
linkHandlerNostr: 'nostr links',