Skip to content

Commit

Permalink
feat(nomad-badges): remove LV? prefix & add campaign link
Browse files Browse the repository at this point in the history
Implementation of Digital Nomad program

for thematters/developer-resource#326
  • Loading branch information
49659410+tx0c committed Dec 13, 2023
1 parent b30eab7 commit e546642
Show file tree
Hide file tree
Showing 12 changed files with 147 additions and 130 deletions.
1 change: 1 addition & 0 deletions .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ NEXT_PUBLIC_GOOGLE_CLIENT_ID=315393900359-2r9fundftis7dc0tdeo2hf8630nfdd8h.apps.
NEXT_PUBLIC_TWITTER_CLIENT_ID=X3d6Szg5bnVCMm5wRWxSVmhXUTc6MTpjaQ
NEXT_PUBLIC_FACEBOOK_CLIENT_ID=203337806078602
NEXT_PUBLIC_CLOUDFLARE_TURNSTILE_SITE_KEY=0x4AAAAAAAKiedvR5qiLUhIs
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=/@rsdyobw/22048-launching-the-nomad-matters-initiative
DEBUG=false
PLAYWRIGHT_RUNTIME_ENV=ci
PLAYWRIGHT_TEST_BASE_URL=https://web-develop.matters.town
Expand Down
1 change: 1 addition & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ NEXT_PUBLIC_LOGBOOKS_URL=https://logbooks-vercel.matters.town
NEXT_PUBLIC_ALCHEMY_KEY=1dMo8xjAFo8M6Y4sQ45WTD3Zie2-MA4C
NEXT_PUBLIC_USDT_CONTRACT_ADDRESS=0xfe4F5145f6e09952a5ba9e956ED0C25e3Fa4c7F1
NEXT_PUBLIC_CURATION_CONTRACT_ADDRESS=0xa219c6722008aa22828b31a13ab9ba93bb91222c
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=/@rsdyobw/22048-launching-the-nomad-matters-initiative
DEBUG=false
PLAYWRIGHT_RUNTIME_ENV=local
PLAYWRIGHT_TEST_BASE_URL=https://web-develop.matters.town
Expand Down
2 changes: 2 additions & 0 deletions .env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ DEBUG=false
NEXT_PUBLIC_GOOGLE_CLIENT_ID=751677068109-rkml7q9ujf8ems09cclh7qckf14svcgs.apps.googleusercontent.com
NEXT_PUBLIC_TWITTER_CLIENT_ID=cmdKbUlyd1ZZZDZYa3dTampidGo6MTpjaQ
NEXT_PUBLIC_FACEBOOK_CLIENT_ID=161556310354354
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK_EN=
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=
43 changes: 23 additions & 20 deletions lang/default.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"+08Cci": {
"defaultMessage": "Under the moonlight, dreams are about to come true. The Moonlight Dream badge signifies your participation in the Nomad Matters, whether as a contestant or a supporter of exceptional projects. Next, invite 5 companions to join the journey with you, and you'll earn an even higher-level badge.?",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"+51DoZ": {
"defaultMessage": "Please verify email first",
"description": "src/views/Me/Settings/Settings/Password/index.tsx"
},
"+56XIp": {
"defaultMessage": "LV1 Moonlight Dream"
},
"+63O1f": {
"defaultMessage": "Incorrect email or password",
"description": "USER_PASSWORD_INVALID"
Expand Down Expand Up @@ -314,6 +315,9 @@
"defaultMessage": "Oops. Something went wrong. Please try again later.",
"description": "BAD_USER_INPUT"
},
"76yoL6": {
"defaultMessage": "Moonlight Dream"
},
"77tYPg": {
"defaultMessage": "After deletion, the {commentType} will be removed immediately",
"description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx"
Expand All @@ -329,9 +333,6 @@
"defaultMessage": "Are you sure you want to delete draft?",
"description": "src/components/DraftDigest/Feed/DeleteButton.tsx"
},
"7ZXP9S": {
"defaultMessage": "LV2 Meteor Canoe"
},
"7cwoRo": {
"defaultMessage": "The author has disabled comments for this article"
},
Expand All @@ -350,6 +351,9 @@
"8KFsZN": {
"defaultMessage": "Read Counts"
},
"8MeJ4b": {
"defaultMessage": "Nimbus Ferry"
},
"8UWUW8": {
"defaultMessage": "Collect Article",
"description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx"
Expand Down Expand Up @@ -622,9 +626,6 @@
"defaultMessage": "Collection is deleted",
"description": "src/components/CollectionDigest/DropdownActions/DeleteCollection/Dialog.tsx"
},
"FuU2MU": {
"defaultMessage": "LV4 Firebolt"
},
"FxrSCh": {
"defaultMessage": "This ID cannot be modified. Are you sure you want to use {id} as your Matters ID?",
"description": "src/components/Dialogs/SetUserNameDialog/ConfirmStep.tsx"
Expand Down Expand Up @@ -978,6 +979,9 @@
"defaultMessage": "Please add email first",
"description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx"
},
"Rc4Oij": {
"defaultMessage": "Firebolt"
},
"Ro0CuW": {
"defaultMessage": "You do not have permission to perform this operation",
"description": "FORBIDDEN"
Expand Down Expand Up @@ -1041,6 +1045,9 @@
"TF1OhT": {
"defaultMessage": "This login code has expired, please try to resend"
},
"TKsfIS": {
"defaultMessage": "Meteor Canoe"
},
"TSDiqB": {
"defaultMessage": "Subscribers",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
Expand Down Expand Up @@ -1177,6 +1184,10 @@
"defaultMessage": "Go to Settings",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
},
"XfkltT": {
"defaultMessage": "The dazzling light of a meteor shower is enough to illuminate the night sky. You have already invited 5 companions to participate in the Nomad Matters. Invite 5 more, and you can continue to level up!",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"XgdZSb": {
"defaultMessage": "Authors"
},
Expand Down Expand Up @@ -1231,10 +1242,6 @@
"defaultMessage": "Start writing",
"description": "src/components/Buttons/StartWriting/index.tsx"
},
"Z31Fz+": {
"defaultMessage": "Under the moonlight, your dreams are about to come true. The Moonlight Dream badge glorifies your initial participation in the Nomad Matters. To reach the next level, invite 5 friends to join the journey with you. <a>Click here in the last paragraph to find out how to invite new companions</a>",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"ZAs170": {
"defaultMessage": "Profile",
"description": "src/views/Circle/Settings/index.tsx"
Expand Down Expand Up @@ -1733,10 +1740,6 @@
"defaultMessage": "Archived",
"description": "src/views/Me/Works/WorksTabs/index.tsx"
},
"qTjjF0": {
"defaultMessage": "The dazzling light of a meteor shower is there to illuminate the night sky. Congratulations on having invited 5 companions to participate in Nomad Matters. Invite 5 more to level up, the more the merrier!",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"qVhxp5": {
"defaultMessage": "Enter",
"description": "src/components/Buttons/UniversalAuth/index.tsx"
Expand Down Expand Up @@ -1803,9 +1806,6 @@
"defaultMessage": "This post may include sensitive content and has been marked by the {actor} as restricted content. Are you sure you want to expand the full text?",
"description": "src/views/ArticleDetail/Wall/Sensitive/index.tsx"
},
"sLiIAz": {
"defaultMessage": "LV3 Nimbus Ferry"
},
"sPgUkN": {
"defaultMessage": "This Month",
"description": "src/views/Circle/Analytics/IncomeAnalytics/index.tsx"
Expand Down Expand Up @@ -2060,6 +2060,9 @@
"defaultMessage": "left a comment in {circleName}",
"description": "src/components/Notice/CircleNotice/CircleNewDiscussionComments.tsx"
},
"znJ06J": {
"defaultMessage": "<a>About Nomad Matters</a>"
},
"zvNfwL": {
"defaultMessage": "Operation too frequent, please try again later.",
"description": "ACTION_LIMIT_EXCEEDED"
Expand Down
43 changes: 23 additions & 20 deletions lang/en.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"+08Cci": {
"defaultMessage": "Under the moonlight, dreams are about to come true. The Moonlight Dream badge signifies your participation in the Nomad Matters, whether as a contestant or a supporter of exceptional projects. Next, invite 5 companions to join the journey with you, and you'll earn an even higher-level badge.?",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"+51DoZ": {
"defaultMessage": "Please verify email first",
"description": "src/views/Me/Settings/Settings/Password/index.tsx"
},
"+56XIp": {
"defaultMessage": "LV1 Moonlight Dream"
},
"+63O1f": {
"defaultMessage": "Incorrect email or password",
"description": "USER_PASSWORD_INVALID"
Expand Down Expand Up @@ -314,6 +315,9 @@
"defaultMessage": "Oops. Something went wrong. Please try again later.",
"description": "BAD_USER_INPUT"
},
"76yoL6": {
"defaultMessage": "Moonlight Dream"
},
"77tYPg": {
"defaultMessage": "After deletion, the {commentType} will be removed immediately",
"description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx"
Expand All @@ -329,9 +333,6 @@
"defaultMessage": "Are you sure you want to delete draft?",
"description": "src/components/DraftDigest/Feed/DeleteButton.tsx"
},
"7ZXP9S": {
"defaultMessage": "LV2 Meteor Canoe"
},
"7cwoRo": {
"defaultMessage": "The author has disabled comments for this article"
},
Expand All @@ -350,6 +351,9 @@
"8KFsZN": {
"defaultMessage": "Read Counts"
},
"8MeJ4b": {
"defaultMessage": "Nimbus Ferry"
},
"8UWUW8": {
"defaultMessage": "Collect Article",
"description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx"
Expand Down Expand Up @@ -622,9 +626,6 @@
"defaultMessage": "Collection is deleted",
"description": "src/components/CollectionDigest/DropdownActions/DeleteCollection/Dialog.tsx"
},
"FuU2MU": {
"defaultMessage": "LV4 Firebolt"
},
"FxrSCh": {
"defaultMessage": "This ID cannot be modified. Are you sure you want to use {id} as your Matters ID?",
"description": "src/components/Dialogs/SetUserNameDialog/ConfirmStep.tsx"
Expand Down Expand Up @@ -978,6 +979,9 @@
"defaultMessage": "Please add email first",
"description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx"
},
"Rc4Oij": {
"defaultMessage": "Firebolt"
},
"Ro0CuW": {
"defaultMessage": "You do not have permission to perform this operation",
"description": "FORBIDDEN"
Expand Down Expand Up @@ -1041,6 +1045,9 @@
"TF1OhT": {
"defaultMessage": "This login code has expired, please try to resend"
},
"TKsfIS": {
"defaultMessage": "Meteor Canoe"
},
"TSDiqB": {
"defaultMessage": "Subscribers",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
Expand Down Expand Up @@ -1177,6 +1184,10 @@
"defaultMessage": "Go to Settings",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
},
"XfkltT": {
"defaultMessage": "The dazzling light of a meteor shower is enough to illuminate the night sky. You have already invited 5 companions to participate in the Nomad Matters. Invite 5 more, and you can continue to level up!",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"XgdZSb": {
"defaultMessage": "Authors"
},
Expand Down Expand Up @@ -1231,10 +1242,6 @@
"defaultMessage": "Start writing",
"description": "src/components/Buttons/StartWriting/index.tsx"
},
"Z31Fz+": {
"defaultMessage": "Under the moonlight, your dreams are about to come true. The Moonlight Dream badge glorifies your initial participation in the Nomad Matters. To reach the next level, invite 5 friends to join the journey with you. <a>Click here in the last paragraph to find out how to invite new companions</a>",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"ZAs170": {
"defaultMessage": "Profile",
"description": "src/views/Circle/Settings/index.tsx"
Expand Down Expand Up @@ -1733,10 +1740,6 @@
"defaultMessage": "Archived",
"description": "src/views/Me/Works/WorksTabs/index.tsx"
},
"qTjjF0": {
"defaultMessage": "The dazzling light of a meteor shower is there to illuminate the night sky. Congratulations on having invited 5 companions to participate in Nomad Matters. Invite 5 more to level up, the more the merrier!",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"qVhxp5": {
"defaultMessage": "Enter",
"description": "src/components/Buttons/UniversalAuth/index.tsx"
Expand Down Expand Up @@ -1803,9 +1806,6 @@
"defaultMessage": "This post may include sensitive content and has been marked by the {actor} as restricted content. Are you sure you want to expand the full text?",
"description": "src/views/ArticleDetail/Wall/Sensitive/index.tsx"
},
"sLiIAz": {
"defaultMessage": "LV3 Nimbus Ferry"
},
"sPgUkN": {
"defaultMessage": "This Month",
"description": "src/views/Circle/Analytics/IncomeAnalytics/index.tsx"
Expand Down Expand Up @@ -2060,6 +2060,9 @@
"defaultMessage": "left a comment in {circleName}",
"description": "src/components/Notice/CircleNotice/CircleNewDiscussionComments.tsx"
},
"znJ06J": {
"defaultMessage": "<a>About Nomad Matters</a>"
},
"zvNfwL": {
"defaultMessage": "Operation too frequent, please try again later.",
"description": "ACTION_LIMIT_EXCEEDED"
Expand Down
Loading

0 comments on commit e546642

Please sign in to comment.