MCPcopy Create free account
hub / github.com/DenOfEquity/ersatzForge / hasLocalization

Function hasLocalization

javascript/localization.js:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25var translated_lines = {};
26
27function hasLocalization() {
28 return window.localization && Object.keys(window.localization).length > 0;
29}
30
31function textNodesUnder(el) {
32 var n, a = [], walk = document.createTreeWalker(el, NodeFilter.SHOW_TEXT, null, false);

Callers 2

dumpTranslationsFunction · 0.85
localization.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected