@moshevents/copy 0.6.0 → 0.7.1
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 +20 -12
- package/lib/copy.js +27 -8
- package/package.json +1 -1
package/lib/copy.d.ts
CHANGED
|
@@ -70,7 +70,6 @@ export declare const copy: {
|
|
|
70
70
|
readonly freeEntry: "Free entry";
|
|
71
71
|
readonly goingCheck: "Going ✓";
|
|
72
72
|
readonly onTheList: "You're on the list";
|
|
73
|
-
readonly rsvpReassurance: "RSVP so the host can plan";
|
|
74
73
|
readonly goingRowSolo: "You're going";
|
|
75
74
|
readonly goingRowOthers: (p: {
|
|
76
75
|
count: string | number;
|
|
@@ -102,20 +101,29 @@ export declare const copy: {
|
|
|
102
101
|
readonly isGoingSystem: (p: {
|
|
103
102
|
name: string | number;
|
|
104
103
|
}) => string;
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
readonly soldCountNoCap: (p: {
|
|
114
|
-
sold: string | number;
|
|
104
|
+
readonly manage: "Manage";
|
|
105
|
+
readonly guestList: "Guest list";
|
|
106
|
+
readonly myList: "My list";
|
|
107
|
+
};
|
|
108
|
+
readonly guestsPage: {
|
|
109
|
+
readonly title: "Guest list";
|
|
110
|
+
readonly countSummary: (p: {
|
|
111
|
+
count: number;
|
|
115
112
|
}) => string;
|
|
116
|
-
readonly
|
|
113
|
+
readonly checkedInSummary: (p: {
|
|
117
114
|
count: string | number;
|
|
118
115
|
}) => string;
|
|
116
|
+
readonly statusCheckedIn: "Checked in";
|
|
117
|
+
readonly statusOnList: "On the list";
|
|
118
|
+
readonly guestOf: (p: {
|
|
119
|
+
name: string | number;
|
|
120
|
+
}) => string;
|
|
121
|
+
readonly hostSpots: (p: {
|
|
122
|
+
count: number;
|
|
123
|
+
}) => string;
|
|
124
|
+
readonly emptyTitle: "No one on the list yet";
|
|
125
|
+
readonly emptySub: "Guests appear here once they're added or claim a spot.";
|
|
126
|
+
readonly noAccess: "You don't have access to this guest list.";
|
|
119
127
|
};
|
|
120
128
|
readonly ticketsManage: {
|
|
121
129
|
readonly title: "Tickets";
|
package/lib/copy.js
CHANGED
|
@@ -64,7 +64,6 @@ export const copy = {
|
|
|
64
64
|
freeEntry: "Free entry",
|
|
65
65
|
goingCheck: "Going ✓",
|
|
66
66
|
onTheList: "You're on the list",
|
|
67
|
-
rsvpReassurance: "RSVP so the host can plan",
|
|
68
67
|
goingRowSolo: "You're going",
|
|
69
68
|
goingRowOthers: (p) => `You and ${p.count} others are going`,
|
|
70
69
|
goingRowNamedOnly: (p) => `You, ${p.names} are going`,
|
|
@@ -83,13 +82,33 @@ export const copy = {
|
|
|
83
82
|
unlockRsvp: "RSVP to join.",
|
|
84
83
|
reply: "Reply",
|
|
85
84
|
isGoingSystem: (p) => `${p.name} is going`,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
manage: "Manage",
|
|
86
|
+
guestList: "Guest list",
|
|
87
|
+
myList: "My list",
|
|
88
|
+
},
|
|
89
|
+
guestsPage: {
|
|
90
|
+
title: "Guest list",
|
|
91
|
+
countSummary: (p) => {
|
|
92
|
+
const n = Number(p.count);
|
|
93
|
+
if (n === 0)
|
|
94
|
+
return `Nobody on the list yet`;
|
|
95
|
+
if (n === 1)
|
|
96
|
+
return `${p.count} on the list`;
|
|
97
|
+
return `${p.count} on the list`;
|
|
98
|
+
},
|
|
99
|
+
checkedInSummary: (p) => `${p.count} checked in`,
|
|
100
|
+
statusCheckedIn: "Checked in",
|
|
101
|
+
statusOnList: "On the list",
|
|
102
|
+
guestOf: (p) => `Guest of ${p.name}`,
|
|
103
|
+
hostSpots: (p) => {
|
|
104
|
+
const n = Number(p.count);
|
|
105
|
+
if (n === 1)
|
|
106
|
+
return `Host · ${p.count} spot`;
|
|
107
|
+
return `Host · ${p.count} spots`;
|
|
108
|
+
},
|
|
109
|
+
emptyTitle: "No one on the list yet",
|
|
110
|
+
emptySub: "Guests appear here once they're added or claim a spot.",
|
|
111
|
+
noAccess: "You don't have access to this guest list.",
|
|
93
112
|
},
|
|
94
113
|
ticketsManage: {
|
|
95
114
|
title: "Tickets",
|
package/package.json
CHANGED