'New node' text untranslatable

Jay Matwichuk - June 25, 2009 - 03:03
Project:Flash Node
Version:6.x-3.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Line 199 of flashnode.module, is as follows:

drupal_set_message('New node');

The lack of the t() wrapper makes 'New node' untranslatable. Can you please wrap it in a t() wrapper for the next release? I have taken care of it manually for myself.

It should look like this:
drupal_set_message(t('New node'));

As a related question - why do you have this set to display every time anyways? Maybe you could make this optional? It doesn't seem too necessary to me, although maybe you have a reason I'm not seeing. Thank you very much.

 
 

Drupal is a registered trademark of Dries Buytaert.