MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / t

Function t

apps/desktop/main/i18n/index.ts:71–71  ·  view source on GitHub ↗
(key: string, options?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

69 * @param options 插值参数,如 { version: '1.0.0' }
70 */
71export const t = (key: string, options?: Record<string, unknown>): string => i18next.t(key, options)
72
73/**
74 * 获取当前 locale

Callers 15

checkUpdateFunction · 0.90
simulateUpdateDialogFunction · 0.90
checkDatabaseIntegrityFunction · 0.90
getPendingMigrationInfosFunction · 0.90
resolveProviderNameFunction · 0.90
addConfigFunction · 0.90
updateConfigFunction · 0.90
deleteConfigFunction · 0.90
setDefaultAssistantModelFunction · 0.90
setFastModelFunction · 0.90
llmCompleteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected