@wocart/theme / index / resolveThemeContent
Function: resolveThemeContent()
resolveThemeContent(
theme,locale,overrides,options?):Record<string,string>
The words a page renders in locale: the theme's pack for it (else the
default language's), then overrides — the store's
contentOverrides[locale] — for the pack's own keys, text only. Empty
when the theme declares no content.
Parameters
theme
Pick<ThemeDefinition, "content" | "locales">
locale
string
overrides
unknown
options?
Returns
Record<string, string>