Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I know that maintainers do not always like that kind of patch, but I guess it has to be done by someone someday :) It will help a bit later for actually solving issues.
Just minors changes about coding standards and some more documentation...
Comment | File | Size | Author |
---|---|---|---|
live_css-coding_standards_documentation.patch | 6.01 KB | hles |
Comments
Comment #1
guybedford CreditAttribution: guybedford commentedReviewed, and included. Your discipline inspires me :P
Comment #2
guybedford CreditAttribution: guybedford commentedActually one other thing... can you explain why you've included the following:
$items['admin/config/development/live_css'] = array(
- 'title' => t('Live CSS'),
+ 'title' => 'Live CSS',
'page callback' => 'drupal_get_form',
'page arguments' => array('live_css_admin'),
- 'description' => t('Configure the live CSS editor.'),
+ 'description' => 'Configure the live CSS editor.',
'access arguments' => array('access administration pages'),
'type' => MENU_NORMAL_ITEM
);
Surely the point is to allow for translation?
Comment #3
hles CreditAttribution: hles commentedWell, this is really minor, but title and description in a menu item are translated with t() by default. See http://drupal.org/node/140311
Comment #4
guybedford CreditAttribution: guybedford commentedAhh, ok sure. That makes sense now.