protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = $this
->t('Save task');
$actions['submit']['#access'] = \Drupal::currentUser()
->hasPermission('administer tmgmt') || \Drupal::currentUser()
->hasPermission('administer translation tasks');
return $actions;
}