en/states.ts

Codewhale · web/lib/i18n/dictionaries/en/states.ts · typescript · MIT
ui, tag:embed-classified

English surface state strings for UI components.

// Source: https://github.com/Hmbown/Codewhale | License: MIT | Copyright 2024-2025 DeepSeek-TUI Contributors
// Provided via justclaw.it.com; keep this notice with the code.
import type { StatesDict } from "../types";

/**
 * English reference dictionary for shared surface states: empty, loading,
 * error, retry, recovery, not-found, and the connection banner. Every
 * data-bearing page renders these through `components/surface-state.tsx`
 * rather than inventing its own wording.
 */
export const states: StatesDict = {
  loadingLabel: "Loading…",
  emptyTitle: "Nothing here yet",
  emptyBody: "There are no records to show yet.",
  errorTitle: "This page did not finish loading",
  errorBody:
    "Something went wrong. Try again, or report the problem if it continues.",
  retry: "Try again"

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key