@moshevents/copy 0.9.4 → 0.9.6

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
@@ -52,7 +52,11 @@ export declare const copy: {
52
52
  readonly signupNew: "New account";
53
53
  readonly signupReturning: "Logged in";
54
54
  readonly noSignups: "No one has signed up from this page yet.";
55
- readonly loadError: "Couldn't load activity. Try again.";
55
+ readonly loadError: "Couldn't load activity.";
56
+ readonly retry: "Try again";
57
+ readonly groupReach: "Reach";
58
+ readonly groupPhotos: "Photos";
59
+ readonly groupPage: "On the page";
56
60
  };
57
61
  };
58
62
  readonly create: {
@@ -178,6 +182,9 @@ export declare const copy: {
178
182
  };
179
183
  readonly attendeesPage: {
180
184
  readonly title: "Attendees";
185
+ readonly titleWithCount: (p: {
186
+ count: string | number;
187
+ }) => string;
181
188
  readonly wentSummary: (p: {
182
189
  count: string | number;
183
190
  }) => string;
package/lib/copy.js CHANGED
@@ -54,7 +54,11 @@ export const copy = {
54
54
  signupNew: "New account",
55
55
  signupReturning: "Logged in",
56
56
  noSignups: "No one has signed up from this page yet.",
57
- loadError: "Couldn't load activity. Try again.",
57
+ loadError: "Couldn't load activity.",
58
+ retry: "Try again",
59
+ groupReach: "Reach",
60
+ groupPhotos: "Photos",
61
+ groupPage: "On the page",
58
62
  },
59
63
  },
60
64
  create: {
@@ -162,6 +166,7 @@ export const copy = {
162
166
  },
163
167
  attendeesPage: {
164
168
  title: "Attendees",
169
+ titleWithCount: (p) => `Attendees (${p.count})`,
165
170
  wentSummary: (p) => `${p.count} went`,
166
171
  goingSummary: (p) => `${p.count} going`,
167
172
  statusCheckedIn: "Checked in",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moshevents/copy",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
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": [