extracts stats strings and improves copy

This commit is contained in:
tina
2018-08-15 18:49:45 +02:00
parent f2b8723fb9
commit 392e09fb8d
3 changed files with 66 additions and 21 deletions
+11
View File
@@ -7,4 +7,15 @@ export const settings = {
exportTitle: 'My Drip data export',
exportSubject: 'My Drip data export',
buttonLabel: 'Export data'
}
export const stats = {
emptyStats: 'At least one completed cycle is needed to present you with stats here.',
oneCycleStats: (number) => `You have documented one cycle of ${number} days.`,
getBasisOfStats: (numberOfCycles) => `Stats are based on ${numberOfCycles} completed cycles.`,
daysLabel: 'days',
averageLabel: 'Average cycle length',
minLabel: 'Shortest cycle',
maxLabel: 'Longest cycle',
stdLabel: 'Standard deviation'
}