Closed (fixed)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
13 Jan 2017 at 12:46 UTC
Updated:
31 Jan 2017 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
darrenwh commentedMade a start on file, up to line circa 3500
Comment #4
liam morlandIt appears to be making some changes which shouldn't happen:
Should be
@return int.Comment #5
darrenwh commented$return int was there already? the code has jus been indented...
Comment #6
liam morlandIt should have been
@returnall along.Comment #7
darrenwh commentedOK rectified that and reverted some sections where formater broke some lines
Comment #9
liam morlandI made a big coding standards commit. Will you be continuing with this?
I did not make the changes in the attached patch. Removing those calls to t() might mess up how some people are doing translation. If we were to make these changes, it would be in a separate issue because these go beyond coding standards.
Comment #10
darrenwh commentedIn the function specification for t() https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/t/7.x it clearly says You should never use t() to translate variables, so I'm happy to leave this change out if a new ticket can be raised off the back of it. Will checkout latest verson of the module file and finish it off in the next few days, thanks
Comment #11
liam morlandOK, I have already committed the first batch, so please make child tickets for follow-ups. Thanks very much for your work on this.