@moshevents/copy 0.2.1 → 0.3.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 CHANGED
@@ -42,23 +42,43 @@ export declare const copy: {
42
42
  readonly smsRates: "Standard message & data rates may apply.";
43
43
  readonly phoneExists: "An account with this phone number already exists. Try logging in instead.";
44
44
  readonly emailExists: "An account with this email already exists. Try logging in instead.";
45
+ readonly phoneSubtitle: "Enter your phone number to sign up.";
46
+ readonly completeProfileTitle: "Complete your profile";
47
+ readonly completeProfileSubtitle: "Just a few more details to get started";
48
+ readonly nameLabel: "Name";
49
+ readonly namePlaceholder: "Enter your name";
50
+ readonly birthdayLabel: "Birthday";
45
51
  };
46
52
  readonly login: {
47
53
  readonly title: "Log in";
48
54
  readonly subtitle: "RSVP to events, manage your account, and view photos from events you've attended.";
49
55
  readonly emailOrUsername: "Email/Username";
56
+ readonly emailOrUsernamePlaceholder: "Email or username";
57
+ readonly emailUsernameToggle: "Email / Username";
58
+ readonly passwordPlaceholder: "Password";
50
59
  readonly forgotPassword: "Forgot password?";
51
60
  readonly noAccount: "No account found. Please sign up first.";
52
61
  };
53
62
  readonly gateway: {
54
63
  readonly or: "or";
64
+ readonly loginTitle: "Log in to Mosh";
65
+ readonly signUpTitle: "Sign up for Mosh";
66
+ readonly optionPhoneEmail: "Use phone / email / username";
67
+ readonly continueWithFacebook: "Continue with Facebook";
68
+ readonly continueWithGoogle: "Continue with Google";
69
+ readonly continueWithApple: "Continue with Apple";
55
70
  readonly haveAccount: "Already have an account?";
56
71
  readonly noAccount: "Don't have an account?";
57
72
  };
58
73
  readonly legal: {
59
74
  readonly continueAgreement: "By continuing, you confirm that you have read and agreed to the Mosh ";
60
75
  readonly termsOfUse: "Terms of Use";
76
+ readonly termsOfService: "Terms of Service";
61
77
  readonly and: " and ";
78
+ readonly webContinueAgreement: "By continuing, you agree to our ";
79
+ readonly acknowledgeOur: " and acknowledge our ";
80
+ readonly signUpAgreement: "By signing up, you agree to our ";
81
+ readonly otpDisclosure: "By continuing, you'll receive a one-time verification code via SMS. Message & data rates may apply. See our ";
62
82
  readonly privacyPolicy: "Privacy Policy";
63
83
  };
64
84
  readonly common: {
@@ -79,12 +99,32 @@ export declare const copy: {
79
99
  contact: string | number;
80
100
  }) => string;
81
101
  readonly invalidCode: "Invalid or expired code. Tap to retry.";
102
+ readonly codeTitleShort: "Enter code";
103
+ readonly resendPrompt: "Didn't get a code?";
104
+ readonly resendAction: "Resend";
105
+ readonly resendIn: (p: {
106
+ seconds: string | number;
107
+ }) => string;
82
108
  readonly resendFailed: "Failed to resend code";
83
109
  };
84
110
  readonly errors: {
85
111
  readonly missingFields: "Missing required fields";
86
112
  readonly missingCredentials: "Missing authentication credentials";
87
113
  readonly missingMethod: "Missing authentication method";
114
+ readonly appleSignInFailedTitle: "Couldn't sign in with Apple";
115
+ readonly enterPhone: "Please enter your phone number";
116
+ readonly enterName: "Please enter your name";
117
+ readonly enterBirthday: "Please enter your birthday";
118
+ readonly enterEmailOrUsername: "Please enter your email or username";
119
+ readonly enterPassword: "Please enter your password";
120
+ readonly somethingWentWrong: "Something went wrong";
121
+ readonly invalidLogin: "Invalid email/username or password";
122
+ readonly loginFailed: "Login failed";
123
+ readonly sendCodeFailed: "Failed to send code";
124
+ readonly invalidCodeShort: "Invalid code";
125
+ readonly createAccountFailed: "Failed to create account";
126
+ readonly appleSignInFailed: "Apple sign-in didn't work. Please try again.";
127
+ readonly googleSignInFailed: "Google sign-in didn't work. Please try again.";
88
128
  };
