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

Method constructor

renderer/renderJS/resolve_ui.js:18–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 locale = 'en'
17
18 constructor() {
19 this.overlay = new bootstrap.Modal('#fileOpProgress', { backdrop : 'static', keyboard : false })
20
21 window.resolve_IPC.receive('resolve:shortname', (key) => { this.gotData(key) })
22
23 window.operations.receive('select:all', MA.fileOpCheckAll)
24 window.operations.receive('select:none', MA.fileOpCheckNone)
25 window.operations.receive('select:invert', MA.fileOpCheckInv)
26
27 window.i18n.lang().then((newLocale) => this.locale = newLocale)
28 }
29
30 doL10N(item) {
31 let returnText = item?.[this.locale]

Callers

nothing calls this directly

Calls 1

gotDataMethod · 0.95

Tested by

no test coverage detected