MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / stringLookup

Method stringLookup

lib/modUtilLib.js:506–510  ·  view source on GitHub ↗

* Retrieve MA string * @param {string} stringID * @returns {string} Translated string

(stringID)

Source from the content-addressed store, hash-verified

504 * @returns {string} Translated string
505 */
506 async stringLookup(stringID) {
507 return this.#langPromise.then(() => {
508 return this.syncStringLookup(stringID)
509 })
510 }
511 /**
512 * Retrieve multiple MA strings
513 * @param {Array.<string>} stringIDs Array of stringIDs

Callers

nothing calls this directly

Calls 1

syncStringLookupMethod · 0.95

Tested by

no test coverage detected