MCPcopy Index your code
hub / github.com/hoothin/UserScripts / getI18n

Function getI18n

DownloadAllContent/DownloadAllContent.user.js:1692–1700  ·  view source on GitHub ↗
(key, args)

Source from the content-addressed store, hash-verified

1690 }
1691
1692 function getI18n(key, args){
1693 var resultStr=i18n[key];
1694 if(args && args.length>0){
1695 args.forEach(function(item){
1696 resultStr=resultStr.replace(/%s/,item);
1697 });
1698 }
1699 return resultStr;
1700 }
1701
1702 function getDepth(dom){
1703 var pa=dom,i=0;

Callers 2

initTxtDownDivFunction · 0.85
cbFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected