Closed (won't fix)
Project:
Drupal.org CVS applications
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Nov 2009 at 16:48 UTC
Updated:
1 Dec 2009 at 21:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
TonyTheGeek commentedComment #2
avpadernoComment #3
avpadernoRemove the package name.
Strings used in user interface should have the first word in capital case, and the other words in lower case (with the exception of proper nouns, adjectives derived from proper nouns, and acronyms).
Modules don't use
die().Strings used in the user interface needs to be translated.
Code should not depend from op, which could be not present anymore. It would be better to use a different submission function for each button present in the form that is not the default one.
The call misses a parameter. Rather than concatenating two strings, it would be better to use a placeholder.
It would be shorter, if the code would use
db_placeholders().Schema descriptions should not be passed to
t()anymore. See system_schema() for an example of what done by Drupal core code.Why isn't the code simply calling
db_query()?Avoid the concatenation of strings when possible, for strings that are translated. In this case, it is enough to use a placeholder.
Comment #4
avpadernoThere have not been replies from the OP in the past 7 days. I am marking this report as .