Closed (fixed)
Project:
Security Kit
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2016 at 19:22 UTC
Updated:
12 Mar 2016 at 05:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
perennial.sky commentedHere is the patch
Comment #3
jweowu commentedHi akashjain132. I'm afraid you're wrong about most of these.
CSP directives (e.g.
default-src) are not to be translated. These are fixed names in the CSP specification, and translating them would mean that the SecKit UI could not be cross-referenced with the specification, which isn't acceptable.Similarly for translating strings which are part of a HTTP header specification. For the X-Frame-Options values, the "Disabled" option is translated (already) because it is not a value in the header specification. The other options are names from the spec, and should not be translated.
Your remaining two changes for calls to
drupal_set_messagelook valid. I'll commit those two if you roll a new patch (and fix the syntax error in the second one).Comment #4
perennial.sky commentedComment #5
perennial.sky commentedHere is the new patch
Comment #6
jweowu commentedThanks akashjain132. Committed.