Closed (works as designed)
Project:
Translation template extractor
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2007 at 12:53 UTC
Updated:
15 Apr 2007 at 21:30 UTC
Here is the result of an attempt to process contemplate.module:
main:contemplate hex$ php ../potx/potx-cli.php
Processing contemplate.module...
Invalid marker content in contemplate.module:24
* t('<p>Please note that by creating a template for this content type, you are taking full control of its output and you will need to manually add all of the fields that you would like to see in the output. Click <em>reset</em> to remove template control for this content type.</p>'.theme('more_help_link',url('admin/help/contemplate')))
Processing contemplate.install...
Processing contemplate.info...
Warning: join(): Bad arguments. in /usr/hosts/intranet.molinos.ru/htdocs/sites/all/modules/potx/potx.inc on line 197
Call Stack:
0.0015 108516 1. {main}() /usr/hosts/intranet.molinos.ru/htdocs/sites/all/modules/potx/potx-cli.php:0
1.0007 438824 2. _potx_write_files() /usr/hosts/intranet.molinos.ru/htdocs/sites/all/modules/potx/potx-cli.php:73
1.0018 442476 3. join() /usr/hosts/intranet.molinos.ru/htdocs/sites/all/modules/potx/potx.inc:197
Done.
Comments
Comment #1
gábor hojtsyWell, the error message is clear, isn't it. That t() has invalid content. Namely it is called with a dynamic string (the output of theme('more_help_link', ...) is part of what is about to get translated. t() should only get called with literal strings.