Closed (fixed)
Project:
Localization server
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2009 at 18:32 UTC
Updated:
5 Jan 2010 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyGood. I'd be happy to commit such fixes if there were no major patches waiting in the queue. As it stands, committing this patch would only break those patches, however those improve on performance which is more important for drupal.org deployment in the short run. Maybe help out testing there? :)
Comment #2
pasquallemany code style fixes were committed since then, so starting over.
this patch is for l10n_groups module only; with the following changes:
1. no need to pass $node by reference in hook_insert/update/delete
2. do not translate schema descriptions
3. fixed some comments
4. trailing spaces
Comment #3
gábor hojtsyThanks, committed.
Comment #4
pasquallechanges in this patch:
1. trailing spaces
2. indentation
3. some weird line breaks
4. else if
Comment #5
gábor hojtsy$ patch -p0 < 415944-4-code_style.patch.txt
patching file l10n_community/export.inc
patching file l10n_community/import.inc
patching file l10n_community/l10n_community.module
patching file l10n_community/moderate.inc
patch: **** malformed patch at line 254:
Comment #6
pasquallepatch #4 works for me.
the problem might be the windows style line ends in some parts of the moderate.inc and translate.inc files. It seems like I can't really make a working patch for you for those files, it would be nice if you could fix the line break problems in those files.
this patch is the same as #4, just the problematic files are removed from it..
Comment #7
gábor hojtsyOk committed this with the re-saved translate.inc and moderate.inc with Unix newlines. Thanks again.
Comment #8
pasqualleok, the line breaks seems good now
and the remaining trailing spaces from these files.
(yes it is my IDE creating these patches, you should find this setting also)
Comment #9
gábor hojtsyCommitted with even more of these fixes, thanks.