Skip to content

lightweight, client-only calendar web application. All data persists in the URL hash for instant sharing, No backend required. Optional AES-GCM password protection keeps shared links locked without a server

JavaScript
10.6 KB
Raw Blame
export default {
  // Navigation
  "nav.prev": "Prev",
  "nav.today": "Today",
  "nav.next": "Next",
  "nav.prevMonth": "Previous month",
  "nav.nextMonth": "Next month",

  // View toggles
  "view.day": "Day",
  "view.week": "Week",
  "view.month": "Month",
  "view.year": "Year",
  "view.agenda": "Agenda",
  "view.timeline": "Timeline",

  // Command palette
  "command.openPaletteAria": "Open command palette",
  "command.shortcutHint": "Ctrl/Cmd+K",
  "command.paletteTitle": "Command palette",
  "command.searchPlaceholder": "Search commands and events",
  "command.searchAriaLabel": "Search commands and events",
  "command.noResults": "No matches",
  "command.groupViews": "View",
  "command.groupTools": "Tool",
  "command.groupActions": "Action",
  "command.actionAddEvent": "Add event",
  "command.actionViewDay": "Switch to Day view",
  "command.actionViewWeek": "Switch to Week view",
  "command.actionViewMonth": "Switch to Month view",
  "command.actionViewYear": "Switch to Year view",
  "command.actionViewAgenda": "Switch to Agenda view",
  "command.actionViewTimeline": "Switch to Timeline view",
  "command.actionWorldPlanner": "Open World Planner",
  "command.actionTimezone": "Add timezone",
  "command.actionEnterFocus": "Enter Focus mode",
  "command.actionExitFocus": "Exit Focus mode",
  "command.actionCopyLink": "Copy share link",
  "command.actionShareQr": "Open QR sharing",
  "command.actionOpenJson": "Open JSON view",

  // Event filters
  "filter.searchLabel": "Search events",
  "filter.searchPlaceholder": "Search title",
  "filter.searchAriaLabel": "Search events by title",
  "filter.fromLabel": "From",
  "filter.fromAriaLabel": "Filter events from date",
  "filter.toLabel": "To",
  "filter.toAriaLabel": "Filter events to date",
  "filter.recurrenceLabel": "Recurrence",
  "filter.recurrenceAriaLabel": "Filter recurrence",
  "filter.anyRecurrence": "Any",
  "filter.colorLabel": "Color",
  "filter.colorAriaLabel": "Filter color",
  "filter.anyColor": "Any color",
  "filter.colorOption": "Color {{index}} ({{color}})",
  "filter.timezoneLabel": "Timezone",
  "filter.timezoneAriaLabel": "Timezone context for date filter",
  "filter.localTimezone": "Local timezone",
  "filter.clear": "Clear",

  // Action buttons
  "btn.addEvent": "Add event",
  "btn.copyLink": "Copy link",
  "btn.shareQr": "Share QR",
  "btn.lock": "Lock",
  "btn.unlock": "Unlock",
  "btn.removeLock": "Remove lock",
  "btn.readOnly": "Read only",
  "btn.editMode": "Edit mode",
  "btn.focus": "Focus",
  "btn.exitFocus": "Exit focus",
  "btn.save": "Save",
  "btn.cancel": "Cancel",
  "btn.delete": "Delete",
  "btn.addEventForDay": "Add event for this day",
  "btn.viewJson": "View JSON",
  "btn.exportJson": "Export JSON",
  "btn.importIcs": "Import .ics",
  "btn.clearCalendar": "Clear calendar",
  "btn.addTimezone": "Add timezone",
  "btn.gotIt": "Got it",
  "btn.copyJson": "Copy JSON",
  "btn.copyHash": "Copy hash",
  "btn.downloadJson": "Download JSON",
  "btn.copyTextLink": "Copy text link instead",
  "btn.worldPlanner": "Planner",
  "btn.templateGallery": "Template gallery",
  "planner.notFound": "Timezone not found",
  "planner.homeTitle": "Make Home",
  "planner.removeTitle": "Remove",
  "launcher.ariaLabel": "App Launcher",
  "launcher.appsTitle": "Apps",
  "app.calendar": "Hash Calendar",
  "app.spreadsheet": "Spreadsheet Live",

  // Modal titles
  "modal.addEvent": "Add event",
  "modal.editEvent": "Edit event",
  "modal.unlockCalendar": "Unlock calendar",
  "modal.setPassword": "Set password",
  "modal.shareData": "Share data",
  "modal.scanQr": "Scan to open on mobile",
  "modal.selectTimezone": "Select timezone",
  "modal.worldPlanner": "World Planner",
  "modal.templateGallery": "Template gallery",

  // Event form fields
  "event.title": "Title",
  "event.date": "Start Date",
  "event.start": "Start Time",
  "event.endDate": "End Date",
  "event.end": "End Time",
  "event.duration": "Duration (mins)",
  "event.allDay": "All day",
  "event.recurrence": "Recurrence",
  "event.color": "Color",

  // Recurrence options
  "recurrence.none": "None",
  "recurrence.daily": "Daily",
  "recurrence.weekly": "Weekly",
  "recurrence.monthly": "Monthly",
  "recurrence.yearly": "Yearly",

  // Password form
  "password.password": "Password",
  "password.confirmPassword": "Confirm password",
  "password.setDesc": "Add a password so only people with the link and password can read this calendar.",
  "password.unlockDesc": "Enter the password to decrypt this calendar.",
  "password.required": "Password is required.",
  "password.mismatch": "Passwords do not match.",

  // Side panel sections
  "panel.selectedDay": "Selected day",
  "panel.shareExport": "Share and export",
  "panel.dangerZone": "Danger zone",
  "panel.urlLength": "URL length",
  "panel.urlWarning": "Warning: long URLs may get truncated when shared.",

  // Template gallery
  "template.modalHint": "Pick a starter template and open it in a fresh calendar.",
  "template.useTemplate": "Open template",

  // Timezone/world clock
  "tz.worldClock": "World Clock",
  "tz.subtitle": "Local time plus saved zones",
  "tz.search": "Search",
  "tz.searchPlaceholder": "Search (e.g. London)",
  "tz.noMatches": "No matches yet. Try a city, region, or UTC+5:30.",
  "tz.addToCompare": "Add a timezone to compare.",
  "tz.notSupported": "Timezone search isn't supported in this browser.",

  // Focus mode
  "focus.nextUpIn": "NEXT UP IN",
  "focus.allClear": "ALL CLEAR",
  "focus.inProgress": "IN PROGRESS",
  "focus.noUpcoming": "No upcoming events",
  "focus.upLater": "Up later",

  // Calendar display
  "calendar.allDay": "All day",
  "calendar.moreEvents": "+{{count}} more",
  "calendar.noUpcoming": "No upcoming events",
  "calendar.noEvents": "No events yet.",

  // Settings
  "settings.weekStartsSunday": "Week starts Sunday",
  "settings.weekStartsMonday": "Week starts Monday",
  "settings.themeLight": "Theme: Light",
  "settings.themeDark": "Theme: Dark",
  "settings.notificationsOff": "Notifications: Off",
  "settings.notificationsOn": "Notifications: On",
  "settings.timeFormat12h": "Time: 12h",
  "settings.timeFormat24h": "Time: 24h",
  "settings.notificationsBlocked": "Notifications: Blocked",
  "settings.notificationsUnsupported": "Notifications unsupported",
  "settings.language": "Language",

  // Language names
  "lang.en": "English",
  "lang.fr": "French",
  "lang.it": "Italian",
  "lang.si": "සිංහල",
  "lang.ta": "தமிழ்",

  // Toast messages
  "toast.linkCopied": "Link copied",
  "toast.eventsImported": "Events imported",
  "toast.eventDeleted": "Event deleted",
  "toast.eventsCleared": "Events cleared",
  "toast.jsonCopied": "JSON copied",
  "toast.hashCopied": "Hash copied",
  "toast.lockRemoved": "Lock removed",
  "toast.calendarLocked": "Calendar locked",
  "toast.calendarUnlocked": "Calendar unlocked",
  "toast.readOnlyEnabled": "Read-only mode enabled",
  "toast.editModeEnabled": "Edit mode enabled",
  "toast.readOnlyActive": "Read-only mode is on. Switch back to edit mode to make changes.",
  "toast.notificationsEnabled": "30-minute reminders enabled",
  "toast.notificationsDisabled": "30-minute reminders disabled",
  "toast.notificationsBlocked": "Browser notifications are blocked for this site",
  "toast.incorrectPassword": "Incorrect password",
  "toast.unableToCopyLink": "Unable to copy link",
  "toast.unableToCopyJson": "Unable to copy JSON",
  "toast.unableToCopyHash": "Unable to copy hash",
  "toast.noEventsFound": "No events found",
  "toast.qrLibraryFailed": "QR library failed to load",
  "toast.qrError": "Error generating QR code",

  // Confirmation dialogs
  "confirm.deleteEvent": "Delete this event?",
  "confirm.clearAll": "Clear all events? This cannot be undone.",
  "confirm.removeLock": "Remove password protection? This will store data unencrypted in the URL.",
  "confirm.openTemplate": "Open this template in a fresh calendar? This will replace your current URL state.",

  // Mobile warning
  "mobile.title": "Mobile view notice",
  "mobile.message": "This app isn't optimized for mobile and tab view yet.",

  // QR modal
  "qr.warning": "Warning: URL is {{length}} characters. Some QR scanners may struggle with codes this large.",
  "qr.helper": "Point your phone camera at this code to open your calendar.",

  // JSON modal
  "json.urlHash": "URL hash",
  "json.jsonData": "JSON data",

  // Locked overlay
  "locked.title": "Encrypted calendar",
  "locked.message": "Enter the password to unlock and edit this calendar.",

  // Labels
  "label.details": "Details",
  "label.events": "Events",
  "label.clock": "Clock",
  "label.calendar": "Calendar",
  "label.language": "Language",
  "label.close": "Close",
  "label.menu": "Menu",
  "label.views": "Views",
  "label.actions": "Actions",
  "label.settings": "Settings",

  // Countdown widget
  "countdown.upNext": "Up Next",
  "countdown.startsAt": "Starts at {{time}}",
  "countdown.starts": "Starts {{date}} at {{time}}",

  // Browser notifications
  "notify.upcomingTitle": "{{title}} starts soon",
  "notify.upcomingBody": "Starts at {{time}} (in 30 minutes)",

  // Agenda view
  "agenda.title": "Agenda",
  "agenda.rangeLabel": "Agenda · {{range}}",

  // Brand
  "brand.subtitle": "Serverless privacy calendar. Your URL is the save file.",

  // World Planner
  "planner.addTimezone": "Add timezone (e.g. London)",

  // Month names
  "month.january": "January",
  "month.february": "February",
  "month.march": "March",
  "month.april": "April",
  "month.may": "May",
  "month.june": "June",
  "month.july": "July",
  "month.august": "August",
  "month.september": "September",
  "month.october": "October",
  "month.november": "November",
  "month.december": "December",

  // Short month names
  "month.short.jan": "Jan",
  "month.short.feb": "Feb",
  "month.short.mar": "Mar",
  "month.short.apr": "Apr",
  "month.short.may": "May",
  "month.short.jun": "Jun",
  "month.short.jul": "Jul",
  "month.short.aug": "Aug",
  "month.short.sep": "Sep",
  "month.short.oct": "Oct",
  "month.short.nov": "Nov",
  "month.short.dec": "Dec",

  // Weekday names
  "weekday.sunday": "Sunday",
  "weekday.monday": "Monday",
  "weekday.tuesday": "Tuesday",
  "weekday.wednesday": "Wednesday",
  "weekday.thursday": "Thursday",
  "weekday.friday": "Friday",
  "weekday.saturday": "Saturday",

  // Short weekday names
  "weekday.short.sun": "Sun",
  "weekday.short.mon": "Mon",
  "weekday.short.tue": "Tue",
  "weekday.short.wed": "Wed",
  "weekday.short.thu": "Thu",
  "weekday.short.fri": "Fri",
  "weekday.short.sat": "Sat",

  // Narrow weekday names (for year view)
  "weekday.narrow.sun": "S",
  "weekday.narrow.mon": "M",
  "weekday.narrow.tue": "T",
  "weekday.narrow.wed": "W",
  "weekday.narrow.thu": "T",
  "weekday.narrow.fri": "F",
  "weekday.narrow.sat": "S",
};