@moshevents/copy 0.3.0 → 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 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";
@@ -375,8 +377,16 @@ export declare const copy: {
375
377
  readonly shareProfile: "Share profile";
376
378
  readonly userNotFound: "User not found";
377
379
  readonly points: "points";
380
+ readonly events: "events";
378
381
  readonly followers: "followers";
379
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;
380
390
  readonly liveNow: "Now: ";
381
391
  readonly liveTonight: "Tonight: ";
382
392
  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",
@@ -350,8 +352,12 @@ export const copy = {
350
352
  shareProfile: "Share profile",
351
353
  userNotFound: "User not found",
352
354
  points: "points",
355
+ events: "events",
353
356
  followers: "followers",
354
357
  following: "following",
358
+ yourConnections: "Your connections",
359
+ followedByNames: (p) => `Followed by ${p.names}`,
360
+ followedByOthers: (p) => `Followed by ${p.names} & others`,
355
361
  liveNow: "Now: ",
356
362
  liveTonight: "Tonight: ",
357
363
  accountTypeDj: "DJ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moshevents/copy",
3
- "version": "0.3.0",
3
+ "version": "0.4.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": [