-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathi18n.js
More file actions
2360 lines (2296 loc) · 137 KB
/
Copy pathi18n.js
File metadata and controls
2360 lines (2296 loc) · 137 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
const i18n = (() => {
const translations = {
en: {
// ── Common ──────────────────────────────────────────────────────────
'auth.sessionExpired': 'Your session has expired. Please log in again.',
'auth.loginAgain': 'Log In Again',
'common.save': 'Save',
'common.cancel': 'Cancel',
'common.close': 'Close',
'common.refresh': 'Refresh',
'common.delete': 'Delete',
'common.edit': 'Edit',
'common.update': 'Update',
'common.add': 'Add',
'common.confirm': 'Confirm',
'common.logout': 'Logout',
'common.loading': 'Loading…',
'common.processing': 'Processing…',
'common.error': 'Error',
'common.success': 'Success',
'common.yes': 'Yes',
'common.no': 'No',
'common.on': 'On',
'common.off': 'Off',
'common.unknown': 'Unknown',
'common.online': 'Online',
'common.offline': 'Offline',
'common.checking': 'Checking…',
'common.dashboard': 'Dashboard',
'common.settings': 'Settings',
'common.members': 'Members',
'common.pos': 'POS',
'common.username': 'Username',
'common.password': 'Password',
'common.hiveAccount': 'Hive Account',
'common.status': 'Status',
'common.actions': 'Actions',
'common.name': 'Name',
'common.phone': 'Phone',
'common.email': 'Email',
'common.notes': 'Notes',
'common.date': 'Date',
'common.amount': 'Amount',
'common.currency': 'Currency',
'common.description': 'Description',
'common.published': 'Published',
'common.draft': 'Draft',
'common.active': 'Active',
'common.overdue': 'Overdue',
'common.suspended': 'Suspended',
'common.expired': 'Expired',
'common.networkError': 'Network error. Please check your connection and try again.',
'common.optional': 'Optional',
'common.clear': 'Clear',
'common.newSale': 'New Sale',
// ── Login page ──────────────────────────────────────────────────────
'login.subtitle': 'Point of Sale',
'login.tabLogin': 'Admin Login',
'login.tabCashier': 'Cashier Login',
'login.registerBusiness': 'Register your Business',
'login.systemOnline': 'System Online',
'login.systemOffline': 'System Offline',
'login.backToLogin': '← Back to Login',
'login.builtWith': 'Built with Love by',
'login.storeHiveLabel': 'Store Hive Account',
'login.storeHiveHelp': 'Only needed if multiple stores share the same cashier username',
'login.goToPOS': 'Go to POS',
'login.tabRegister': 'Register',
'login.usernameLabel': 'Username',
'login.passwordLabel': 'Password',
'login.hiveLabel': 'Hive Account',
'login.hiveOptional': '(optional)',
'login.hivePlaceholder': 'yourhiveaccount',
'login.confirmPassword': 'Confirm Password',
'login.signIn': 'Sign In',
'login.requestAccess': 'Request Access',
'login.forgotPassword': 'Forgot your password?',
'login.minChars3': 'At least 3 characters',
'login.minChars6': 'At least 6 characters',
'login.fillAllFields': 'Please fill in all fields',
'login.fillRequired': 'Please fill in all required fields',
'login.passwordsMismatch': 'Passwords do not match',
'login.passwordMin6': 'Password must be at least 6 characters',
'login.usernameMin3': 'Username must be at least 3 characters',
'login.loginSuccess': 'Login successful! Redirecting…',
'login.loginFailed': 'Login failed. Please check your credentials.',
'login.registerSuccess': 'Request sent! Your account is awaiting admin approval. You will be able to log in once approved.',
'login.registerFailed': 'Registration failed. Please try again.',
'login.forgotMsg': 'Password reset functionality will be implemented soon. Please contact your administrator.',
'login.debugTools': '🔧 Debug Tools',
'login.checkService': 'Check Service Status',
'login.debugInit': 'Debug console initialized…',
// ── Superadmin page ─────────────────────────────────────────────────
'superadmin.title': 'Super Admin',
'superadmin.badge': 'Super Admin',
'superadmin.totalStores': 'Total Stores',
'superadmin.pending': 'Pending Approval',
'superadmin.published': 'Published Stores',
'superadmin.approvals': 'Pending Approvals',
'superadmin.pendingBadge': '{n} pending',
'superadmin.registered': 'Registered',
'superadmin.approve': '✓ Approve',
'superadmin.reject': '✗ Reject',
'superadmin.noApprovals': 'No pending approvals',
'superadmin.allStores': 'All Stores',
'superadmin.business': 'Business',
'superadmin.owner': 'Owner',
'superadmin.memberships': 'Memberships',
'superadmin.lightning': 'Lightning',
'superadmin.noStores': 'No stores yet',
'superadmin.userApproved': 'User approved',
'superadmin.approveFail': 'Failed to approve',
'superadmin.userRejected': 'User rejected',
'superadmin.rejectFail': 'Failed to reject',
'superadmin.rejectConfirm':'Reject and delete "{name}"? This cannot be undone.',
'superadmin.emailReminders':'Email Rem.',
'superadmin.billingTitle': 'Subscriptions & Billing',
'superadmin.noSubs': 'No subscriptions found',
// ── Billing / Subscription ───────────────────────────────────────────
'billing.widgetTitle': 'Subscription',
'billing.widgetDue': 'Due',
'billing.perMonth': 'mo',
'billing.statusTrial': 'Trial',
'billing.statusActive': 'Active',
'billing.statusOverdue': 'Overdue',
'billing.statusComped': 'Comped',
'billing.statusSuspended': 'Suspended',
'billing.payHbd': 'Pay with HBD',
'billing.payCard': 'Pay with Card',
'billing.payHbdTitle': 'Pay with HBD',
'billing.payHbdInstr': 'Send the exact amount to the account below with the memo shown.',
'billing.sendTo': 'Send to',
'billing.amount': 'Amount',
'billing.memo': 'Memo',
'billing.txIdPlaceholder': 'Paste transaction ID…',
'billing.confirmTx': 'Confirm',
'billing.txIdRequired': 'Transaction ID is required',
'billing.verifying': 'Verifying…',
'billing.paymentRecorded': 'Payment recorded — subscription is now active!',
'billing.paymentFailed': 'Payment failed. Please try again.',
'billing.payCardTitle': 'Pay with Card',
'billing.payNow': 'Pay now',
'billing.processing': 'Processing…',
'billing.stripeNotConfigured': 'Card payments are not configured',
'billing.price': 'Price',
'billing.notes': 'Notes',
'billing.suspend': 'Suspend',
'billing.unsuspend': 'Unsuspend',
'billing.grantMonths': 'Grant months',
'billing.recordPayment': 'Record payment',
'billing.editNotes': 'Notes',
'billing.history': 'History',
'billing.statusUpdated': 'Status updated',
'billing.updateFailed': 'Update failed',
'billing.grantMonthsTitle':'Grant Free Months',
'billing.monthsLabel': 'Number of months',
'billing.notesLabel': 'Notes (optional)',
'billing.notesPlaceholder':'e.g. promo, partnership…',
'billing.compGranted': 'Comp months granted',
'billing.recordPayTitle': 'Record Manual Payment',
'billing.amountLabel': 'Amount ($)',
'billing.amountRequired': 'Amount is required',
'billing.editNotesTitle': 'Edit Notes',
'billing.notesSaved': 'Notes saved',
'billing.noPayments': 'No payments recorded yet',
'billing.historyTitle': 'Payment history',
'billing.paidAt': 'Date',
'billing.method': 'Method',
'billing.recordedBy': 'By',
'billing.period': 'Period',
// ── Dashboard page ───────────────────────────────────────────────────
'dashboard.title': '🛍️ HIVE POS Administration Console',
'dashboard.welcome': 'Welcome, {name}',
'dashboard.yourStore': 'Your Store',
'dashboard.editStore': '✏️ Edit Store',
'dashboard.noStore': 'No Store Created',
'dashboard.noStoreMsg': 'Create your store to get started with HIVE POS',
'dashboard.createStore': '➕ Create Your Store',
'dashboard.activeCashiers':'Active Cashiers',
'dashboard.addCashier': '👤 Add Cashier',
'dashboard.storeAccess': 'Store Access',
'dashboard.noCashiers': 'No Cashiers Added',
'dashboard.noCashiersMsg': 'Add cashiers to allow them to operate your stores',
'dashboard.noCashiersAssigned': 'No Cashiers Assigned',
'dashboard.noCashiersAssignedMsg': 'No cashiers are currently assigned to your store',
'dashboard.addFirstCashier':'👤 Add Your First Cashier',
'dashboard.addCashierTitle':'Add New Cashier',
'dashboard.editCashierTitle':'Edit Cashier',
'dashboard.passwordPlaceholder': 'Leave blank to keep current password',
'dashboard.metricItems': 'Items',
'dashboard.metricCategories': 'Categories',
'dashboard.metricCashiers':'Cashiers',
'dashboard.metricOrders': "Today's Orders",
'dashboard.metricTodayRevenue':"Today's Revenue",
'dashboard.metricSales': 'Sales',
'dashboard.metricDues': 'Dues',
'dashboard.metricOverdue': 'Overdue Members',
'dashboard.currentStore': 'Current Store',
'dashboard.cashierUpdated':'Cashier updated successfully',
'dashboard.cashierCreated':'Cashier created successfully',
'dashboard.cashierDeleted':'Cashier deleted successfully',
'dashboard.cashierSaveFail':'Failed to save cashier',
'dashboard.cashierDeleteFail':'Failed to delete cashier',
'dashboard.deleteConfirm': 'Are you sure you want to delete cashier "{name}"?',
'dashboard.usernameRequired': 'Username is required',
'dashboard.passwordRequired': 'Password is required for new cashiers',
'dashboard.noStoreForCashier': 'No store available. Please create a store first.',
'dashboard.loadStoreFail': 'Failed to load store config',
'dashboard.failedLoadCashiers': 'Failed to load cashiers',
'dashboard.sendRemindersNow': '✉️ Send Reminders Now',
'dashboard.sendingReminders': 'Sending…',
'dashboard.remindersSent': 'Done — {sent} sent, {skipped} already reminded recently.',
'dashboard.remindersFailed': 'Failed to send reminders. Check SMTP config.',
// ── Admin page ───────────────────────────────────────────────────────
'admin.title': 'Point of Sale Admin',
'admin.backToDashboard': '← Back to Dashboard',
'admin.tabStore': '🏪 Store',
'admin.tabProducts': '🛍️ Products',
'admin.tabPayments': '💳 Payments',
'admin.tabMembers': '👥 Members',
'admin.tabStaff': '👤 Staff',
'admin.tabFeatures': '🍽️ Features',
'admin.tabSettings': '⚙️ Settings',
'admin.storeIdentity': 'Identity & Appearance',
'admin.publishTitle': 'Publish Store',
'admin.categoriesTitle': 'Product Categories',
'admin.categoriesHelp': 'Organize your menu into categories. These appear as filter tabs in the POS.',
'admin.categoryPlaceholder': 'New category name…',
'admin.paymentsTitle': 'Payment Methods',
'admin.paymentsHelp': 'Choose which payment methods your cashiers can accept.',
'admin.staffTitle': 'Staff & Cashiers',
'admin.staffHelp': 'Manage the people who can log in and use the POS.',
'admin.manageCashiers': 'Manage Cashiers →',
'admin.manageCashiersHelp':'Add, remove, or reset passwords for your cashier accounts.',
'admin.featuresTitle': 'Features',
'admin.taxTitle': 'Tax',
'admin.apiServerTitle': 'API Server',
'admin.apiServerHint': 'Change only if you run your own backend.',
'admin.backupTitle': 'Backup & Restore',
'admin.openReservations': 'Open Reservations →',
'admin.openHotel': 'Open Hotel Manager →',
'admin.saveDraft': '💾 Save Draft',
'admin.itemName': 'Item Name:',
'admin.category': 'Category:',
'admin.imageFile': 'Image File:',
'admin.price': 'Price ($):',
'admin.selectCategory': 'Select category',
'admin.drink': 'Drink',
'admin.pastry': 'Pastry',
'admin.bread': 'Bread',
'admin.other': 'Other',
'admin.selectImagePlaceholder': 'Select an image…',
'admin.selectImage': 'Select Image',
'admin.addItem': 'Add Item',
'admin.saveItem': 'Save Item',
'admin.storeSettings': 'Store Settings',
'admin.businessName': 'Business Name:',
'admin.logoImage': 'Store Logo:',
'admin.logoTips': '💡 Best practices: square image (1:1), at least 400×400 px, PNG with transparent background works best. The logo replaces the store name text in the POS.',
'admin.bannerImage': 'Banner Image:',
'admin.bannerTips': '💡 Best practices: wide landscape image (3:1 or 4:1 ratio), at least 1200×400 px. Shown as a cover photo in the dashboard and store pages.',
'admin.categories': 'Categories:',
'admin.hivePayments': 'Hive Account to Receive Payments:',
'admin.addCategory': 'Add',
'admin.addCategoryPlaceholder': 'Add category and press Enter or tap Add',
'admin.apiServer': 'API Server URL:',
'admin.apiServerHelp': 'Set this to your self-hosted backend URL (e.g. https://api.yourdomain.com)',
'admin.draftMode': '📝 Draft Mode: Your changes are kept in memory. Use "Save Draft" to save your progress, then "Publish Store" to make it live!',
'admin.storePublished': '✅ Store Published: Your store is live! Changes are kept in memory until you save or publish.',
'admin.publishStore': '🚀 Publish Store',
'admin.enableMemberships': 'Enable Membership / Subscription Management',
'admin.membershipsHelp': 'Adds a Members page for gyms, clubs, or any business with recurring fees.',
'admin.membershipPlans': 'Membership Plans',
'admin.addPlan': '+ Add Plan',
'admin.planName': 'Plan Name *',
'admin.planDays': 'Duration (days) *',
'admin.planPrice': 'Price *',
'admin.planCurrency': 'Currency',
'admin.planDescription': 'Description',
'admin.planNamePlaceholder':'Monthly',
'admin.planDescPlaceholder':'Optional description',
'admin.savePlan': 'Save Plan',
'admin.enableEmailCampaigns': 'Email Campaigns',
'admin.emailCampaignsHelp': 'Send broadcast emails to your members from the Campaigns page.',
'admin.enableEmailReminders': 'Email Reminders',
'admin.emailRemindersHelp': 'Automatically email overdue members. Requires SMTP configured in .env.',
'admin.reminderSubject': 'Subject line',
'admin.reminderSubjectPlaceholder': 'Leave blank for default — e.g. Payment reminder from {{businessName}}',
'admin.reminderBody': 'Message body',
'admin.reminderBodyPlaceholder': 'Leave blank to use the default template. Use {{memberName}}, {{businessName}}, {{daysOverdue}}, {{hiveAccount}}.',
'admin.enableLightning': 'Accept Bitcoin Lightning as payment',
'admin.blHiveAccount': 'Hive Account Name:',
'admin.blCurrency': 'Currency:',
'admin.blReceiveCurrency': 'Receive Currency:',
'admin.blAppName': 'App Name:',
'admin.blExpiry': 'Expiry (seconds):',
'admin.blQrCode': 'QR Code:',
'admin.saveLightning': 'Save Bitcoin Lightning Payment Settings',
'admin.debugConsole': '🐛 API Debug Console',
'admin.saved': '✅ Saved',
'admin.savedExclaim': '✅ Saved!',
'admin.saving': '💾 Saving...',
'admin.unsavedChanges': 'Unsaved changes',
'admin.saveChanges': 'Save changes',
'admin.updateItem': 'Update Item',
'admin.saveDraftFail': 'Failed to save draft. Please check your connection and try again.',
'admin.deleteItemConfirm': 'Delete this item?',
'admin.imageUploadFail': 'Image upload failed.',
'admin.bannerUploadFail': 'Banner upload failed.',
'admin.editStore': 'Edit Store',
'admin.editStoreNamed': 'Edit Store: {name}',
'admin.createStore': 'Create New Store',
'admin.loadFail': 'Failed to load the admin interface. Please refresh the page and try again.',
'admin.backupConfig': 'Backup Configuration',
'admin.restoreConfig': 'Restore Configuration',
'admin.configRestored': 'Configuration restored! Reloading...',
'admin.configRestoreFail': 'Failed to restore configuration: {error}',
'admin.noAccount': 'No account set.',
'admin.republish': '🔄 Republish Changes',
'admin.publishNew': '🚀 Publish New Store',
'admin.nameRequired': 'Please set your business name before publishing your store.',
'admin.publishConfirm': 'Are you ready to {action} your store? This will make it accessible to customers.',
'admin.republishing': '🔄 Republishing...',
'admin.publishingNew': '🚀 Publishing New Store...',
'admin.publishing': '🚀 Publishing...',
'admin.publishSuccess': 'Store {action}ed successfully! 🎉',
'admin.publishFail': 'Failed to publish store. Please check your connection and try again.',
'admin.publishError': 'Error publishing store. Please try again.',
'admin.planRequired': 'Name, price, and duration are required.',
'admin.deletePlanConfirm': 'Delete this plan?',
'admin.apiSaved': 'API server URL saved. Reload the page for all pages to use the new server.',
'admin.lightningDisabled': 'Bitcoin Lightning payment disabled.',
'admin.blFieldsRequired': 'All fields are required.',
'admin.lightningSettingsSaved': 'Bitcoin Lightning payment settings saved!',
// ── Members page ─────────────────────────────────────────────────────
'members.title': 'Members',
'members.searchPlaceholder': 'Search name, phone, Hive account…',
'members.allStatuses': 'All statuses',
'members.addBtn': '+ Add Member',
'members.colMembership': 'Membership',
'members.colNextDue': 'Next Due',
'members.countLabel': 'Members ({n})',
'members.noMembers': 'No members found',
'members.addTitle': 'Add Member',
'members.editTitle': 'Edit Member',
'members.fullName': 'Full Name *',
'members.fullNamePlaceholder': 'e.g. John Smith',
'members.phonePlaceholder':'+1 555 0000',
'members.emailPlaceholder':'john@example.com',
'members.hivePlaceholder': 'hivename (no @)',
'members.plan': 'Membership Plan *',
'members.gender': 'Gender',
'members.genderUnspecified':'Prefer not to say',
'members.genderMale': 'Male',
'members.genderFemale': 'Female',
'members.genderOther': 'Other',
'members.ageGroup': 'Age Group',
'members.ageUnspecified': 'Prefer not to say',
'members.ageUnder18': 'Under 18',
'members.age18_25': '18 – 25',
'members.age26_35': '26 – 35',
'members.age36_45': '36 – 45',
'members.age46_55': '46 – 55',
'members.age56plus': '56 +',
'members.startDate': 'Start Date *',
'members.notesPlaceholder':'Optional notes…',
'members.saveBtn': 'Save',
'members.membershipDates': 'Membership Window',
'members.startDateLabel': 'Start Date',
'members.expirationLabel': 'Expiration / Next Due',
'members.datesEditHint': 'Setting a future expiration will reactivate the member.',
'members.payBtn': 'Pay',
'members.historyBtn': 'History',
'members.delBtn': 'Del',
'members.recordPayment': 'Record Payment — {name}',
'members.tabCash': 'Cash',
'members.tabHbd': 'HBD (Hive)',
'members.paymentDate': 'Payment Date',
'members.notesOptional': 'Optional',
'members.recordCash': 'Record Cash Payment',
'members.paymentMethod': 'Payment Method',
'members.paymentNotes': 'Payment Notes',
'members.paymentNotesRequired': 'Please add a note describing the payment method.',
'members.recordPaymentBtn':'Record Payment',
'pay.method_cash': 'Cash',
'pay.method_hbd': 'HBD (Hive)',
'pay.method_bank_transfer':'Bank Transfer',
'pay.method_card': 'Credit / Debit Card',
'pay.method_check': 'Check',
'pay.method_other': 'Other',
'pay.method_lightning': 'Bitcoin Lightning',
'pay.method_hive': 'HIVE',
'pay.notesPlaceholder': 'e.g. transferred via SINPE, last 4 digits 1234…',
'members.hbdExplain': 'A QR code will be generated for the customer to scan with their Hive wallet. Payment is confirmed automatically.',
'members.amountHbd': 'Amount ($)',
'members.generateQr': 'Generate QR Code',
'members.payHistory': 'Payment History — {name}',
'members.colDate': 'Date',
'members.colMethod': 'Method',
'members.colPeriod': 'Period',
'members.colBy': 'By',
'members.noPayments': 'No payments recorded yet',
'members.noPlanConfig': 'No plans configured',
'members.requiredFields': 'Name and plan are required',
'members.awaitingPayment': 'Awaiting payment',
'members.status_pending': 'Pending',
'members.status_active': 'Active',
'members.status_overdue': 'Overdue',
'members.status_suspended': 'Suspended',
'members.status_expired': 'Expired',
'members.memberUpdated': 'Member updated',
'members.memberAdded': 'Member added',
'members.memberDeleted': 'Member deleted',
'members.deleteFailed': 'Delete failed',
'members.deleteConfirm': 'Delete member "{name}"? All payment history will also be deleted.',
'members.paymentRecorded': 'Payment recorded',
'members.paymentError': 'Error recording payment',
'members.enterAmount': 'Enter a valid amount',
'members.enterHbdAmount': 'Enter a valid HBD amount (min 0.01)',
'members.noHiveConfig': 'No Hive account configured. Set it in Settings.',
'members.waitingPayment': '⏳ Waiting for payment…',
'members.paymentTimeout': 'Timeout. Check manually.',
'members.hbdRecorded': 'HBD payment recorded',
'members.hbdChainSaveFail':'Payment confirmed on chain but failed to save. Record manually.',
'members.saveMemberFail': 'Error saving member',
'members.errorSaveMember': 'Error saving member',
// ── POS page ──────────────────────────────────────────────────────────
'pos.title': 'Point of Sale',
'pos.cartTitle': 'Cart',
'pos.total': 'Total: ${amount}',
'pos.payCash': 'Cash',
'pos.payHbd': 'HBD',
'pos.payBtc': 'Lightning',
'pos.payCard': 'Card',
'pos.payBankTransfer': 'Bank Transfer',
'pos.payCheck': 'Check',
'pos.payOther': 'Other',
'pos.paymentNotesLabel': 'Payment Notes',
'pos.paymentNotesRequired':'Please describe the payment method.',
'pos.confirmExternalPayment': 'Confirm payment received via {method}?',
'pos.cashGiven': 'Cash Given:',
'pos.changeDue': 'Change Due: ${amount}',
'pos.notEnoughCash': 'Not enough cash given.',
'pos.finishSale': 'Finish Sale',
'pos.transferNote': 'Reference / Note (optional)',
'pos.transferNotePlaceholder': 'e.g. last 4 digits, ref #...',
'pos.transferProof': 'Transfer Proof Photo (optional)',
'pos.attachPhoto': 'Attach Photo',
'pos.amountReceived': 'Amount Received (optional)',
'pos.amountReceivedPlaceholder': 'e.g. 30.00',
'pos.tipLabel': 'Tip',
'pos.tipAmount': 'Tip: ${amount}',
'pos.tipBreakdown': 'Bill: ${bill} + Tip: ${tip} = ${total}',
'pos.tipNone': 'No tip',
'pos.tipCustom': 'Custom amount...',
'pos.processing': 'Processing...',
'pos.saveReceipt': 'Save Receipt',
'pos.printReceipt': 'Print Receipt',
'pos.saleComplete': 'Sale complete',
'pos.all': 'All',
'pos.price': 'Price: ${price}',
'pos.noHiveAccount': 'No Hive account set for receiving payments.',
'pos.cartEmpty': 'Cart is empty.',
'pos.clearCartConfirm': 'Clear all items from the cart?',
'pos.loadConfigFail': 'Failed to load config: {error}',
'pos.lightningMin': 'Minimum amount for Bitcoin Lightning is $0.25 USD.',
'pos.lightningMissing': 'Bitcoin Lightning config missing.',
'pos.scanToPay': 'Scan to Pay with Hive Keychain',
'pos.to': 'To:',
'pos.waitingPayment': '⏳ Waiting for payment…',
'pos.paymentReceived': '✅ Payment received!',
'pos.paymentError': 'Error checking payment.',
'pos.paymentTimeout': 'Payment not detected. Please check manually.',
'pos.requestingInvoice': 'Requesting invoice…',
'pos.noInvoice': 'No invoice received.',
'pos.lightningWaiting': '⏳ Waiting for Bitcoin Lightning payment confirmation…',
'pos.lightningReceived': '✅ Bitcoin Lightning payment received!',
'pos.lightningConfirmed': 'Bitcoin Lightning Payment Confirmed!',
'pos.qrLibMissing': 'QR code library not loaded.',
'pos.lightningReceiving': 'Receiving: @{account}',
// ── Quick Sale page ──────────────────────────────────────────────────
'quicksale.title': 'Quick Sales',
'quicksale.subtitle': 'Generate QR Payments quickly - Powered by Distriator',
'quicksale.accountLabel': 'Receiving Hive Account',
'quicksale.accountPlaceholder': 'e.g. myshop.hive',
'quicksale.current': 'Current: {account}',
'quicksale.updateBtn': 'Update',
'quicksale.amountLabel': 'Amount ($)',
'quicksale.generateBtn': 'Generate QR',
'quicksale.recentTitle': 'Recent Incoming Payments',
'quicksale.setAccount': 'Set a receiving account to view recent payments.',
'quicksale.loadingPayments': 'Loading recent payments…',
'quicksale.noRecent': 'No recent incoming payments found.',
'quicksale.loadFail': 'Failed to load recent payments.',
'quicksale.enterAccount': 'Please enter a Hive account.',
'quicksale.noAccount': 'No receiving account set.',
'quicksale.enterAmount': 'Enter a valid amount.',
'quicksale.waitingPayment':'⏳ Waiting for payment…',
'quicksale.paymentReceived':'✅ Payment received!',
'quicksale.paymentError': 'Error checking payment.',
'quicksale.paymentTimeout':'Payment not detected. Please check manually.',
'quicksale.paymentConfirmed': 'Payment confirmed!',
// ── Review Receipts page ─────────────────────────────────────────────
'receipts.title': 'Review Receipt',
'receipts.loadLabel': 'Load Receipt JSON:',
'receipts.printBtn': 'Print Receipt',
'receipts.invalidJson': 'Invalid JSON file.',
'receipts.colDate': 'Date:',
'receipts.colType': 'Payment Type:',
'receipts.colItem': 'Item',
'receipts.colQty': 'Qty',
'receipts.colPrice': 'Price',
'receipts.colSubtotal': 'Subtotal',
'receipts.totalPaid': 'Total Paid: ${amount}',
// ── Sales Reports page ────────────────────────────────────────────
// ── Tax ──────────────────────────────────────────────────────────────
'tax.enableTax': 'Enable Sales Tax',
'tax.taxName': 'Tax Name',
'tax.taxNamePlaceholder': 'e.g. IVA, Sales Tax, VAT',
'tax.taxRate': 'Rate (%)',
'tax.inclusive': 'Tax-inclusive pricing',
'tax.inclusiveHelp': 'Prices already include tax — receipt shows how much of the total is tax.',
'tax.exclusiveHelp': 'Tax is added on top of prices at checkout.',
'tax.subtotal': 'Subtotal',
'tax.taxLine': '{name} ({rate}%)',
'tax.includesLine': 'Includes {name} ({rate}%)',
'tax.saved': 'Tax settings saved.',
'tax.saveError': 'Failed to save tax settings.',
// ── Sales Reports page ────────────────────────────────────────────
'sales.pageTitle': 'Sales Reports',
'sales.back': '← Back',
'sales.filterFrom': 'From',
'sales.filterTo': 'To',
'sales.filterPayment': 'Payment',
'sales.apply': 'Apply',
'sales.today': 'Today',
'sales.thisMonth': 'This Month',
'sales.totalRevenue': 'Total Revenue',
'sales.transactions': 'Transactions',
'sales.avgSale': 'Avg Sale',
'sales.colDate': 'Date & Time',
'sales.colMethod': 'Method',
'sales.colItems': 'Items',
'sales.colFrom': 'From',
'sales.colTotal': 'Total',
'sales.noSales': 'No sales found for this period.',
'sales.selectRange': 'Select a date range and press Apply.',
'sales.loadFailed': 'Failed to load sales.',
'sales.loading': 'Loading…',
'sales.loginRequired': 'No admin token found. Please log in first.',
'sales.resultsCapped': 'Showing first 500 of ${total} results. Narrow your date range for complete filtering.',
'sales.duesItem': 'Membership Dues',
'sales.cashier': 'Cashier',
'sales.allMethods': 'All methods',
// ── Reports ─────────────────────────────────────────────────────────
'reports.pageTitle': 'Analytics & Reports',
'reports.back': '← Back',
'reports.today': 'Today',
'reports.thisWeek': 'This Week',
'reports.thisMonth': 'This Month',
'reports.last30': 'Last 30 Days',
'reports.apply': 'Apply',
'reports.totalRevenue': 'Total Revenue',
'reports.posSales': 'POS Sales',
'reports.duesRevenue': 'Membership Dues',
'reports.totalIncome': 'Total Income',
'reports.transactions': 'Transactions',
'reports.avgSale': 'Avg. Sale',
'reports.taxCollected': 'Tax Collected',
'reports.revenueOverTime': 'Revenue Over Time',
'reports.topItems': 'Top Selling Items',
'reports.byCategory': 'Sales by Category',
'reports.paymentSplit': 'Payment Methods',
'reports.byHour': 'Sales by Hour',
'reports.byWeekday': 'Sales by Day of Week',
'reports.cashiersTitle': 'Performance by Cashier',
'reports.membersSection': 'Membership Overview',
'reports.activeMembers': 'Active',
'reports.overdueMembers': 'Overdue',
'reports.membersOverTime': 'Members Over Time',
'reports.membersByType': 'Members by Plan',
'reports.passAnalytics': 'Pass Analytics',
'reports.totalPasses': 'Passes Sold',
'reports.converted': 'Converted to Members',
'reports.conversionRate': 'Conversion Rate',
'reports.colItem': 'Item',
'reports.colCategory': 'Category',
'reports.colQty': 'Qty',
'reports.colRevenue': 'Revenue',
'reports.colCashier': 'Cashier',
'reports.colSales': 'Sales',
'reports.noData': 'No data for this period.',
'reports.loadError': 'Failed to load report data.',
'reports.navLink': '📊 Reports',
'hotel.navLink': '🏨 Hotel',
'closeout.navLink': '📋 Cierre de Caja',
'closeout.posLink': '📋 Cierre',
// ── Inventory ────────────────────────────────────────────────────────
'inventory.navLink': '📦 Inventory',
'inventory.title': 'Inventory',
'inventory.tabStock': 'Stock Levels',
'inventory.tabMenuStock': 'Menu Stock',
'inventory.tabPurchases': 'Purchases',
'inventory.tabAdjust': 'Adjustments',
'inventory.tabReconcile': 'Reconcile',
'inventory.tabItems': 'Items',
'inventory.loading': 'Loading…',
'inventory.menuStockTitle': 'Menu Item Stock',
'inventory.menuStockHelp': 'Items with "Track stock" enabled. Tap a row to adjust after a physical count or restock.',
'inventory.noMenuStock': 'No menu items have stock tracking enabled. Enable it in the Products tab of admin.',
'inventory.adjustMenuStockHelp': 'Set the new stock count (e.g. after a physical count or restock).',
'inventory.stockAdjusted': 'Stock updated.',
'admin.trackStock': 'Track stock',
'admin.trackStockHelp': 'Stock goes down by 1 unit each time this item is sold.',
'admin.stockQty': 'Current stock (units)',
'pos.stockLeft': 'left',
'pos.outOfStock': 'Out of stock',
'inventory.noItems': 'No items yet.',
'inventory.noEntries': 'No entries yet.',
'inventory.noHistory': 'No reconciliations yet.',
'inventory.noItemsForCount': 'No active items. Add items in the Items tab first.',
'inventory.errorLoad': 'Error loading data.',
'inventory.errorSave': 'Error saving. Please try again.',
'inventory.item': 'Item',
'inventory.itemName': 'Name *',
'inventory.itemCatalog': 'Item Catalog',
'inventory.addItem': '+ Add Item',
'inventory.editItem': 'Edit Item',
'inventory.unit': 'Unit',
'inventory.category': 'Category',
'inventory.reorderPoint': 'Reorder Alert',
'inventory.reorderAt': 'alert at',
'inventory.qty': 'Quantity',
'inventory.adjustQty': 'Qty (negative = loss)',
'inventory.unitCost': 'Unit Cost',
'inventory.supplier': 'Supplier',
'inventory.date': 'Date',
'inventory.notes': 'Notes',
'inventory.reason': 'Reason',
'inventory.reasonSpoilage': 'Spoilage',
'inventory.reasonTheft': 'Theft',
'inventory.reasonRecount': 'Recount',
'inventory.reasonOther': 'Other',
'inventory.logPurchase': 'Log Purchase',
'inventory.logPurchaseBtn': 'Log Purchase',
'inventory.recentPurchases': 'Recent Purchases',
'inventory.logAdjustment': 'Log Adjustment',
'inventory.logAdjustmentBtn': 'Log Adjustment',
'inventory.recentAdjustments':'Recent Adjustments',
'inventory.type_opening': 'Opening',
'inventory.type_purchase': 'Purchase',
'inventory.type_adjustment': 'Adjustment',
'inventory.newCount': 'New Stock Count',
'inventory.periodStart': 'Period Start',
'inventory.periodEnd': 'Period End',
'inventory.expected': 'Expected',
'inventory.actual': 'Actual Count',
'inventory.variance': 'Variance',
'inventory.saveDraft': 'Save Draft',
'inventory.saveComplete': 'Complete & Lock',
'inventory.countHistory': 'Count History',
'inventory.variances': 'variances',
'inventory.noLines': 'No lines recorded.',
'inventory.status_draft': 'Draft',
'inventory.status_completed': 'Completed',
'inventory.selectPeriod': 'Please select a period start and end date.',
'inventory.selectItem': 'Please select an item.',
'inventory.qtyPositive': 'Quantity must be greater than zero.',
'inventory.qtyNonZero': 'Quantity cannot be zero.',
'inventory.nameRequired': 'Item name is required.',
'inventory.confirmDelete': 'Deactivate this item? Existing movements will be kept.',
'inventory.lowStockAlert': '{n} item(s) below reorder point: {items}',
'inventory.toastPurchaseSaved': 'Purchase logged.',
'inventory.toastAdjustmentSaved': 'Adjustment logged.',
'inventory.toastDraftSaved': 'Draft saved.',
'inventory.toastCountCompleted': 'Stock count completed and locked.',
'inventory.toastItemCreated': 'Item created.',
'inventory.toastItemUpdated': 'Item updated.',
'inventory.toastItemDeleted': 'Item deactivated.',
// ── Closeout (End-of-Day) ────────────────────────────────────────────
'closeout.title': 'End-of-Day Closeout',
'closeout.date': 'Business Date',
'closeout.sectionSales': 'Sales Summary',
'closeout.totalSales': 'Total Sales',
'closeout.transfers': 'Bank / Transfer Sales',
'closeout.cashSales': 'Cash from Sales',
'closeout.includesDues': ' ↳ incl. membership dues',
'closeout.includesDuesNote': 'Includes ${amount} in membership dues collected today',
'closeout.sectionShifts': 'Shifts & Tips',
'closeout.addPerson': '+ Add person',
'closeout.staffName': 'Name',
'closeout.tipCash': 'Cash Tips',
'closeout.tipTransfer': 'Transfer Tips',
'closeout.sectionDeductions': 'Deductions',
'closeout.addCustomDeduction': '+ Custom deduction',
'closeout.deductionLabel': 'Label',
'closeout.deductionAmount': 'Amount',
'closeout.deductionNote': 'Note (optional)',
'closeout.sectionTotals': 'Summary',
'closeout.totalTipsCash': 'Total Cash Tips',
'closeout.totalTipsTransfer': 'Total Transfer Tips',
'closeout.totalDeductions': 'Total Deductions',
'closeout.cashDelivered': 'Cash to Hand Over',
'closeout.bankTotal': 'Total to Bank',
'closeout.cashCounted': 'Actual Cash Counted',
'closeout.cashVarianceLabel': 'Cash Variance',
'closeout.varianceNoteLabel': 'Explain the discrepancy',
'closeout.varianceNotePlaceholder': 'Why is the drawer over or short?',
'closeout.cashCountRequired': 'Count the cash drawer before submitting.',
'closeout.varianceNoteRequired': 'Add a note explaining the cash variance before submitting.',
'closeout.sectionNotes': 'Notes',
'closeout.saveDraft': '💾 Save Draft',
'closeout.submit': '✅ Submit Closeout',
'closeout.submitConfirm': 'Submit this closeout for owner review?',
'closeout.submitted': '✅ Submitted — awaiting owner review',
'closeout.statusDraft': 'Draft',
'closeout.statusSubmitted': 'Submitted',
'closeout.statusReviewed': 'Reviewed',
'closeout.historyTitle': 'Closeout History',
'closeout.colDate': 'Date',
'closeout.colSubmittedBy': 'Submitted By',
'closeout.colCash': 'Cash Delivered',
'closeout.colBank': 'Bank Total',
'closeout.colStatus': 'Status',
'closeout.noHistory': 'No closeouts recorded yet.',
'closeout.markReviewed': '✓ Mark Reviewed',
'closeout.reviewComment': 'Owner comment',
'closeout.reviewCommentPlaceholder': 'Add a review comment (optional)…',
'closeout.reviewedBy': 'Reviewed by {name} on {date}',
'closeout.loadFail': 'Failed to load closeout data.',
'closeout.saveFail': 'Failed to save closeout.',
'closeout.submitFail': 'Failed to submit closeout.',
'closeout.reviewFail': 'Failed to mark as reviewed.',
'closeout.featureOff': 'Closeout is not enabled for this store.',
'closeout.readOnly': 'This closeout has been reviewed and is read-only.',
'closeout.duplicateDate': 'A closeout for this date already exists.',
'closeout.loading': 'Loading sales data…',
'closeout.noShiftsConfigured': 'No shifts configured. Add shifts in Admin → Closeout settings.',
'closeout.pendingReview': '⏳ Pending Your Approval',
'closeout.reviewInstructions': 'Review the figures above, add a note if needed, then approve.',
'closeout.approve': '✅ Approve & Archive',
'closeout.approveConfirm': 'Approve and archive this closeout? This cannot be undone.',
'closeout.pendingBadge': '{n} awaiting approval',
'closeout.reportTitle': '📊 Period Report',
'closeout.rangeThisWeek': 'This Week',
'closeout.rangeThisMonth': 'This Month',
'closeout.rangeLastMonth': 'Last Month',
'closeout.rangeCustom': 'Custom',
'closeout.reportCierres': 'Cierres',
'closeout.reportTotalSales': 'Total Sales',
'closeout.reportCashSales': 'Cash Sales',
'closeout.reportTransfers': 'Transfer Sales',
'closeout.reportCashDelivered': 'Cash Delivered',
'closeout.reportBankTotal': 'Bank Total',
'closeout.reportTipsCash': 'Cash Tips',
'closeout.reportTipsTransfer': 'Transfer Tips',
'closeout.reportDeductions': 'Deductions',
'closeout.reportVariance': 'Cash Variance',
'closeout.reportEmpty': 'No submitted cierres in this period.',
'pos.shareReceipt': '📤 Share Receipt',
'pos.receiptCopied': 'Receipt copied to clipboard',
'admin.enableInventory': 'Inventory Management',
'admin.inventoryHelp': 'Track stock purchases and run periodic reconciliations to spot shrinkage.',
'admin.enableCloseout': 'End-of-Day Closeout (Cierre de Caja)',
'admin.closeoutHelp': 'Daily cash reconciliation form — replaces the paper cierre de caja.',
'admin.closeoutTips': 'Enable tips tracking',
'admin.closeoutTipsHelp': 'Cashiers record cash and transfer tips per staff member per shift.',
'admin.closeoutShifts': 'Shifts',
'admin.addShift': '+ Add Shift',
'admin.shiftLabel': 'Shift name',
'admin.noShifts': 'No shifts yet. Add one below.',
'admin.closeoutStaff': 'Staff Roster',
'admin.addStaff': '+ Add Staff Member',
'admin.staffName': 'Name',
'admin.staffShifts': 'Default Shifts',
'admin.noStaff': 'No staff added yet.',
'admin.closeoutDeductions': 'Deduction Categories',
'admin.addDeduction': '+ Add Category',
'admin.deductionLabel': 'Label',
'admin.noDeductions': 'No deduction categories yet.',
// ── Passes ──────────────────────────────────────────────────────────
'pass.isPassLabel': 'Day/Week Pass (sold at POS)',
'pass.badge': 'PASS',
'pass.section': 'Passes',
'pass.contactTitle': 'Pass Holder Info',
'pass.nameLabel': 'Name *',
'pass.namePlaceholder': 'Full name',
'pass.emailPlaceholder': 'Email (optional)',
'pass.phonePlaceholder': 'Phone (optional)',
'pass.addToCart': 'Add to Cart',
'pass.convertBtn': 'Convert to Member',
'pass.filterAll': 'All',
'pass.filterMembers': 'Members only',
'pass.filterPasses': 'Passes only',
'pass.registered': 'Pass holder registered!',
'pass.registerError': 'Could not register pass holder.',
'pass.convertTitle': 'Convert Pass to Membership',
'campaigns.title': 'Email Campaigns',
'campaigns.newBtn': '+ New Campaign',
'campaigns.tabComposer': 'Composer',
'campaigns.tabHistory': 'History',
'campaigns.tabTemplates': 'Templates',
'campaigns.recipientsTitle':'Recipients',
'campaigns.filterStatus': 'Member status',
'campaigns.filterType': 'Membership type',
'campaigns.allStatuses': 'All statuses',
'campaigns.allTypes': 'All plans',
'campaigns.passesOnly': 'Passes only',
'campaigns.willReceive': 'This will send to {n} members.',
'campaigns.skippedNoEmail':'{n} members have no email and will be skipped.',
'campaigns.skippedOptOut': '{n} opted out and will be excluded.',
'campaigns.noEmail': 'No email recipients match the current filters.',
'campaigns.composeTitle': 'Compose',
'campaigns.insertTokens': 'Insert:',
'campaigns.tokenName': 'First Name',
'campaigns.tokenMembership':'Membership Type',
'campaigns.tokenDueDate': 'Due Date',
'campaigns.tokenStoreName':'Store Name',
'campaigns.subjectLabel': 'Subject *',
'campaigns.subjectPlaceholder':'e.g. Your membership renewal is coming up…',
'campaigns.previewTextLabel':'Preview text (optional)',
'campaigns.previewTextPlaceholder':'Short text shown in inbox before opening…',
'campaigns.bodyLabel': 'Message body *',
'campaigns.previewBtn': 'Preview',
'campaigns.sendBtn': 'Send Campaign',
'campaigns.sending': 'Sending…',
'campaigns.confirmSend': 'Send to {n} members? This cannot be undone.',
'campaigns.sent': 'Campaign sent! {n} emails delivered.',
'campaigns.sendError': 'Send failed: {err}',
'campaigns.smtpRequired': 'Email (SMTP) is not configured on this server. Add EMAIL_HOST, EMAIL_USER, EMAIL_PASS to your .env.',
'campaigns.loadTemplateBtn':'Load Template',
'campaigns.saveTemplateBtn':'Save as Template',
'campaigns.templateNameLabel':'Template name',
'campaigns.templateNamePlaceholder':'e.g. Monthly Promo',
'campaigns.saveTemplateConfirm':'Save',
'campaigns.templateSaved': 'Template saved.',
'campaigns.templateLoaded':'Template loaded.',
'campaigns.noTemplates': 'No saved templates yet.',
'campaigns.deleteTemplate':'Delete',
'campaigns.loadTemplate': 'Load',
'campaigns.historyTitle': 'Campaign History',
'campaigns.noHistory': 'No campaigns sent yet.',
'campaigns.historyDate': 'Date',
'campaigns.historySubject':'Subject',
'campaigns.historySent': 'Sent',
'campaigns.historyBy': 'By',
'campaigns.previewTitle': 'Email Preview',
'campaigns.closePreview': 'Close Preview',
'campaigns.navLink': '📧 Campaigns',
'campaigns.featureOff': 'Email Campaigns are disabled for this store. Enable them in Settings.',
'export.csvBtn': '⬇ Export CSV',
'export.pdfBtn': '⬇ Export PDF',
'export.ownerEmail': 'Owner Email (for monthly backup)',
'export.ownerEmailPlaceholder': 'your@email.com',
'export.backupToggle': 'Send monthly member list backup by email',
'export.backupHelp': 'A CSV of your member list will be emailed on the 1st of each month. Requires SMTP configured in .env.',
// ── Restaurant / Tables / Kitchen ────────────────────────────────────
'pos.tablesBtn': '🪑 Tables',
'pos.saveTab': '💾 Save Tab',
'pos.backToTables': '🪑 Tables',
'pos.selectTable': 'Select Table',
'pos.selectTableHelp': 'Tap a table to open or resume its tab.',
'pos.quickSale': '⚡ Quick Sale (No Table)',
'pos.noTablesConfigured': 'No tables configured. Add tables in the Admin → Tables section.',
'pos.addItemsFirst': 'Add items before saving the tab.',
'pos.saveTabError': 'Could not save tab: {error}',
'pos.tableAvailable': 'Available',
'pos.tableItems': '{n} item',
'pos.tableItemsPlural': '{n} items',
'admin.restaurantFeatures':'🍽️ Restaurant Features',
'admin.enableTabs': 'Open Tabs & Table Management',
'admin.tabsHelp': 'Cashiers assign orders to tables, save tabs, and close them when the customer pays.',
'admin.tablesTitle': 'Tables',
'admin.addTable': '+ Add Table',
'admin.tableLabelField': 'Label *',
'admin.tableLabelPlaceholder': 'e.g. Table 1',
'admin.noTables': 'No tables yet. Click + Add Table to create one.',
'admin.tableActive': 'Active',
'admin.tableInactive': 'Inactive',
'admin.deleteTableConfirm':'Delete this table?',
'admin.tableLabelRequired':'Label is required.',
'admin.enableKitchen': 'Kitchen Display',
'admin.kitchenHelp': 'A PIN-protected screen shows open orders in the kitchen.',
'admin.kitchenPinLabel': 'Kitchen PIN',
'admin.kitchenPinHelp': '(4–10 digits, leave blank to keep current)',
'admin.setPin': 'Set PIN',
'admin.pinRequired': 'Enter a PIN first.',
'admin.pinDigitsOnly': '4–10 digits only.',
'admin.pinSaveError': 'Error saving PIN.',
'admin.pinSaved': '✓ PIN saved',
'admin.kitchenUrlLabel': 'Kitchen URL:',
'admin.copyUrl': 'Copy URL',
'admin.kitchenUrlCopied': 'Kitchen URL copied!',
'admin.openKitchen': 'Open Kitchen Display →',
'kitchen.title': '🍳 Kitchen Display',
'kitchen.apiBaseLabel': 'API Base URL',
'kitchen.storeIdLabel': 'Store ID',
'kitchen.storeIdPlaceholder': 'Paste your Store ID',
'kitchen.pinLabel': 'Kitchen PIN',
'kitchen.enterBtn': 'Enter Kitchen',
'kitchen.allRequired': 'All fields are required.',
'kitchen.connectError': 'Could not connect to server.',
'kitchen.sessionExpired': 'Session expired. Please sign in again.',
'kitchen.signOut': 'Sign Out',
'kitchen.noOrders': 'No open orders right now. 🎉',
'kitchen.updated': 'Updated {time}',
'kitchen.connectionError': 'Connection error — retrying…',
'kitchen.markReady': 'Mark Ready',
'kitchen.ready': '✓ Ready',
'kitchen.invalidPin': 'Invalid PIN',
'kitchen.counter': 'Counter',
'kitchen.tablePrefix': 'Table',
'kitchen.lessThanMin': '< 1 min',
'kitchen.mins': '{n} min',
'kitchen.rememberPin': 'Remember PIN on this device',
'kitchen.useDifferentPin': 'Use a different PIN',
// ── Payment plugin labels ─────────────────────────────────────────────
'plugin.hive.name': 'Hive / HBD',
'plugin.hive.desc': 'Accept HBD ($1 stable crypto) via QR code. Customers scan with any Hive wallet.',
'plugin.hive.accountLabel': 'Hive Account (receives payments)',
'plugin.hive.accountHelp': "This is your store's Hive account — also used for membership reminders.",
'plugin.stripe.name': 'Stripe Card Payments',
'plugin.stripe.desc': 'Accept credit and debit cards at the POS. Requires your own Stripe account (stripe.com).',
'plugin.stripe.pubKeyLabel': 'Publishable Key',
'plugin.stripe.secKeyLabel': 'Secret Key',
'plugin.stripe.secKeyHelp': 'Stored securely on the server — never sent to the browser.',
'plugin.lightning.name': 'Bitcoin Lightning',
'plugin.lightning.desc': 'Accept BTC via Lightning Network using the v4v.app API.',
'plugin.lightning.accountLabel': 'Hive Account (for v4v.app)',
'plugin.lightning.currencyLabel': 'Receive payments as',
'plugin.bankTransfer.name': 'Bank / Wire Transfer',
'plugin.bankTransfer.desc': 'Show transfer instructions to customers at checkout. Works for any country — wire, SEPA, Pago Móvil, etc.',
'plugin.bankTransfer.instrLabel': 'Transfer Instructions',
'plugin.bankTransfer.instrHelp': 'Shown to the cashier and customer when Bank Transfer is selected at checkout.',
'plugin.bankTransfer.imageLabel': 'QR Code / Account Image (optional)',
'plugin.bankTransfer.imageHelp': 'Upload a QR code, payment app image, or formatted account card.',
'admin.upload': 'Upload',
// ── Appearance / theme ────────────────────────────────────────────────
'admin.appearance': '🎨 Appearance',
'admin.appearanceHelp': "Choose a color theme for your store's POS and management pages.",
'admin.customThemeHelp': 'Pick your own colors. Text colors adjust automatically.',
'admin.customBgLabel': 'Page Background',
'admin.customSurfaceLabel': 'Card / Panel',
'admin.customInkLabel': 'Primary Button',
'admin.customAccentLabel': 'Accent Color',
'theme.artisan': 'Artisan',
'theme.midnight': 'Midnight',
'theme.ocean': 'Ocean',
'theme.forest': 'Forest',
'theme.slate': 'Slate',
'theme.blush': 'Blush',
'theme.espresso': 'Espresso',
'theme.custom': 'Custom',
// ── Hive plugin ──────────────────────────────────────────────────────
'admin.enableHive': 'Hive / HBD Payments',
'admin.hiveHelp': 'Accept HBD (stable $1 crypto) at the POS via QR code. Customers scan with any Hive wallet.',
'admin.enableStripe': 'Stripe Card Payments',
'admin.stripeHelp': 'Accept credit and debit cards at the POS. Requires your own Stripe account.',
'admin.stripePublishableKey': 'Publishable Key (pk_live_…)',
'admin.stripeSecretKey': 'Secret Key (sk_live_…)',
'admin.stripeSecretHelp': 'Stored securely on the server — never shown to customers or cashiers.',
'pos.stripeModalTitle': 'Pay by Card',
'pos.stripeModalTotal': 'Total',
'pos.stripeCharge': 'Charge',
'pos.stripeProcessing': 'Processing…',
'pos.stripeError': 'Card payment failed. Please try again.',
// ── Void tab ──────────────────────────────────────────────────────────
'pos.voidTab': 'Void Tab',
'pos.voidTabConfirm': 'Void this tab? This cannot be undone.',
'pos.voidTabUnsaved': 'Discard this tab?',
'pos.voidTabError': 'Could not void tab: {error}',
'pos.voidTileConfirm': 'Void tab for {label}?',
// ── Item notes ────────────────────────────────────────────────────────