MCPcopy Create free account
hub / github.com/codecombat/codecombat / i18n

Function i18n

compile-static-templates.js:91–94  ·  view source on GitHub ↗
(k,v)

Source from the content-addressed store, hash-verified

89 };
90
91 const i18n = function(k,v) {
92 if (Array.from(k).includes('i18n')) { return k.i18n.en[a]; }
93 return k[v];
94 };
95
96 try {
97 locals = _.merge({_, i18n}, locals, require('./static-mock'));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected