Skip to content
Snippets Groups Projects
labels.js 2.37 KiB
Newer Older
export const shared = {
  cancel: 'Cancel',
  save: 'Save',
  errorTitle: 'Error',
  successTitle: 'Success',
  warning: 'Warning'
}

Julia Friesel's avatar
Julia Friesel committed
export const settings = {
Julia Friesel's avatar
Julia Friesel committed
  export: {
    errors: {
      noData: 'There is no data to export',
      couldNotConvert: 'Could not convert data to CSV',
      problemSharing: 'There was a problem sharing the data export file'
    },
    title: 'My Drip data export',
    subject: 'My Drip data export',
    button: 'Export data',
Julia Friesel's avatar
Julia Friesel committed
    segmentExplainer: 'Export data in CSV format for backup or so you can use it elsewhere'
Julia Friesel's avatar
Julia Friesel committed
  },
  import: {
    button: 'Import data',
    title: 'Keep existing data?',
    message: `There are two options for the import:
1. Keep existing cycle days and replace only the ones in the import file.
2. Delete all existing cycle days and import cycle days from file.`,
    replaceOption: 'Import and replace',
    deleteOption: 'Import and delete existing',
    errors: {
      couldNotOpenFile: 'Could not open file',
      postFix: 'No data was imported or changed'
    },
    success: {
      message: 'Data successfully imported'
Julia Friesel's avatar
Julia Friesel committed
    },
    segmentExplainer: 'Import data in CSV format'
Julia Friesel's avatar
Julia Friesel committed
    segmentTitle: 'Temperature scale',
Julia Friesel's avatar
Julia Friesel committed
    segmentExplainer: 'Change the minimum and maximum value for the temperature chart',
    max: 'Max',
    loadError: 'Could not load saved temperature scale settings',
    saveError: 'Could not save temperature scale settings'
Julia Friesel's avatar
Julia Friesel committed
  },
  tempReminder: {
    title: 'Temperature reminder',
    noTimeSet: 'Set a time for a daily reminder to take your temperature',
    timeSet: time => `Daily reminder set for ${time}`
Julia Friesel's avatar
Julia Friesel committed
  }
Julia Friesel's avatar
Julia Friesel committed
}

export const headerTitles = {
  Home: 'Home',
  Calendar: 'Calendar',
  Chart: 'Chart',
  Stats: 'Statistics',
  Settings: 'Settings',
  BleedingEditView: 'Bleeding',
  TemperatureEditView: 'Temperature',
  MucusEditView: 'Mucus',
  CervixEditView: 'Cervix',
  NoteEditView: 'Note',
  DesireEditView: 'Desire',
  SexEditView: 'Sex'
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'
Julia Friesel's avatar
Julia Friesel committed
}