protected function setMetaboxTranslations(MetaboxInterface $metabox)
    {
        if (! function_exists('__')) {
            return $this;
        }

        $metabox->addTranslation('done', __('Saved', Application::TEXTDOMAIN));
        $metabox->addTranslation('error', __('Saved with errors', Application::TEXTDOMAIN));
        $metabox->addTranslation('saving', __('Saving', Application::TEXTDOMAIN));
        $metabox->addTranslation('submit', sprintf('%s %s', __('Save', Application::TEXTDOMAIN), $metabox->getTitle()));

        return $this;
    }