memos/web/src/components/Placeholder/messages.ts
2026-05-14 00:03:21 +08:00

10 lines
365 B
TypeScript

// Future i18n: swap these for `t("placeholder.<variant>")` lookups via
// react-i18next without touching the component.
export const DEFAULT_MESSAGES = {
empty: "No memos yet",
loading: "Loading…",
noResults: "Nothing matches that search",
notFound: "This page flew the coop",
} as const;
export type PlaceholderVariant = keyof typeof DEFAULT_MESSAGES;