MCPcopy
hub / github.com/chenyme/grok2api / text

Function text

app/statics/js/admin-header.js:120–124  ·  view source on GitHub ↗
(key, fallback, params)

Source from the content-addressed store, hash-verified

118 };
119
120 const text = (key, fallback, params) => {
121 if (typeof window.t !== 'function') return fallback;
122 const value = t(key, params);
123 return value === key ? fallback : value;
124 };
125
126 const formatDateTime = (value) => {
127 if (!value) return '-';

Callers 2

renderReleaseNotesFunction · 0.70
renderVersionModalFunction · 0.70

Calls 1

tFunction · 0.85

Tested by

no test coverage detected