@moshevents/copy 0.7.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 CHANGED
@@ -103,6 +103,27 @@ export declare const copy: {
103
103
  }) => string;
104
104
  readonly manage: "Manage";
105
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;
112
+ }) => string;
113
+ readonly checkedInSummary: (p: {
114
+ count: string | number;
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.";
106
127
  };
107
128
  readonly ticketsManage: {
108
129
  readonly title: "Tickets";
package/lib/copy.js CHANGED
@@ -84,6 +84,31 @@ export const copy = {
84
84
  isGoingSystem: (p) => `${p.name} is going`,
85
85
  manage: "Manage",
86
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.",
87
112
  },
88
113
  ticketsManage: {
89
114
  title: "Tickets",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moshevents/copy",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Mosh — single source of truth for user-facing copy. Typed `copy` for web/admin; iOS consumes the SwiftPM target.",
5
5
  "type": "module",
6
6
  "files": [