/** @typedef {typeof en} HoursStrings */

const en = {
  weeklyTitle: "Hours",
  workbenchSubtitle: "Log and review time per day, week, or month.",
  submit: "Submit week",
  save: "Save",
  prevWeek: "Previous week",
  nextWeek: "Next week",
  prevDay: "Previous day",
  nextDay: "Next day",
  today: "Today",
  warningsTitle: "Reminders",
  dismissAll: "Dismiss",
  exportCsvHint: "Open Superadmin-safe CSV export requires hours.export.",
  viewDay: "Day",
  viewWeek: "Timesheet",
  viewMonth: "Month",
  viewList: "List",
  weekStripTotal: "Week total",
  weekNumber: "Week",
  calendarPick: "Go to date",
  quickAddHours: "Hours",
  quickProject: "Project",
  quickTask: "Task",
  quickCustomer: "Customer",
  quickInternal: "Internal category",
  quickRegistrationType: "Type",
  quickDescription: "Description",
  addEntry: "Add entry",
  startTimer: "Start timer",
  stopTimer: "Stop & add time",
  dayEmptyTitle: "No time on this day yet",
  dayEmptyHint: "Use the row above to add time.",
  targetLabel: "Target",
  approvalStatus: "Approval",
};

/** @type {(keyof typeof en)} */
export default en;

/** @param {string} dotPath */
export function t(dotPath) {
  return en[dotPath] ?? dotPath;
}
