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 12, 2023
1 parent b30eab7 commit 8688a7f
Show file tree
Hide file tree
Showing 11 changed files with 127 additions and 110 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=
35 changes: 19 additions & 16 deletions lang/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"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 +311,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 +329,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 +347,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 +622,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 @@ -779,6 +776,9 @@
"KQi/UZ": {
"defaultMessage": "Archive works"
},
"KXOkR3": {
"defaultMessage": "<a>Click here for the Nomad Matters and Badge Introduction.</a>"
},
"KlJEP9": {
"defaultMessage": "Wallet connected",
"description": "src/components/Forms/WalletAuthForm/Connect.tsx"
Expand Down Expand Up @@ -978,6 +978,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 +1044,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 @@ -1231,10 +1237,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 @@ -1557,6 +1559,10 @@
"defaultMessage": "Remove",
"description": "src/components/Dialogs/RemoveArticleCollectionDialog/index.tsx"
},
"l+lNX/": {
"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.",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"l/f7bu": {
"defaultMessage": "Want to know more? Check the",
"description": "src/views/Me/Analytics/EmptyAnalytics/index.tsx"
Expand Down Expand Up @@ -1803,9 +1809,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
35 changes: 19 additions & 16 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"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 +311,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 +329,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 +347,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 +622,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 @@ -779,6 +776,9 @@
"KQi/UZ": {
"defaultMessage": "Archive works"
},
"KXOkR3": {
"defaultMessage": "<a>Click here for the Nomad Matters and Badge Introduction.</a>"
},
"KlJEP9": {
"defaultMessage": "Wallet connected",
"description": "src/components/Forms/WalletAuthForm/Connect.tsx"
Expand Down Expand Up @@ -978,6 +978,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 +1044,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 @@ -1231,10 +1237,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 @@ -1557,6 +1559,10 @@
"defaultMessage": "Remove",
"description": "src/components/Dialogs/RemoveArticleCollectionDialog/index.tsx"
},
"l+lNX/": {
"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.",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"l/f7bu": {
"defaultMessage": "Want to know more? Check the",
"description": "src/views/Me/Analytics/EmptyAnalytics/index.tsx"
Expand Down Expand Up @@ -1803,9 +1809,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
35 changes: 19 additions & 16 deletions lang/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"defaultMessage": "请先验证邮箱",
"description": "src/views/Me/Settings/Settings/Password/index.tsx"
},
"+56XIp": {
"defaultMessage": "LV1 月之梦"
},
"+63O1f": {
"defaultMessage": "邮箱或密码错误",
"description": "USER_PASSWORD_INVALID"
Expand Down Expand Up @@ -314,6 +311,9 @@
"defaultMessage": "出错了,请检查你输入的内容",
"description": "BAD_USER_INPUT"
},
"76yoL6": {
"defaultMessage": "月之梦"
},
"77tYPg": {
"defaultMessage": "确认删除后,{commentType}会立即消失。",
"description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx"
Expand All @@ -329,9 +329,6 @@
"defaultMessage": "确认要删除草稿吗?",
"description": "src/components/DraftDigest/Feed/DeleteButton.tsx"
},
"7ZXP9S": {
"defaultMessage": "LV2 流星号"
},
"7cwoRo": {
"defaultMessage": "因为作者设置,你无法参与讨论。"
},
Expand All @@ -350,6 +347,9 @@
"8KFsZN": {
"defaultMessage": "阅读次数"
},
"8MeJ4b": {
"defaultMessage": "光轮号"
},
"8UWUW8": {
"defaultMessage": "关联作品",
"description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx"
Expand Down Expand Up @@ -622,9 +622,6 @@
"defaultMessage": "选集已刪除",
"description": "src/components/CollectionDigest/DropdownActions/DeleteCollection/Dialog.tsx"
},
"FuU2MU": {
"defaultMessage": "LV4 火闪电"
},
"FxrSCh": {
"defaultMessage": "ID 设置后无法修改,确认使用 {id} 作为 Matters ID 吗?",
"description": "src/components/Dialogs/SetUserNameDialog/ConfirmStep.tsx"
Expand Down Expand Up @@ -779,6 +776,9 @@
"KQi/UZ": {
"defaultMessage": "归档作品"
},
"KXOkR3": {
"defaultMessage": "<a>關於遊牧者計畫</a>"
},
"KlJEP9": {
"defaultMessage": "钱包已绑定",
"description": "src/components/Forms/WalletAuthForm/Connect.tsx"
Expand Down Expand Up @@ -978,6 +978,9 @@
"defaultMessage": "请先绑定邮箱",
"description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx"
},
"Rc4Oij": {
"defaultMessage": "火闪电"
},
"Ro0CuW": {
"defaultMessage": "你尚无权限进行该操作",
"description": "FORBIDDEN"
Expand Down Expand Up @@ -1041,6 +1044,9 @@
"TF1OhT": {
"defaultMessage": "临时密码已过期,请尝试重新发送"
},
"TKsfIS": {
"defaultMessage": "流星号"
},
"TSDiqB": {
"defaultMessage": "付费人数",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
Expand Down Expand Up @@ -1231,10 +1237,6 @@
"defaultMessage": "开始创作",
"description": "src/components/Buttons/StartWriting/index.tsx"
},
"Z31Fz+": {
"defaultMessage": "月色之下梦想即将实现,月之梦徽章代表你参与了游牧者计画(参赛或支持了优质计画)。接下来邀请 5 位伙伴一同踏上旅程,将获得更高等级的徽章。 <a>如何邀请伙伴?点此看最后一段</a>",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"ZAs170": {
"defaultMessage": "基本资料",
"description": "src/views/Circle/Settings/index.tsx"
Expand Down Expand Up @@ -1557,6 +1559,10 @@
"defaultMessage": "确认移出",
"description": "src/components/Dialogs/RemoveArticleCollectionDialog/index.tsx"
},
"l+lNX/": {
"defaultMessage": "月色之下梦想即将实现,月之梦徽章代表你参与了游牧者计画,可能是参赛或支持了优质计画。接下来邀请 5 位伙伴一同踏上旅程,将获得更高等级的徽章。",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"l/f7bu": {
"defaultMessage": "想了解更多?詳見 ",
"description": "src/views/Me/Analytics/EmptyAnalytics/index.tsx"
Expand Down Expand Up @@ -1803,9 +1809,6 @@
"defaultMessage": "此文已被{actor}标示为限制级内容,是否确定展开全文?",
"description": "src/views/ArticleDetail/Wall/Sensitive/index.tsx"
},
"sLiIAz": {
"defaultMessage": "LV3 光轮号"
},
"sPgUkN": {
"defaultMessage": "本月营收",
"description": "src/views/Circle/Analytics/IncomeAnalytics/index.tsx"
Expand Down
Loading

0 comments on commit 8688a7f

Please sign in to comment.