Skip to content

Commit

Permalink
chore(wallet-mobile): update catalyst text
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Nov 19, 2024
1 parent dc27be6 commit f74daf7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const useStrings = () => {
iUnderstandButton: intl.formatMessage(confirmationMessages.commonButtons.iUnderstandButton),
attention: intl.formatMessage(globalMessages.attention),
registrationStart: intl.formatMessage(messages.registrationStart),
snapshotStart: intl.formatMessage(messages.snapshotStart),
votingStart: intl.formatMessage(messages.votingStart),
votingEnd: intl.formatMessage(messages.votingEnd),
votingResults: intl.formatMessage(messages.votingResults),
Expand Down Expand Up @@ -71,6 +72,10 @@ const messages = defineMessages({
id: 'catalyst.registration.start',
defaultMessage: '!!!Registration start',
},
snapshotStart: {
id: 'catalyst.snapshot.start',
defaultMessage: '!!!Snapshot start',
},
votingStart: {
id: 'catalyst.voting.start',
defaultMessage: '!!!Voting start',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const DownloadCatalystAppScreen = () => {
}, [openModal, stakingInfo?.status, strings.attention])

const fundName = fund.info.fundName
const registrationStart = `${formatDate(fund.info.snapshotStart)}: ${strings.registrationStart}`
const registrationStart = `${formatDate(fund.info.snapshotStart)}: ${strings.snapshotStart}`
const votingStart = `${formatDate(fund.info.votingStart)}: ${strings.votingStart}`
const votingEnd = `${formatDate(fund.info.votingEnd)}: ${strings.votingEnd}`
const votingResults = `${formatDate(fund.info.tallyingEnd)}: ${strings.votingResults}`
Expand Down
1 change: 1 addition & 0 deletions apps/wallet-mobile/src/kernel/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"api.error.tooManyRequests": "Too many requests, wait a bit and try again",
"api.error.unauthorized": "You are not authorized to access this resource",
"api.error.unknown": "An error that is unknown for the app happened, please try again",
"catalyst.snapshot.start": "Snapshot start",
"catalyst.registration.start": "Registration start",
"catalyst.voting.start": "Voting start",
"catalyst.voting.end": "Voting end",
Expand Down

0 comments on commit f74daf7

Please sign in to comment.