Hello

In the file acl.admin.inc,v 1.3.2.1 in the line 32 appears

'#title' => $label,

which does nor let be translated

I´ve changed to this
'#title' => t($label),

You can see the this text at URL: hxxp://www.yourweb.com/es/node/*/access

Greetings

Comments

salvis’s picture

Status: Active » Closed (won't fix)

No, only constant strings may be passed to t().

The client module should pass a translated string.

qahuama’s picture

Title: Error to transle labels in acl.admin.inc » Error translating labels in acl.admin.inc

Ok, you were right. There is a string that can be translated:

Grant !op access

But now one problem:

The original strings that i want to translate (hxxp://www.website.com/es/node/*/access):

  • Grant view access
  • Grant update access
  • Grant delete access

After i´ve translated to Spanish I´ve got:

  • Permisos para view el contenido
  • Permisos para update el contenido
  • Permisos para delete el contenido

The three words (view, update and delete) can not be translated through Translate interface or, at least, I can find them searching for view, or update or delete.

Thanks

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Edited: Sorry, it seems is a Content Access bug:

Module: Content Access 1.2
content_access.admin.inc (line 36)

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

Thanks