MCPcopy
hub / github.com/koala73/worldmonitor / t

Function t

src/services/i18n.ts:104–106  ·  view source on GitHub ↗
(key: string, options?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

102
103// Helper to translate
104export function t(key: string, options?: Record<string, unknown>): string {
105 return i18next.t(key, options);
106}
107
108// Helper to change language
109export async function changeLanguage(lng: string): Promise<void> {

Callers 15

getLocalizedPanelNameFunction · 0.90
initSettingsWindowFunction · 0.90
initLiveChannelsWindowFunction · 0.90
showEditFormFunction · 0.90
renderAvailableChannelsFunction · 0.90
invokeDesktopActionFunction · 0.90
renderOverviewFunction · 0.90
initOverviewListenersFunction · 0.90
renderDebugFunction · 0.90
initDiagnosticsFunction · 0.90
refreshTrafficLogFunction · 0.90
initSettingsWindowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected