162 Use translation function in home component
This commit is contained in:
@@ -4,9 +4,6 @@ const settingsTitles = labels.menuItems
|
||||
export const home = {
|
||||
unknown: '?',
|
||||
phase: n => `${['1st', '2nd', '3rd'][n - 1]} cycle phase`,
|
||||
cycleDay: ' day of your cycle',
|
||||
cyclePhase: ' cycle phase - ',
|
||||
addData: 'add data for today'
|
||||
}
|
||||
|
||||
export const chart = {
|
||||
@@ -69,7 +66,6 @@ export const stats = {
|
||||
}
|
||||
|
||||
export const bleedingPrediction = {
|
||||
noPrediction: `As soon as you have tracked 3 menstrual cycles, drip will make predictions for the next ones.`,
|
||||
predictionInFuture: (startDays, endDays) => `Your next period is likely to start in ${startDays} to ${endDays} days.`,
|
||||
predictionStartedXDaysLeft: (numberOfDays) => `Your period is likely to start today or within the next ${numberOfDays} days.`,
|
||||
predictionStarted1DayLeft: 'Your period is likely to start today or tomorrow.',
|
||||
|
||||
Reference in New Issue
Block a user