Closed (fixed)
Project:
Translation template extractor
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2009 at 09:13 UTC
Updated:
6 Apr 2009 at 09:21 UTC
Repro: php potx-cli.php --files potx-cli.php potx.inc potx.info potx.install potx.module
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings t
here.
At t("Embedded $variable") in potx-cli.php on line 115.
Read more at http://drupal.org/node/322732
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings t
here.
At t(embedded_function_call(3)) in potx-cli.php on line 123.
Read more at http://drupal.org/node/322732
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings t
here.
At t('Concatenated'.'string.'.'You should never do this.') in potx-cli.php on line 126.
Read more at http://drupal.org/node/322732
The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call the
re.
At watchdog('help',t('Help called')) in potx-cli.php on line 136.
Read more at http://drupal.org/node/323101
Comments
Comment #1
hass commentedComment #2
gábor hojtsyThanks for verifying that our test cases for potx still work :) Please look at the code where these are and you'll see that these never run but are there as test cases for the potx error reports / handlers.
Comment #3
hass commentedUps, sorry.