In content_access.admin.inc, line 36:

foreach (array('view', 'update', 'delete') as $op) {

The words view, update and delete can not be translated.

You can see it in hxxp://www.yourwebsite.com/es/node/*/access, for example

This works:

foreach (array(t('view'), t('update'), t('delete')) as $op) {

Greetings

Comments

qahuama’s picture

Sorry, the previous solution des not work well. Better try this fast (and bad i know) solution:

content_access.admin.inc

Lines 36-41

foreach (array('view', 'update', 'delete') as $op) {
      $acl_id = content_access_get_acl_id($node, $op);
      acl_node_add_acl($node->nid, $acl_id, $op == 'view', $op == 'update', $op == 'delete', content_access_get_settings('priority', $node->type));
      $form['acl'][$op] = acl_edit_form($acl_id, t('Grant !op access', array('!op' => t($op))));
      $form['acl'][$op]['#collapsed'] = !isset($_POST['acl_'. $acl_id]) && !unserialize($form['acl'][$op]['user_list']['#default_value']);
    }

Greetings

good_man’s picture

@qahuama: I can't see the problem :( also the code you showed in comment #1 is the same as the current code.

good_man’s picture

Status: Active » Postponed (maintainer needs more info)
gisle’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)