Hi,

it is possible to translate the "Grant"-tab in the nodes?
I can not find the string "Grant" (for the tab!!!) in translate interface.

Regards Jakob

Comments

emptyvoid’s picture

Hmm I see what you mean,

You could change:

line 747 $form['nacl'][$op] = node_access_nacl_edit_form($node->nid, 'Grant '. $op .' access ', $op);

to

line 747 $form['nacl'][$op] = node_access_nacl_edit_form($node->nid, t('Grant '). $op .t(' access '), $op);

Maybe that would allow translation?

Anonymous’s picture

It would be better to change the code to

  form['nacl'][$op] = node_access_nacl_edit_form($node->nid, t('Grant %op access', array('%op' => $op)), $op);
emptyvoid’s picture

Assigned: anandax » emptyvoid
Status: Active » Patch (to be ported)

I totally agree, applied to the (trunk) dev branch for testing.