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

Function tr

public/js/trashRestoreDelete.js:45–49  ·  view source on GitHub ↗
(key, fallback)

Source from the content-addressed store, hash-verified

43}
44
45function tr(key, fallback) {
46 const translated = t(key);
47 if (!translated || translated === key) return fallback;
48 return translated;
49}
50
51function getModalElements() {
52 return {

Callers 7

updateTrashSourceHintFunction · 0.85
buildTrashRowFunction · 0.85
renderTrashListFunction · 0.85
deleteAllTrashItemsFunction · 0.85
confirmEmptyRecycleBinFunction · 0.85
setupTrashRestoreDeleteFunction · 0.85
loadTrashItemsFunction · 0.85

Calls 1

tFunction · 0.85

Tested by

no test coverage detected