static render({ translatedPercent }) {
    const color = colorScale([75, 90])(translatedPercent)
    return { message: `${translatedPercent.toFixed(0)}%`, color }
  }
Takes a percentage and maps it to a message and color.

The colors are determined based on how Weblate does it internally.
{@link https://github.com/WeblateOrg/weblate/blob/main/weblate/trans/widgets.py Weblate on GitHub}

@param {*} translatedPercent The percentage of translations translated.
@returns {object} Format for the badge.