89
129
  readonly forgot: {
90
130
  readonly title: "Forgot your password?";
@@ -118,6 +158,7 @@ export declare const copy: {
118
158
  readonly ok: "OK";
119
159
  readonly delete: "Delete";
120
160
  readonly follow: "Follow";
161
+ readonly sortBy: "Sort by";
121
162
  readonly following: "Following";
122
163
  readonly block: "Block";
123
164
  readonly unblock: "Unblock";
@@ -290,6 +331,40 @@ export declare const copy: {
290
331
  readonly notificationsTitle: "Notifications";
291
332
  readonly notificationsEmptyTitle: "Nothing yet";
292
333
  readonly notificationsEmptySubtitle: "Venue activity will show up here.";
334
+ readonly thisWeekHeader: "This week";
335
+ readonly nextWeekHeader: "Next week";
336
+ readonly nextUp: "Next up";
337
+ readonly startsIn: (p: {
338
+ unit: string | number;
339
+ }) => string;
340
+ readonly today: "Today";
341
+ readonly happeningNow: "Happening now";
342
+ readonly liveNow: "Now";
343
+ readonly createEvent: "+ Create";
344
+ readonly viewList: "View list";
345
+ readonly going: "going";
346
+ readonly legendGoing: "Going";
347
+ readonly legendCheckedIn: "Checked in";
348
+ readonly checkedIn: "checked in";
349
+ readonly checkedInLive: "checking in now";
350
+ readonly checkedInUnit: "checked in";
351
+ readonly audienceTitle: "Audience";
352
+ readonly audienceSearchPlaceholder: "Search visitors";
353
+ readonly audienceVips: "Venue VIPs";
354
+ readonly audienceBlacklist: "Blacklist";
355
+ readonly audiencePeople: (p: {
356
+ count: string | number;
357
+ }) => string;
358
+ readonly audienceVisitorsHeader: (p: {
359
+ count: string | number;
360
+ }) => string;
361
+ readonly sortMostVisits: "Most visits";
362
+ readonly sortRecent: "Recent";
363
+ readonly vipBadge: "VIP";
364
+ readonly audienceEmptyTitle: "No visitors yet";
365
+ readonly audienceEmptySubtitle: (p: {
366
+ venue: string | number;
367
+ }) => string;
293
368
  };
294
369
  readonly button: {
295
370
  readonly editProfile: "Edit profile";
package/lib/copy.js CHANGED
@@ -47,23 +47,43 @@ export const copy = {
47
47
  smsRates: "Standard message & data rates may apply.",
48
48
  phoneExists: "An account with this phone number already exists. Try logging in instead.",
49
49
  emailExists: "An account with this email already exists. Try logging in instead.",
50
+ phoneSubtitle: "Enter your phone number to sign up.",
51
+ completeProfileTitle: "Complete your profile",
52
+ completeProfileSubtitle: "Just a few more details to get started",
53
+ nameLabel: "Name",
54
+ namePlaceholder: "Enter your name",
55
+ birthdayLabel: "Birthday",
50
56
  },
51
57
  login: {
52
58
  title: "Log in",
53
59
  subtitle: "RSVP to events, manage your account, and view photos from events you've attended.",
54
60
  emailOrUsername: "Email/Username",
61
+ emailOrUsernamePlaceholder: "Email or username",
62
+ emailUsernameToggle: "Email / Username",
63
+ passwordPlaceholder: "Password",
55
64
  forgotPassword: "Forgot password?",
56
65
  noAccount: "No account found. Please sign up first.",
57
66
  },
58
67
  gateway: {
59
68
  or: "or",
69
+ loginTitle: "Log in to Mosh",
70
+ signUpTitle: "Sign up for Mosh",
71
+ optionPhoneEmail: "Use phone / email / username",
72
+ continueWithFacebook: "Continue with Facebook",
73
+ continueWithGoogle: "Continue with Google",
74
+ continueWithApple: "Continue with Apple",
60
75
  haveAccount: "Already have an account?",
61
76
  noAccount: "Don't have an account?",
62
77
  },
63
78
  legal: {
64
79
  continueAgreement: "By continuing, you confirm that you have read and agreed to the Mosh ",
65
80
  termsOfUse: "Terms of Use",
81
+ termsOfService: "Terms of Service",
66
82
  and: " and ",
83
+ webContinueAgreement: "By continuing, you agree to our ",
84
+ acknowledgeOur: " and acknowledge our ",
85
+ signUpAgreement: "By signing up, you agree to our ",
86
+ otpDisclosure: "By continuing, you'll receive a one-time verification code via SMS. Message & data rates may apply. See our ",
67
87
  privacyPolicy: "Privacy Policy",
68
88
  },
69
89
  common: {
@@ -82,12 +102,30 @@ export const copy = {
82
102
  codeTitle: "Enter 6-digit code",
83
103
  sentTo: (p) => `Your code was sent to ${p.contact}`,
84
104
  invalidCode: "Invalid or expired code. Tap to retry.",
105
+ codeTitleShort: "Enter code",
106
+ resendPrompt: "Didn't get a code?",
107
+ resendAction: "Resend",
108
+ resendIn: (p) => `Resend in ${p.seconds}s`,
85
109
  resendFailed: "Failed to resend code",
86
110
  },
87
111
  errors: {
88
112
  missingFields: "Missing required fields",
89
113
  missingCredentials: "Missing authentication credentials",
90
114
  missingMethod: "Missing authentication method",
115
+ appleSignInFailedTitle: "Couldn't sign in with Apple",
116
+ enterPhone: "Please enter your phone number",
117
+ enterName: "Please enter your name",
118
+ enterBirthday: "Please enter your birthday",
119
+ enterEmailOrUsername: "Please enter your email or username",
120
+ enterPassword: "Please enter your password",
121
+ somethingWentWrong: "Something went wrong",
122
+ invalidLogin: "Invalid email/username or password",
123
+ loginFailed: "Login failed",
124
+ sendCodeFailed: "Failed to send code",
125
+ invalidCodeShort: "Invalid code",
126
+ createAccountFailed: "Failed to create account",
127
+ appleSignInFailed: "Apple sign-in didn't work. Please try again.",
128
+ googleSignInFailed: "Google sign-in didn't work. Please try again.",
91
129
  },
92
130
  forgot: {
93
131
  title: "Forgot your password?",
@@ -115,6 +153,7 @@ export const copy = {
115
153
  ok: "OK",
116
154
  delete: "Delete",
117
155
  follow: "Follow",
156
+ sortBy: "Sort by",
118
157
  following: "Following",
119
158
  block: "Block",
120
159
  unblock: "Unblock",
@@ -275,6 +314,32 @@ export const copy = {
275
314
  notificationsTitle: "Notifications",
276
315
  notificationsEmptyTitle: "Nothing yet",
277
316
  notificationsEmptySubtitle: "Venue activity will show up here.",
317
+ thisWeekHeader: "This week",
318
+ nextWeekHeader: "Next week",
319
+ nextUp: "Next up",
320
+ startsIn: (p) => `Starts in ${p.unit}`,
321
+ today: "Today",
322
+ happeningNow: "Happening now",
323
+ liveNow: "Now",
324
+ createEvent: "+ Create",
325
+ viewList: "View list",
326
+ going: "going",
327
+ legendGoing: "Going",
328
+ legendCheckedIn: "Checked in",
329
+ checkedIn: "checked in",
330
+ checkedInLive: "checking in now",
331
+ checkedInUnit: "checked in",
332
+ audienceTitle: "Audience",
333
+ audienceSearchPlaceholder: "Search visitors",
334
+ audienceVips: "Venue VIPs",
335
+ audienceBlacklist: "Blacklist",
336
+ audiencePeople: (p) => `${p.count} people`,
337
+ audienceVisitorsHeader: (p) => `${p.count} visitors`,
338
+ sortMostVisits: "Most visits",
339
+ sortRecent: "Recent",
340
+ vipBadge: "VIP",
341
+ audienceEmptyTitle: "No visitors yet",
342
+ audienceEmptySubtitle: (p) => `Users who check in to events at ${p.venue} will appear here.`,
278
343
  },
279
344
  button: {
280
345
  editProfile: "Edit profile",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moshevents/copy",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
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": [