Skip to content

Commit

Permalink
Merge pull request #1644 from numbersprotocol/fix-change-referral-mes…
Browse files Browse the repository at this point in the history
…sage-text

fix text for share referal code
  • Loading branch information
sultanmyrza authored May 27, 2022
2 parents cd99e5a + e107807 commit 7cb9afe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/app/shared/share/share.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ export class ShareService {

async shareReferralCode(referralCode: string) {
const text = this.translocoService.translate(
'invitation.myReferralCodeAtCaptureAppIs',
'invitation.useMyReferralCodeToSignUpForCaptureAppPassVerificationAndWeBothGetNumPointsReward',
{ referralCode: referralCode }
);

const urlToDownloadApp = 'https://www.numbersprotocol.io/#products';
return Share.share({ text: text + '\n' + urlToDownloadApp });
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
"invitation": "Invitation",
"shareInvitationCode": "Share invitation code",
"shareToGetRewarded": "Share to get rewarded",
"myReferralCodeAtCaptureAppIs": "My referral code at Capture App is {{referralCode}}"
"useMyReferralCodeToSignUpForCaptureAppPassVerificationAndWeBothGetNumPointsReward": "Use my referral code {{referralCode}} to sign up for Capture App, pass verification and we both get NUM Points reward!"
},
"gopro": {
"setup": "GoPro Setup",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
"invitation": "邀請",
"shareInvitationCode": "分享邀請碼",
"shareToGetRewarded": "分享以獲得獎勵",
"myReferralCodeAtCaptureAppIs": "我在 Capture App 的推薦代碼是 {{referralCode}}"
"useMyReferralCodeToSignUpForCaptureAppPassVerificationAndWeBothGetNumPointsReward": "透過我的推薦碼 {{referralCode}} 在 Capture App 註冊,一起獲得 NUM Points!"
},
"gopro": {
"setup": "GoPro 設置",
Expand Down

0 comments on commit 7cb9afe

Please sign in to comment.