diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-18 19:57:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-18 19:57:27 +0000 |
commit | 83a739bd898094af5837d2b29863d8e988929e1b (patch) | |
tree | 957c07dd7b93fd1d074bb8609b22fe1e0c4f3992 /modules/throttle | |
parent | 0e36182c967685a55e02e48178f1d6cb64ad815e (diff) | |
download | brdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.gz brdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.bz2 |
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
Diffstat (limited to 'modules/throttle')
-rw-r--r-- | modules/throttle/throttle.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module index 90424a0ad..c093857d9 100644 --- a/modules/throttle/throttle.module +++ b/modules/throttle/throttle.module @@ -175,11 +175,11 @@ function _throttle_update($hits) { // log the change if ($throttle_new < $throttle) { variable_set('throttle_level', $throttle - 1); - watchdog($type, t('throttle: %hits hits in past minute; throttle decreased to level %level', array('%hits' => $hits, '%level' => ($throttle - 1)))); + watchdog($type, t('Throttle: %hits hits in past minute; throttle decreased to level %level.', array('%hits' => "<em>$hits</em>", '%level' => '<em>'. ($throttle - 1) .'</em>'))); } if ($throttle_new > $throttle) { variable_set('throttle_level', $throttle + 1); - watchdog($type, t('throttle: %hits hits in past minute; throttle increased to level %level', array('%hits' => $hits, '%level' => ($throttle + 1)))); + watchdog($type, t('Throttle: %hits hits in past minute; throttle increased to level %level.', array('%hits' => "<em>$hits</em>", '%level' => '<em>'. ($throttle + 1) .'</em>'))); } } |