Skip to content

Commit

Permalink
chore: improving messaging on next available session (#3036)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Burtey <[email protected]>
  • Loading branch information
nicolasburtey and Nicolas Burtey authored Feb 8, 2024
1 parent f61a287 commit 8da2196
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/i18n/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2035,8 +2035,8 @@ const en: BaseTranslation = {
youEarned: "You Earned",
registerTitle: "Need to upgrade your account",
registerContent: "Register with your phone number to receive sats",
notYet: "Not yet",
availableTomorrow: "This section will be available tomorrow!",
oneSectionADay: "One section a day!",
availableTomorrow: "Come back tomorrow to continue learning about Bitcoin!",
motivatingBadger: "Dig your way through these lessons and earn as you learn",
},
GetStartedScreen: {
Expand Down
12 changes: 6 additions & 6 deletions app/i18n/i18n-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6265,11 +6265,11 @@ type RootTranslation = {
*/
registerContent: string
/**
* N​o​t​ ​y​e​t
* O​n​e​ ​s​e​c​t​i​o​n​ ​a​ ​d​a​y​!
*/
notYet: string
oneSectionADay: string
/**
* T​h​i​s​ ​s​e​c​t​i​o​n​ ​w​i​l​l​ ​b​e​ ​a​v​a​i​l​a​b​l​e​ ​t​o​m​o​r​r​o​w​!
* C​o​m​e​ ​b​a​c​k​ ​t​o​m​o​r​r​o​w​ ​t​o​ ​c​o​n​t​i​n​u​e​ ​l​e​a​r​n​i​n​g​ ​a​b​o​u​t​ ​B​i​t​c​o​i​n​!
*/
availableTomorrow: string
/**
Expand Down Expand Up @@ -15098,11 +15098,11 @@ export type TranslationFunctions = {
*/
registerContent: () => LocalizedString
/**
* Not yet
* One section a day!
*/
notYet: () => LocalizedString
oneSectionADay: () => LocalizedString
/**
* This section will be available tomorrow!
* Come back tomorrow to continue learning about Bitcoin!
*/
availableTomorrow: () => LocalizedString
/**
Expand Down
4 changes: 2 additions & 2 deletions app/i18n/raw-i18n/source/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1992,8 +1992,8 @@
"youEarned": "You Earned",
"registerTitle": "Need to upgrade your account",
"registerContent": "Register with your phone number to receive sats",
"notYet": "Not yet",
"availableTomorrow": "This section will be available tomorrow!",
"oneSectionADay": "One section a day!",
"availableTomorrow": "Come back tomorrow to continue learning about Bitcoin!",
"motivatingBadger": "Dig your way through these lessons and earn as you learn"
},
"GetStartedScreen": {
Expand Down
2 changes: 1 addition & 1 deletion app/screens/earns-map-screen/earns-map-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export const EarnMapScreen: React.FC = () => {

const onPress = () => {
nextSectionNotYetAvailable
? Alert.alert(LL.EarnScreen.notYet(), LL.EarnScreen.availableTomorrow())
? Alert.alert(LL.EarnScreen.oneSectionADay(), LL.EarnScreen.availableTomorrow())
: navigation.navigate("earnsSection", { section })
}

Expand Down

0 comments on commit 8da2196

Please sign in to comment.