Skip to main content

Variable: UI_MESSAGES

const UI_MESSAGES: {
ERROR_CLOSE_BUTTON: "Close";
LOADING: "Loading...";
SITE_COUNT_LABEL: "Monitored Sites";
UPDATE_AVAILABLE: "A new update is available. Downloading...";
UPDATE_DISMISS_BUTTON: "Dismiss";
UPDATE_DOWNLOADED: "Update downloaded! Restart to apply.";
UPDATE_DOWNLOADING: "Update is downloading...";
UPDATE_ERROR_FALLBACK: "Update failed.";
UPDATE_RESTART_BUTTON: "Restart Now";
};

Defined in: src/app/appUiMessages.ts:8

UI message constants for the root app shell.

Type Declarationโ€‹

ERROR_CLOSE_BUTTONโ€‹

readonly ERROR_CLOSE_BUTTON: "Close" = "Close";

LOADINGโ€‹

readonly LOADING: "Loading..." = "Loading...";

SITE_COUNT_LABELโ€‹

readonly SITE_COUNT_LABEL: "Monitored Sites" = "Monitored Sites";

UPDATE_AVAILABLEโ€‹

readonly UPDATE_AVAILABLE: "A new update is available. Downloading..." = "A new update is available. Downloading...";

UPDATE_DISMISS_BUTTONโ€‹

readonly UPDATE_DISMISS_BUTTON: "Dismiss" = "Dismiss";

UPDATE_DOWNLOADEDโ€‹

readonly UPDATE_DOWNLOADED: "Update downloaded! Restart to apply." = "Update downloaded! Restart to apply.";

UPDATE_DOWNLOADINGโ€‹

readonly UPDATE_DOWNLOADING: "Update is downloading..." = "Update is downloading...";

UPDATE_ERROR_FALLBACKโ€‹

readonly UPDATE_ERROR_FALLBACK: "Update failed." = "Update failed.";

UPDATE_RESTART_BUTTONโ€‹

readonly UPDATE_RESTART_BUTTON: "Restart Now" = "Restart Now";

Remarksโ€‹

Centralizing strings here keeps App.tsx focused on orchestration and makes future localization easier.