@moshevents/copy 0.2.1 → 0.4.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 +85 -0
- package/lib/copy.js +71 -0
- package/package.json +1 -1
package/lib/copy.d.ts
CHANGED
|
@@ -42,23 +42,44 @@ 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 optionPhone: "Use phone number";
|
|
68
|
+
readonly continueWithFacebook: "Continue with Facebook";
|
|
69
|
+
readonly continueWithGoogle: "Continue with Google";
|
|
70
|
+
readonly continueWithApple: "Continue with Apple";
|
|
55
71
|
readonly haveAccount: "Already have an account?";
|
|
56
72
|
readonly noAccount: "Don't have an account?";
|
|
57
73
|
};
|
|
58
74
|
readonly legal: {
|
|
59
75
|
readonly continueAgreement: "By continuing, you confirm that you have read and agreed to the Mosh ";
|
|
60
76
|
readonly termsOfUse: "Terms of Use";
|
|
77
|
+
readonly termsOfService: "Terms of Service";
|
|
61
78
|
readonly and: " and ";
|
|
79
|
+
readonly webContinueAgreement: "By continuing, you agree to our ";
|
|
80
|
+
readonly acknowledgeOur: " and acknowledge our ";
|
|
81
|
+
readonly signUpAgreement: "By signing up, you agree to our ";
|
|
82
|
+
readonly otpDisclosure: "By continuing, you'll receive a one-time verification code via SMS. Message & data rates may apply. See our ";
|
|
62
83
|
readonly privacyPolicy: "Privacy Policy";
|
|
63
84
|
};
|
|
64
85
|
readonly common: {
|
|
@@ -79,12 +100,33 @@ export declare const copy: {
|
|
|
79
100
|
contact: string | number;
|
|
80
101
|
}) => string;
|
|
81
102
|
readonly invalidCode: "Invalid or expired code. Tap to retry.";
|
|
103
|
+
readonly codeTitleShort: "Enter code";
|
|
104
|
+
readonly resendPrompt: "Didn't get a code?";
|
|
105
|
+
readonly resendAction: "Resend";
|
|
106
|
+
readonly resendIn: (p: {
|
|
107
|
+
seconds: string | number;
|
|
108
|
+
}) => string;
|
|
82
109
|
readonly resendFailed: "Failed to resend code";
|
|
83
110
|
};
|
|
84
111
|
readonly errors: {
|
|
85
112
|
readonly missingFields: "Missing required fields";
|
|
86
113
|
readonly missingCredentials: "Missing authentication credentials";
|
|
87
114
|
readonly missingMethod: "Missing authentication method";
|
|
115
|
+
readonly appleSignInFailedTitle: "Couldn't sign in with Apple";
|
|
116
|
+
readonly googleSignInFailedTitle: "Couldn't sign in with Google";
|
|
117
|
+
readonly enterPhone: "Please enter your phone number";
|
|
118
|
+
readonly enterName: "Please enter your name";
|
|
119
|
+
readonly enterBirthday: "Please enter your birthday";
|
|
120
|
+
readonly enterEmailOrUsername: "Please enter your email or username";
|
|
121
|
+
readonly enterPassword: "Please enter your password";
|
|
122
|
+
readonly somethingWentWrong: "Something went wrong";
|
|
123
|
+
readonly invalidLogin: "Invalid email/username or password";
|
|
124
|
+
readonly loginFailed: "Login failed";
|
|
125
|
+
readonly sendCodeFailed: "Failed to send code";
|
|
126
|
+
readonly invalidCodeShort: "Invalid code";
|
|
127
|
+
readonly createAccountFailed: "Failed to create account";
|
|
128
|
+
readonly appleSignInFailed: "Apple sign-in didn't work. Please try again.";
|
|
129
|
+
readonly googleSignInFailed: "Google sign-in didn't work. Please try again.";
|
|
88
130
|
};
|
|
89
131
|
readonly forgot: {
|
|
90
132
|
readonly title: "Forgot your password?";
|
|
@@ -118,6 +160,7 @@ export declare const copy: {
|
|
|
118
160
|
readonly ok: "OK";
|
|
119
161
|
readonly delete: "Delete";
|
|
120
162
|
readonly follow: "Follow";
|
|
163
|
+
readonly sortBy: "Sort by";
|
|
121
164
|
readonly following: "Following";
|
|
122
165
|
readonly block: "Block";
|
|
123
166
|
readonly unblock: "Unblock";
|
|
@@ -290,6 +333,40 @@ export declare const copy: {
|
|
|
290
333
|
readonly notificationsTitle: "Notifications";
|
|
291
334
|
readonly notificationsEmptyTitle: "Nothing yet";
|
|
292
335
|
readonly notificationsEmptySubtitle: "Venue activity will show up here.";
|
|
336
|
+
readonly thisWeekHeader: "This week";
|
|
337
|
+
readonly nextWeekHeader: "Next week";
|
|
338
|
+
readonly nextUp: "Next up";
|
|
339
|
+
readonly startsIn: (p: {
|
|
340
|
+
unit: string | number;
|
|
341
|
+
}) => string;
|
|
342
|
+
readonly today: "Today";
|
|
343
|
+
readonly happeningNow: "Happening now";
|
|
344
|
+
readonly liveNow: "Now";
|
|
345
|
+
readonly createEvent: "+ Create";
|
|
346
|
+
readonly viewList: "View list";
|
|
347
|
+
readonly going: "going";
|
|
348
|
+
readonly legendGoing: "Going";
|
|
349
|
+
readonly legendCheckedIn: "Checked in";
|
|
350
|
+
readonly checkedIn: "checked in";
|
|
351
|
+
readonly checkedInLive: "checking in now";
|
|
352
|
+
readonly checkedInUnit: "checked in";
|
|
353
|
+
readonly audienceTitle: "Audience";
|
|
354
|
+
readonly audienceSearchPlaceholder: "Search visitors";
|
|
355
|
+
readonly audienceVips: "Venue VIPs";
|
|
356
|
+
readonly audienceBlacklist: "Blacklist";
|
|
357
|
+
readonly audiencePeople: (p: {
|
|
358
|
+
count: string | number;
|
|
359
|
+
}) => string;
|
|
360
|
+
readonly audienceVisitorsHeader: (p: {
|
|
361
|
+
count: string | number;
|
|
362
|
+
}) => string;
|
|
363
|
+
readonly sortMostVisits: "Most visits";
|
|
364
|
+
readonly sortRecent: "Recent";
|
|
365
|
+
readonly vipBadge: "VIP";
|
|
366
|
+
readonly audienceEmptyTitle: "No visitors yet";
|
|
367
|
+
readonly audienceEmptySubtitle: (p: {
|
|
368
|
+
venue: string | number;
|
|
369
|
+
}) => string;
|
|
293
370
|
};
|
|
294
371
|
readonly button: {
|
|
295
372
|
readonly editProfile: "Edit profile";
|
|
@@ -300,8 +377,16 @@ export declare const copy: {
|
|
|
300
377
|
readonly shareProfile: "Share profile";
|
|
301
378
|
readonly userNotFound: "User not found";
|
|
302
379
|
readonly points: "points";
|
|
380
|
+
readonly events: "events";
|
|
303
381
|
readonly followers: "followers";
|
|
304
382
|
readonly following: "following";
|
|
383
|
+
readonly yourConnections: "Your connections";
|
|
384
|
+
readonly followedByNames: (p: {
|
|
385
|
+
names: string | number;
|
|
386
|
+
}) => string;
|
|
387
|
+
readonly followedByOthers: (p: {
|
|
388
|
+
names: string | number;
|
|
389
|
+
}) => string;
|
|
305
390
|
readonly liveNow: "Now: ";
|
|
306
391
|
readonly liveTonight: "Tonight: ";
|
|
307
392
|
readonly accountTypeDj: "DJ";
|
package/lib/copy.js
CHANGED
|
@@ -47,23 +47,44 @@ 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
|
+
optionPhone: "Use phone number",
|
|
73
|
+
continueWithFacebook: "Continue with Facebook",
|
|
74
|
+
continueWithGoogle: "Continue with Google",
|
|
75
|
+
continueWithApple: "Continue with Apple",
|
|
60
76
|
haveAccount: "Already have an account?",
|
|
61
77
|
noAccount: "Don't have an account?",
|
|
62
78
|
},
|
|
63
79
|
legal: {
|
|
64
80
|
continueAgreement: "By continuing, you confirm that you have read and agreed to the Mosh ",
|
|
65
81
|
termsOfUse: "Terms of Use",
|
|
82
|
+
termsOfService: "Terms of Service",
|
|
66
83
|
and: " and ",
|
|
84
|
+
webContinueAgreement: "By continuing, you agree to our ",
|
|
85
|
+
acknowledgeOur: " and acknowledge our ",
|
|
86
|
+
signUpAgreement: "By signing up, you agree to our ",
|
|
87
|
+
otpDisclosure: "By continuing, you'll receive a one-time verification code via SMS. Message & data rates may apply. See our ",
|
|
67
88
|
privacyPolicy: "Privacy Policy",
|
|
68
89
|
},
|
|
69
90
|
common: {
|
|
@@ -82,12 +103,31 @@ export const copy = {
|
|
|
82
103
|
codeTitle: "Enter 6-digit code",
|
|
83
104
|
sentTo: (p) => `Your code was sent to ${p.contact}`,
|
|
84
105
|
invalidCode: "Invalid or expired code. Tap to retry.",
|
|
106
|
+
codeTitleShort: "Enter code",
|
|
107
|
+
resendPrompt: "Didn't get a code?",
|
|
108
|
+
resendAction: "Resend",
|
|
109
|
+
resendIn: (p) => `Resend in ${p.seconds}s`,
|
|
85
110
|
resendFailed: "Failed to resend code",
|
|
86
111
|
},
|
|
87
112
|
errors: {
|
|
88
113
|
missingFields: "Missing required fields",
|
|
89
114
|
missingCredentials: "Missing authentication credentials",
|
|
90
115
|
missingMethod: "Missing authentication method",
|
|
116
|
+
appleSignInFailedTitle: "Couldn't sign in with Apple",
|
|
117
|
+
googleSignInFailedTitle: "Couldn't sign in with Google",
|
|
118
|
+
enterPhone: "Please enter your phone number",
|
|
119
|
+
enterName: "Please enter your name",
|
|
120
|
+
enterBirthday: "Please enter your birthday",
|
|
121
|
+
enterEmailOrUsername: "Please enter your email or username",
|
|
122
|
+
enterPassword: "Please enter your password",
|
|
123
|
+
somethingWentWrong: "Something went wrong",
|
|
124
|
+
invalidLogin: "Invalid email/username or password",
|
|
125
|
+
loginFailed: "Login failed",
|
|
126
|
+
sendCodeFailed: "Failed to send code",
|
|
127
|
+
invalidCodeShort: "Invalid code",
|
|
128
|
+
createAccountFailed: "Failed to create account",
|
|
129
|
+
appleSignInFailed: "Apple sign-in didn't work. Please try again.",
|
|
130
|
+
googleSignInFailed: "Google sign-in didn't work. Please try again.",
|
|
91
131
|
},
|
|
92
132
|
forgot: {
|
|
93
133
|
title: "Forgot your password?",
|
|
@@ -115,6 +155,7 @@ export const copy = {
|
|
|
115
155
|
ok: "OK",
|
|
116
156
|
delete: "Delete",
|
|
117
157
|
follow: "Follow",
|
|
158
|
+
sortBy: "Sort by",
|
|
118
159
|
following: "Following",
|
|
119
160
|
block: "Block",
|
|
120
161
|
unblock: "Unblock",
|
|
@@ -275,6 +316,32 @@ export const copy = {
|
|
|
275
316
|
notificationsTitle: "Notifications",
|
|
276
317
|
notificationsEmptyTitle: "Nothing yet",
|
|
277
318
|
notificationsEmptySubtitle: "Venue activity will show up here.",
|
|
319
|
+
thisWeekHeader: "This week",
|
|
320
|
+
nextWeekHeader: "Next week",
|
|
321
|
+
nextUp: "Next up",
|
|
322
|
+
startsIn: (p) => `Starts in ${p.unit}`,
|
|
323
|
+
today: "Today",
|
|
324
|
+
happeningNow: "Happening now",
|
|
325
|
+
liveNow: "Now",
|
|
326
|
+
createEvent: "+ Create",
|
|
327
|
+
viewList: "View list",
|
|
328
|
+
going: "going",
|
|
329
|
+
legendGoing: "Going",
|
|
330
|
+
legendCheckedIn: "Checked in",
|
|
331
|
+
checkedIn: "checked in",
|
|
332
|
+
checkedInLive: "checking in now",
|
|
333
|
+
checkedInUnit: "checked in",
|
|
334
|
+
audienceTitle: "Audience",
|
|
335
|
+
audienceSearchPlaceholder: "Search visitors",
|
|
336
|
+
audienceVips: "Venue VIPs",
|
|
337
|
+
audienceBlacklist: "Blacklist",
|
|
338
|
+
audiencePeople: (p) => `${p.count} people`,
|
|
339
|
+
audienceVisitorsHeader: (p) => `${p.count} visitors`,
|
|
340
|
+
sortMostVisits: "Most visits",
|
|
341
|
+
sortRecent: "Recent",
|
|
342
|
+
vipBadge: "VIP",
|
|
343
|
+
audienceEmptyTitle: "No visitors yet",
|
|
344
|
+
audienceEmptySubtitle: (p) => `Users who check in to events at ${p.venue} will appear here.`,
|
|
278
345
|
},
|
|
279
346
|
button: {
|
|
280
347
|
editProfile: "Edit profile",
|
|
@@ -285,8 +352,12 @@ export const copy = {
|
|
|
285
352
|
shareProfile: "Share profile",
|
|
286
353
|
userNotFound: "User not found",
|
|
287
354
|
points: "points",
|
|
355
|
+
events: "events",
|
|
288
356
|
followers: "followers",
|
|
289
357
|
following: "following",
|
|
358
|
+
yourConnections: "Your connections",
|
|
359
|
+
followedByNames: (p) => `Followed by ${p.names}`,
|
|
360
|
+
followedByOthers: (p) => `Followed by ${p.names} & others`,
|
|
290
361
|
liveNow: "Now: ",
|
|
291
362
|
liveTonight: "Tonight: ",
|
|
292
363
|
accountTypeDj: "DJ",
|
package/package.json
CHANGED