diff options
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.css | 6 | ||||
-rw-r--r-- | modules/locale/locale.module | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/modules/locale/locale.css b/modules/locale/locale.css new file mode 100644 index 000000000..c9c8df509 --- /dev/null +++ b/modules/locale/locale.css @@ -0,0 +1,6 @@ +/* $Id$ */ + +.locale-untranslated { + font-style: normal; + text-decoration: line-through; +} diff --git a/modules/locale/locale.module b/modules/locale/locale.module index cf721d43d..42c69508d 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -111,6 +111,10 @@ function locale_menu($may_cache) { 'type' => MENU_CALLBACK); } else { + // Add the CSS for this module + // We put this in !$may_cache so it's only added once per request + drupal_add_css(drupal_get_path('module', 'locale') .'/locale.css'); + if (is_numeric(arg(4))) { // String related callbacks $items[] = array('path' => 'admin/settings/locale/string/edit/'. arg(4), |