MCPcopy
hub / github.com/xcanwin/KeepChatGPT / tl

Function tl

KeepChatGPT.user.js:232–244  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

230 const [langIndex, langLocal, language] = getLang();
231
232 const tl = function (s) {
233 let r;
234 try {
235 const i = langIndex[s];
236 r = langLocal[i];
237 } catch (e) {
238 r = s;
239 }
240 if (r === undefined) {
241 r = s;
242 }
243 return r;
244 };
245
246 class IndexedDB {
247 constructor(dbName, storeName) {

Callers 7

getMenuGroupsFunction · 0.85
loadMenuFunction · 0.85
hookFetchFunction · 0.85
hookXHRFunction · 0.85
checkForUpdatesFunction · 0.85
scanPromptFunction · 0.85
supportAuthorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected