Needs review
Project:
Workbench Access
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2012 at 14:01 UTC
Updated:
2 Aug 2015 at 15:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
agentrickardFair enough.
Comment #3
agentrickardThe patch needs to be formatted from module root, not site root.
Comment #4
alexverb commentedSorry about that, still trying to get the hang of it. Should I patch on 7.x-1.x-dev or 7.x-1.0? This patch is on dev version... Thank you for helping out a git noob.
Comment #5
dave reidPatches should always be rolled against the current branch in Git, so 7.x-1.x.
Based on this it looks like we don't even need to use t() anymore? We've lost all translatability and context of "@message_label: %section" which isn't a bad thing, but it wouldn't it be a pointless string to translate on localize.drupal.org?
Comment #6
agentrickardIt would.
Comment #7
alexverb commentedSo I'm guessing only the last string has lost it's context for translation and the other two can stay? I also put the variable_get in a variable. Something in the lines of this patch would be correct?
Comment #8
agentrickardI believe so.
Comment #9
agentrickard#7: workbench-access-naming-consistency-1545486-7.patch queued for re-testing.
Comment #10
agentrickardI think this lost the data sanitization provided by t() in the last output.