/**
  * Prepare the label for month.
  *
  * @param Node $node
  *
  * @return mixed
  */
 public function prepareMonthLabel(Node $node)
 {
     return $GLOBALS['TL_LANG']['MONTHS'][$node->getData()['month'] - 1];
 }
 /**
  * Get the content callback listener.
  *
  * @param Node $node
  *
  * @return string
  */
 public function getContent(Node $node)
 {
     return sprintf("<div style=\" float: right; margin-right: 64px; margin-top: 3px;\">%s</div>", self::prepareButtons(explode('::', $node->getKey())[1]));
 }
 /**
  * Prepare the label for month.
  *
  * @param Node $node
  *
  * @return mixed
  */
 public function prepareMonthLabel(Node $node)
 {
     global $container;
     $translator = $container['translator'];
     return $translator->translate($node->getData()['month'] - 1, 'MONTHS');
 }