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

Function tf

public/js/adminPanel.js:5260–5263  ·  view source on GitHub ↗
(key, fallback)

Source from the content-addressed store, hash-verified

5258
5259// Translate with fallback
5260const tf = (key, fallback) => {
5261 const v = t(key);
5262 return (v && v !== key) ? v : fallback;
5263};
5264function wireOidcDebugSnapshotButton(scope = document) {
5265 const btn = scope.querySelector('#oidcDebugSnapshotBtn');
5266 const box = scope.querySelector('#oidcDebugSnapshot');

Callers 15

initSourcesSectionFunction · 0.70
testStatusLabelFunction · 0.70
setTypeFunction · 0.70
resetFormFunction · 0.70
fillFormFunction · 0.70
renderListFunction · 0.70
loadSourcesFunction · 0.70
runSourceTestFunction · 0.70
initGatewaysSectionFunction · 0.70
apiGetFunction · 0.70
apiPostFunction · 0.70

Calls 1

tFunction · 0.85

Tested by

no test coverage detected