MCPcopy Create free account
hub / github.com/error311/FileRise / tx

Function tx

public/js/sharedDropView.js:12–18  ·  view source on GitHub ↗
(key, placeholders, fallback)

Source from the content-addressed store, hash-verified

10 }
11
12 const tx = (key, placeholders, fallback) => {
13 const out = t(key, placeholders);
14 if (out === key && typeof fallback === 'string') {
15 return fallback;
16 }
17 return out;
18 };
19
20 const dataEl = document.getElementById('shared-data');
21 if (!dataEl) return;

Callers 10

showDropUploadErrorFunction · 0.70
renderBreadcrumbsFunction · 0.70
renderRulesFunction · 0.70
xhrJsonFunction · 0.70
ensureRowFunction · 0.70
setItemStatusFunction · 0.70
validateQueueItemFunction · 0.70
uploadItemFunction · 0.70
runQueueFunction · 0.70
enqueueFilesFunction · 0.70

Calls 1

tFunction · 0.85

Tested by

no test coverage detected