MCPcopy Index your code
hub / github.com/CopyTranslator/CopyTranslator / getL

Method getL

src/main/translate-controller.ts:436–439  ·  view source on GitHub ↗
(lang: Language)

Source from the content-addressed store, hash-verified

434 }
435
436 getL(lang: Language) {
437 const l = getLanguageLocales(store.getters.localeSetting);
438 return l[lang];
439 }
440
441 async decideLanguage(text: string) {
442 const shouldSrc = this.source;

Callers 1

syncMethod · 0.95

Calls 1

getLanguageLocalesFunction · 0.90

Tested by

no test coverage detected