@moshevents/copy 0.3.0 → 0.5.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 +26 -1
- package/lib/copy.js +14 -1
- package/package.json +1 -1
package/lib/copy.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export declare const copy: {
|
|
|
64
64
|
readonly loginTitle: "Log in to Mosh";
|
|
65
65
|
readonly signUpTitle: "Sign up for Mosh";
|
|
66
66
|
readonly optionPhoneEmail: "Use phone / email / username";
|
|
67
|
+
readonly optionPhone: "Use phone number";
|
|
67
68
|
readonly continueWithFacebook: "Continue with Facebook";
|
|
68
69
|
readonly continueWithGoogle: "Continue with Google";
|
|
69
70
|
readonly continueWithApple: "Continue with Apple";
|
|
@@ -112,6 +113,7 @@ export declare const copy: {
|
|
|
112
113
|
readonly missingCredentials: "Missing authentication credentials";
|
|
113
114
|
readonly missingMethod: "Missing authentication method";
|
|
114
115
|
readonly appleSignInFailedTitle: "Couldn't sign in with Apple";
|
|
116
|
+
readonly googleSignInFailedTitle: "Couldn't sign in with Google";
|
|
115
117
|
readonly enterPhone: "Please enter your phone number";
|
|
116
118
|
readonly enterName: "Please enter your name";
|
|
117
119
|
readonly enterBirthday: "Please enter your birthday";
|
|
@@ -162,6 +164,21 @@ export declare const copy: {
|
|
|
162
164
|
readonly following: "Following";
|
|
163
165
|
readonly block: "Block";
|
|
164
166
|
readonly unblock: "Unblock";
|
|
167
|
+
readonly relativeTime: {
|
|
168
|
+
readonly today: "today";
|
|
169
|
+
readonly daysAgo: (p: {
|
|
170
|
+
count: string | number;
|
|
171
|
+
}) => string;
|
|
172
|
+
readonly weeksAgo: (p: {
|
|
173
|
+
count: string | number;
|
|
174
|
+
}) => string;
|
|
175
|
+
readonly monthsAgo: (p: {
|
|
176
|
+
count: string | number;
|
|
177
|
+
}) => string;
|
|
178
|
+
readonly yearsAgo: (p: {
|
|
179
|
+
count: string | number;
|
|
180
|
+
}) => string;
|
|
181
|
+
};
|
|
165
182
|
};
|
|
166
183
|
readonly settings: {
|
|
167
184
|
readonly title: "Settings";
|
|
@@ -341,7 +358,7 @@ export declare const copy: {
|
|
|
341
358
|
readonly happeningNow: "Happening now";
|
|
342
359
|
readonly liveNow: "Now";
|
|
343
360
|
readonly createEvent: "+ Create";
|
|
344
|
-
readonly
|
|
361
|
+
readonly guestList: "Guest list";
|
|
345
362
|
readonly going: "going";
|
|
346
363
|
readonly legendGoing: "Going";
|
|
347
364
|
readonly legendCheckedIn: "Checked in";
|
|
@@ -375,8 +392,16 @@ export declare const copy: {
|
|
|
375
392
|
readonly shareProfile: "Share profile";
|
|
376
393
|
readonly userNotFound: "User not found";
|
|
377
394
|
readonly points: "points";
|
|
395
|
+
readonly events: "events";
|
|
378
396
|
readonly followers: "followers";
|
|
379
397
|
readonly following: "following";
|
|
398
|
+
readonly yourConnections: "Your connections";
|
|
399
|
+
readonly followedByNames: (p: {
|
|
400
|
+
names: string | number;
|
|
401
|
+
}) => string;
|
|
402
|
+
readonly followedByOthers: (p: {
|
|
403
|
+
names: string | number;
|
|
404
|
+
}) => string;
|
|
380
405
|
readonly liveNow: "Now: ";
|
|
381
406
|
readonly liveTonight: "Tonight: ";
|
|
382
407
|
readonly accountTypeDj: "DJ";
|
package/lib/copy.js
CHANGED
|
@@ -69,6 +69,7 @@ export const copy = {
|
|
|
69
69
|
loginTitle: "Log in to Mosh",
|
|
70
70
|
signUpTitle: "Sign up for Mosh",
|
|
71
71
|
optionPhoneEmail: "Use phone / email / username",
|
|
72
|
+
optionPhone: "Use phone number",
|
|
72
73
|
continueWithFacebook: "Continue with Facebook",
|
|
73
74
|
continueWithGoogle: "Continue with Google",
|
|
74
75
|
continueWithApple: "Continue with Apple",
|
|
@@ -113,6 +114,7 @@ export const copy = {
|
|
|
113
114
|
missingCredentials: "Missing authentication credentials",
|
|
114
115
|
missingMethod: "Missing authentication method",
|
|
115
116
|
appleSignInFailedTitle: "Couldn't sign in with Apple",
|
|
117
|
+
googleSignInFailedTitle: "Couldn't sign in with Google",
|
|
116
118
|
enterPhone: "Please enter your phone number",
|
|
117
119
|
enterName: "Please enter your name",
|
|
118
120
|
enterBirthday: "Please enter your birthday",
|
|
@@ -157,6 +159,13 @@ export const copy = {
|
|
|
157
159
|
following: "Following",
|
|
158
160
|
block: "Block",
|
|
159
161
|
unblock: "Unblock",
|
|
162
|
+
relativeTime: {
|
|
163
|
+
today: "today",
|
|
164
|
+
daysAgo: (p) => `${p.count}d ago`,
|
|
165
|
+
weeksAgo: (p) => `${p.count}w ago`,
|
|
166
|
+
monthsAgo: (p) => `${p.count}mo ago`,
|
|
167
|
+
yearsAgo: (p) => `${p.count}y ago`,
|
|
168
|
+
},
|
|
160
169
|
},
|
|
161
170
|
settings: {
|
|
162
171
|
title: "Settings",
|
|
@@ -322,7 +331,7 @@ export const copy = {
|
|
|
322
331
|
happeningNow: "Happening now",
|
|
323
332
|
liveNow: "Now",
|
|
324
333
|
createEvent: "+ Create",
|
|
325
|
-
|
|
334
|
+
guestList: "Guest list",
|
|
326
335
|
going: "going",
|
|
327
336
|
legendGoing: "Going",
|
|
328
337
|
legendCheckedIn: "Checked in",
|
|
@@ -350,8 +359,12 @@ export const copy = {
|
|
|
350
359
|
shareProfile: "Share profile",
|
|
351
360
|
userNotFound: "User not found",
|
|
352
361
|
points: "points",
|
|
362
|
+
events: "events",
|
|
353
363
|
followers: "followers",
|
|
354
364
|
following: "following",
|
|
365
|
+
yourConnections: "Your connections",
|
|
366
|
+
followedByNames: (p) => `Followed by ${p.names}`,
|
|
367
|
+
followedByOthers: (p) => `Followed by ${p.names} & others`,
|
|
355
368
|
liveNow: "Now: ",
|
|
356
369
|
liveTonight: "Tonight: ",
|
|
357
370
|
accountTypeDj: "DJ",
|
package/package.json
CHANGED