/** * Locale resource type definition for multilingual support in the PDF viewer. * Each language JSON file (en.json, ja.json, etc.) conforms to this interface. */ export default interface Language { /** Label strings for UI actions (buttons and operations). */ action: { /** Label for the cancel action. */ cancel: string; /** Label for the close action. */ close: string; /** Label for PDF download. */ download: string; /** Label for entering fullscreen mode. */ enterFullscreen: string; /** Label for exiting fullscreen mode. */ exitFullscreen: string; /** Label for the "fit to page" zoom mode. */ fitToPage: string; /** Label for the "fit to width" zoom mode. */ fitToWidth: string; /** Label for navigating to the previous page. */ pagePrev: string; /** Label for navigating to the next page. */ pageNext: string; /** Label for PDF printing. */ print: string; /** Label for the OK button. */ ok: string; /** Label for the submit button. */ submit: string; /** Label for zoom in. */ zoomIn: string; /** Label for zoom out. */ zoomOut: string; /** Label for zoom controls. */ zoomControls: string; /** Label for switching to dark mode. */ darkMode: string; /** Label for switching to light mode. */ lightMode: string; }; /** Names of UI components. */ component: { /** Label for the thumbnail panel. */ thumbnailPanel: string; /** Label for the zoom overlay. */ zoomOverlay: string; }; /** User-facing message strings. */ message: { /** Error message when PDF loading fails. */ badDocument: string; /** Prompt message for password entry. */ enterPassword: string; /** Error message when the password is incorrect. */ incorrectPassword: string; /** Message for unsupported environments. */ notSupported: string; /** Title string for the password required dialog. */ passwordRequired: string; /** Warning message. */ warning: string; }; /** Display strings for keyboard shortcuts. */ shortcut: { /** Shortcut display for zoom in. */ zoomIn: string; /** Shortcut display for zoom out. */ zoomOut: string; }; }