@moshevents/copy 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/copy.d.ts +78 -0
- package/lib/copy.js +54 -0
- package/package.json +1 -1
package/lib/copy.d.ts
CHANGED
|
@@ -38,6 +38,84 @@ export declare const copy: {
|
|
|
38
38
|
m: string | number;
|
|
39
39
|
}) => string;
|
|
40
40
|
readonly doorHint: "Show this at the door";
|
|
41
|
+
readonly selectTickets: "Select tickets";
|
|
42
|
+
readonly confirmed: "Confirmed";
|
|
43
|
+
readonly continueCta: "Continue";
|
|
44
|
+
readonly payWith: "Pay with";
|
|
45
|
+
readonly securedByStripe: "Secured by Stripe";
|
|
46
|
+
readonly bookingFees: "Booking fees";
|
|
47
|
+
readonly transferNote: "No booking fees. Tickets are transferable until doors open.";
|
|
48
|
+
readonly viewMyTicket: "View my ticket";
|
|
49
|
+
readonly confirmedCopy: "Your ticket lives in My QR — scan it at the door. We emailed a copy too.";
|
|
50
|
+
readonly ticketCount: (p: {
|
|
51
|
+
count: number;
|
|
52
|
+
}) => string;
|
|
53
|
+
readonly paidLabel: "Paid";
|
|
54
|
+
readonly orderNumber: (p: {
|
|
55
|
+
number: string | number;
|
|
56
|
+
}) => string;
|
|
57
|
+
readonly qtyTier: (p: {
|
|
58
|
+
count: string | number;
|
|
59
|
+
tier: string | number;
|
|
60
|
+
}) => string;
|
|
61
|
+
};
|
|
62
|
+
readonly eventPage: {
|
|
63
|
+
readonly hostedBy: "Hosted by";
|
|
64
|
+
readonly featuringLabel: "Featuring";
|
|
65
|
+
readonly getTicketsSub: (p: {
|
|
66
|
+
price: string | number;
|
|
67
|
+
}) => string;
|
|
68
|
+
readonly youreGoingCheck: "You're going ✓";
|
|
69
|
+
readonly rsvpCta: "RSVP";
|
|
70
|
+
readonly freeEntry: "Free entry";
|
|
71
|
+
readonly goingCheck: "Going ✓";
|
|
72
|
+
readonly onTheList: "You're on the list";
|
|
73
|
+
readonly rsvpReassurance: "RSVP so the host can plan";
|
|
74
|
+
readonly goingRowSolo: "You're going";
|
|
75
|
+
readonly goingRowOthers: (p: {
|
|
76
|
+
count: string | number;
|
|
77
|
+
}) => string;
|
|
78
|
+
readonly goingRowNamedOnly: (p: {
|
|
79
|
+
names: string | number;
|
|
80
|
+
}) => string;
|
|
81
|
+
readonly goingRowNamed: (p: {
|
|
82
|
+
names: string | number;
|
|
83
|
+
count: string | number;
|
|
84
|
+
}) => string;
|
|
85
|
+
readonly goingCount: (p: {
|
|
86
|
+
count: string | number;
|
|
87
|
+
}) => string;
|
|
88
|
+
readonly wentCount: (p: {
|
|
89
|
+
count: string | number;
|
|
90
|
+
}) => string;
|
|
91
|
+
readonly invite: "+ Invite";
|
|
92
|
+
readonly conversationTab: "Conversation";
|
|
93
|
+
readonly galleryTab: "Gallery";
|
|
94
|
+
readonly composerPlaceholder: "Say something to everyone going…";
|
|
95
|
+
readonly gateLine: "Only people going can post.";
|
|
96
|
+
readonly gateActionTicket: "Get a ticket →";
|
|
97
|
+
readonly gateActionRsvp: "RSVP →";
|
|
98
|
+
readonly lockedLine: "The conversation is for people going.";
|
|
99
|
+
readonly unlockTicket: "Get a ticket to join.";
|
|
100
|
+
readonly unlockRsvp: "RSVP to join.";
|
|
101
|
+
readonly reply: "Reply";
|
|
102
|
+
readonly isGoingSystem: (p: {
|
|
103
|
+
name: string | number;
|
|
104
|
+
}) => string;
|
|
105
|
+
readonly hostLabel: "Host";
|
|
106
|
+
readonly editEvent: "Edit event";
|
|
107
|
+
readonly addToList: "Add to list";
|
|
108
|
+
readonly scanAtDoor: "Scan at door";
|
|
109
|
+
readonly soldCount: (p: {
|
|
110
|
+
sold: string | number;
|
|
111
|
+
capacity: string | number;
|
|
112
|
+
}) => string;
|
|
113
|
+
readonly soldCountNoCap: (p: {
|
|
114
|
+
sold: string | number;
|
|
115
|
+
}) => string;
|
|
116
|
+
readonly rsvpCount: (p: {
|
|
117
|
+
count: string | number;
|
|
118
|
+
}) => string;
|
|
41
119
|
};
|
|
42
120
|
readonly ticketsManage: {
|
|
43
121
|
readonly title: "Tickets";
|
package/lib/copy.js
CHANGED
|
@@ -36,6 +36,60 @@ export const copy = {
|
|
|
36
36
|
yourTickets: (p) => `Your tickets (${p.count})`,
|
|
37
37
|
ticketNofM: (p) => `Ticket ${p.n} of ${p.m}`,
|
|
38
38
|
doorHint: "Show this at the door",
|
|
39
|
+
selectTickets: "Select tickets",
|
|
40
|
+
confirmed: "Confirmed",
|
|
41
|
+
continueCta: "Continue",
|
|
42
|
+
payWith: "Pay with",
|
|
43
|
+
securedByStripe: "Secured by Stripe",
|
|
44
|
+
bookingFees: "Booking fees",
|
|
45
|
+
transferNote: "No booking fees. Tickets are transferable until doors open.",
|
|
46
|
+
viewMyTicket: "View my ticket",
|
|
47
|
+
confirmedCopy: "Your ticket lives in My QR — scan it at the door. We emailed a copy too.",
|
|
48
|
+
ticketCount: (p) => {
|
|
49
|
+
const n = Number(p.count);
|
|
50
|
+
if (n === 1)
|
|
51
|
+
return `${p.count} ticket`;
|
|
52
|
+
return `${p.count} tickets`;
|
|
53
|
+
},
|
|
54
|
+
paidLabel: "Paid",
|
|
55
|
+
orderNumber: (p) => `Order ${p.number}`,
|
|
56
|
+
qtyTier: (p) => `${p.count} × ${p.tier}`,
|
|
57
|
+
},
|
|
58
|
+
eventPage: {
|
|
59
|
+
hostedBy: "Hosted by",
|
|
60
|
+
featuringLabel: "Featuring",
|
|
61
|
+
getTicketsSub: (p) => `Starting at ${p.price}`,
|
|
62
|
+
youreGoingCheck: "You're going ✓",
|
|
63
|
+
rsvpCta: "RSVP",
|
|
64
|
+
freeEntry: "Free entry",
|
|
65
|
+
goingCheck: "Going ✓",
|
|
66
|
+
onTheList: "You're on the list",
|
|
67
|
+
rsvpReassurance: "RSVP so the host can plan",
|
|
68
|
+
goingRowSolo: "You're going",
|
|
69
|
+
goingRowOthers: (p) => `You and ${p.count} others are going`,
|
|
70
|
+
goingRowNamedOnly: (p) => `You, ${p.names} are going`,
|
|
71
|
+
goingRowNamed: (p) => `You, ${p.names} and ${p.count} friends are going`,
|
|
72
|
+
goingCount: (p) => `${p.count} going`,
|
|
73
|
+
wentCount: (p) => `${p.count} went`,
|
|
74
|
+
invite: "+ Invite",
|
|
75
|
+
conversationTab: "Conversation",
|
|
76
|
+
galleryTab: "Gallery",
|
|
77
|
+
composerPlaceholder: "Say something to everyone going…",
|
|
78
|
+
gateLine: "Only people going can post.",
|
|
79
|
+
gateActionTicket: "Get a ticket →",
|
|
80
|
+
gateActionRsvp: "RSVP →",
|
|
81
|
+
lockedLine: "The conversation is for people going.",
|
|
82
|
+
unlockTicket: "Get a ticket to join.",
|
|
83
|
+
unlockRsvp: "RSVP to join.",
|
|
84
|
+
reply: "Reply",
|
|
85
|
+
isGoingSystem: (p) => `${p.name} is going`,
|
|
86
|
+
hostLabel: "Host",
|
|
87
|
+
editEvent: "Edit event",
|
|
88
|
+
addToList: "Add to list",
|
|
89
|
+
scanAtDoor: "Scan at door",
|
|
90
|
+
soldCount: (p) => `${p.sold} / ${p.capacity} sold`,
|
|
91
|
+
soldCountNoCap: (p) => `${p.sold} sold`,
|
|
92
|
+
rsvpCount: (p) => `${p.count} RSVPs`,
|
|
39
93
|
},
|
|
40
94
|
ticketsManage: {
|
|
41
95
|
title: "Tickets",
|
package/package.json
CHANGED