MCPcopy
hub / github.com/angular/angular / doTranslate

Function doTranslate

packages/localize/src/utils/test/translations_spec.ts:221–226  ·  view source on GitHub ↗
(
      translations: Record<string, TargetMessage>,
      message: [TemplateStringsArray, any[]],
    )

Source from the content-addressed store, hash-verified

219 }
220
221 function doTranslate(
222 translations: Record<string, TargetMessage>,
223 message: [TemplateStringsArray, any[]],
224 ): [TemplateStringsArray, readonly any[]] {
225 return translate(parseTranslations(translations), message[0], message[1]);
226 }
227 });
228});

Callers 1

Calls 2

parseTranslationsFunction · 0.85
translateFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…