Download & Extend

Code style clean-up: help.module

Project:Drupal core
Version:6.x-dev
Component:help.module
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Here are some coding standards errors caught by Coder module

AttachmentSizeStatusTest resultOperations
help-cleanup.patch1.49 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» needs work

Need to fix both @Drupals, not just the one in the array.

#2

Status:needs work» needs review

Coder module did not catch that so we should probably add an issue to their queue on that. Here is a new patch with both @Drupals corrected.

AttachmentSizeStatusTest resultOperations
help-cleanup_0.patch1.83 KBIgnored: Check issue status.NoneNone

#3

Corrected patch.

AttachmentSizeStatusTest resultOperations
help-cleanup_1.patch1.99 KBIgnored: Check issue status.NoneNone

#4

Status:needs review» needs work

Ah-ha.

Ok, this one is good and ready to go, *except* that it contains a string change (changes something in t()), and we are currently in a "string freeze." Basically, when translators go to make a translation of Drupal, they'll run a script that dumps out all the stuff in t(). But, if you change any string even by one character, it forces translators to re-translate that string all over again. While this is acceptable for bugs in documentation, this is a simple cosmetic change, and thus should be pushed to 6.x.

So! The way to do this is to re-roll the patch for 5.x-dev *without* the @Drupal -> @drupal changes, and roll a separate one with the string fix for 6.x-dev. Make sense?

#5

Version:5.x-dev» 6.x-dev
Status:needs work» needs review

Now that we've released I'm putting this as a 6 dev patch, as is.

#6

Status:needs review» needs work

patch no longer applies

# patch -p0 < help-cleanup_1.patch
patching file modules/help/help.module
Hunk #1 FAILED at 21.
Hunk #2 succeeded at 86 (offset -4 lines).
1 out of 2 hunks FAILED -- saving rejects to file modules/help/help.module.rej

#7

Status:needs work» closed (duplicate)

AFAIK, this patch is no longer necessary since there was a mass cleanup patch on HEAD since this patch. I'm closing this.

nobody click here