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

const en = {
  weeklyTitle: "Weekly timesheet",
  historyTitle: "My hour history",
  approvalsTitle: "Hour approvals",
  reportsTitle: "Hour reports",
  submit: "Submit week",
  save: "Save",
  prevWeek: "Previous week",
  nextWeek: "Next week",
  warningsTitle: "Reminders",
  dismissAll: "Dismiss",
  approve: "Approve",
  reject: "Reject",
  exportCsvHint: "Open Superadmin-safe CSV export requires hours.export.",
};

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

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