protected function getActionsColumn($canAddLanguage)
    {
        return function ($row) use($canAddLanguage) {
            $btns = [];
            $html = app('html');
            if ($canAddLanguage && !$row->is_default) {
                $btns[] = $html->create('li', $html->link(handles("antares::translations/languages/delete/" . $row->id), trans('Delete'), ['class' => "triggerable confirm", 'data-icon' => 'delete', 'data-title' => trans("Are you sure?"), 'data-description' => trans('Deleting language') . ' ' . $row->code]));
                $btns[] = $html->create('li', $html->link(handles("antares::translations/languages/default/" . $row->id), trans('Set as default'), ['data-icon' => 'spellcheck']));
            }

            if (empty($btns)) {
                return '';
            }
            $section = $html->create('div', $html->create('section', $html->create('ul', $html->raw(implode('', $btns)))), ['class' => 'mass-actions-menu'])->get();
            return '<i class="zmdi zmdi-more"></i>' . $html->raw($section)->get();
        };
    }