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

Method wrapRow

app/views/i18n/I18NEditModelView.js:138–143  ·  view source on GitHub ↗
(title, key, enValue, toValue, path, format)

Source from the content-addressed store, hash-verified

136 }
137
138 wrapRow (title, key, enValue, toValue, path, format) {
139 if (!enValue) { return }
140 if (!toValue) { toValue = '' }
141 const doNotTranslate = enValue.match(/(['"`][^\s`]+['"`])/gi)
142 return this.translationList.push({ title, doNotTranslate, key, enValue, toValue, path, format })
143 }
144
145 buildTranslationList () { return [] } // overwrite
146

Callers 15

buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80
buildTranslationListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected