createLanguageTextNode = ({ langs, y, display_format }) => {
  return langs.map((lang, index) => {
    if (index % 2 === 0) {
      return createCompactLangNode({
        lang,
        x: 25,
        y: 12.5 * index + y,
        display_format,
      });
    }
    return createCompactLangNode({
      lang,
      x: 230,
      y: 12.5 + 12.5 * index,
      display_format,
    });
  });
}
Create WakaTime language text node item.

@param {Object} args The function arguments.
@param {WakaTimeLang[]} args.langs The language objects.
@param {number} args.y The y position of the language node.
@param {"time" | "percent"} args.display_format The display format of the language node.
@returns {string[]} The language text node items.