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

const en = {
  weeklyTitle: "Hours",
  workbenchSubtitle: "Log and review time per day, week, or month.",
  historyTitle: "My hour history",
  approvalsTitle: "Hour approvals",
  reportsTitle: "Hour reports",
  submit: "Submit week",
  save: "Save",
  prevWeek: "Previous week",
  nextWeek: "Next week",
  prevDay: "Previous day",
  nextDay: "Next day",
  today: "Today",
  warningsTitle: "Reminders",
  dismissAll: "Dismiss",
  approve: "Approve",
  reject: "Reject",
  exportCsvHint: "Open Superadmin-safe CSV export requires hours.export.",
  /** View modes */
  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 or add lines in Timesheet.",
  targetLabel: "Target",
  approvalStatus: "Approval",
};

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

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