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

Method getTranslatedName

app/models/CocoModel.js:125–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 getNormalizedURL () { return `${this.urlRoot}/${this.id}` }
124
125 getTranslatedName () {
126 return utils.i18n(this.attributes, 'displayName') || utils.i18n(this.attributes, 'name')
127 }
128
129 get (attribute, withDefault) {
130 if (withDefault == null) { withDefault = false }

Callers 2

drawBarGraphMethod · 0.80
lastPlayedStringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected