No possibility to translate @action in confirmation messag.
azovsky - December 22, 2008 - 18:09
| Project: | User Relationships |
| Version: | 6.x-1.0-beta9 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | alex.k |
| Status: | closed |
Jump to:
Description
No possibility to translate @action in confirmation messag:
In file:
..\user_relationships\user_relationships_ui\user_relationships_ui.forms.inc
function user_relationships_ui_pending_requested(...)
When is formed $confirmation_message no possibility to translate variable @action (value only 'approve' or 'disapprove').
It is necessary somehow to wrap in t();

#1
for instance
<?php...
t($confirmation_message, array(
'@action' => t($action),
...
?>
#2
This has been fixed some time ago.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.