Download & Extend

Translation not possible - errors when trying to generate POT templates

Project:Comment Subscribe
Version:6.x-1.1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

Because of the following errors I am unable to generate POT templates and translate the module. I'm using the Translation template extractor module.

Invalid marker content in comment_subscribe.admin.inc:82 * t(DEFAULT_MAILTEXT)

Invalid marker content in comment_subscribe.module:299 * t((variable_get('comment_subscribe_default_mailtext',DEFAULT_MAILTEXT)),array('!commname'=>$commname,'!commtext'=>$commtext,'!commsubj'=>$commsubj,'!comment_url'=>url('node/'.$nid,array('absolute'=>TRUE))."#comment-".$cid,'!node_title'=>$node->title,'!node_teaser'=>$node->teaser,'!mission'=>variable_get('site_mission',''),'!node_body'=>$node->body,'!name'=>$alert->name,'!site'=>variable_get('site_name','drupal'),'!uri'=>$base_url,'!uri_brief'=>substr($base_url,strlen('http://')),'!date'=>format_date(time()),'!login_uri'=>url('user',array('absolute'=>TRUE)),'!edit_uri'=>url('user/'.$alert->uid.'/edit',array('absolute'=>TRUE)),'!link1'=>url('comment_subscribe/disable/nodepost/'.$nid.'/'.md5($mailid),array('absolute'=>TRUE)),'!link2'=>url('comment_subscribe/disable/postrply/'.$alert->cid.'/'.md5($mailid),array('absolute'=>TRUE)),))

Invalid menu 'title' definition found in comment_subscribe_menu() in comment_subscribe.module on line 57

Invalid menu 'description' definition found in comment_subscribe_menu() in comment_subscribe.module on line 58

Invalid menu 'title' definition found in comment_subscribe_menu() in comment_subscribe.module on line 66

Comments

#1

This is an invalid use of t(): t(DEFAULT_MAILTEXT). Please read the documentation for t() on proper use.

Please also read the documentation for hook_menu() since 'title' and 'description' keys should not have t() around their strings.

#2

Status:active» closed (won't fix)

It has been decided to merge Comment Subscribe module with the Comment Notify module as both currently have the same set of functionalities. We have stopped our support here and will be providing our support at the Comment Notify issue queue. To help you seamlessly migrate to Comment Notify, we have provided an easy migration pathway using the last update - 6.x-1.4. Migration instructions are provided at the Comment Subscribe project home page . Once again thank you all for your wonderful support and contributions towards this module. See you all at the Comment Notify issue queue :-)