Multilanguage messages - no everywere t("") in code

deemuzi - January 18, 2009 - 18:08
Project:Subdomain
Version:5.x-1.5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)
Description

Hi,

I've just installed subdomain module with OG compability, and it works great!.

But some subdomain messages (warnings, like: "The ..... can contain only letters, numbers and spaces") don't exists in Drupal locale db). I checked the code and find that there is no t() function for error messages:

function subdomain_nodeapi(&$node, $op, $teaser, $page) {
....
  form_set_error('title', "The $type_name's $type_title can contain only letters, numbers and spaces");  // <--- no t("")
...
(and others below)
....
}

Best regards

#1

setvik - March 18, 2009 - 06:24
Status:active» patch (to be ported)

fixed in D6 version.

Needs to be ported to D5

 
 

Drupal is a registered trademark of Dries Buytaert.