submit button has no string translation - v6

mgifford - January 8, 2009 - 00:29
Project:ecard
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

See post here:
http://drupal.org/node/291193

sites/all/modules/ecard$ grep -ir 'Send This Card' *
ecard.module: '#title' => t('Send this card'),
ecard.module: '#value' => 'Send This Card'

needs t() wrapped about the #value.

Thanks for looking into it.

#1

Kars-T - February 13, 2009 - 19:08
Status:active» fixed

Fixed in the latest dev. Please test it.

<?php
$form
['block']['submit'] = array(
 
'#type' => 'submit',
 
'#value' => t('Send This Card'),
);
?>

#2

System Message - February 27, 2009 - 19:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.