MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getLocalizedMessage

Function getLocalizedMessage

src/core/config/routerRemoval.ts:13–16  ·  view source on GitHub ↗
(key: string, defaultValue: string)

Source from the content-addressed store, hash-verified

11 "Roo Code Cloud sign-in is currently unavailable. Configure another provider to continue."
12
13function getLocalizedMessage(key: string, defaultValue: string) {
14 const translated = t(key, { defaultValue })
15 return translated === key ? defaultValue : translated
16}
17
18export const getRouterRemovalMessage = () =>
19 getLocalizedMessage(ROUTER_REMOVAL_I18N_KEY, ROUTER_REMOVAL_DEFAULT_MESSAGE)

Callers 2

getRouterRemovalMessageFunction · 0.85

Calls 1

tFunction · 0.90

Tested by

no test coverage detected