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

Function tx

public/js/sharedFolderView.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 6

showUploadErrorFunction · 0.70
showProgressFunction · 0.70
setIndeterminateFunction · 0.70
setProgressFunction · 0.70
setErrorFunction · 0.70

Calls 1

tFunction · 0.85

Tested by

no test coverage detected