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
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

azovsky - December 22, 2008 - 18:13

for instance

<?php
...
t($confirmation_message, array(
     
'@action'             => t($action),
...
?>

#2

alex.k - July 5, 2009 - 21:50
Assigned to:Anonymous» alex.k
Status:active» fixed

This has been fixed some time ago.

#3

System Message - July 19, 2009 - 22:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.