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/poll | |
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/poll')
-rw-r--r-- | modules/poll/poll.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index fb364b309..bb0f2df79 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -94,12 +94,12 @@ function poll_validate(&$node) { } if ($choice['chvotes'] < 0) { - form_set_error("choice][$i][chvotes", t("Negative values are not allowed.")); + form_set_error("choice][$i][chvotes", t('Negative values are not allowed.')); } } if ($realchoices < 2) { - form_set_error("choice][$realchoices][chtext", t("You must fill in at least two choices.")); + form_set_error("choice][$realchoices][chtext", t('You must fill in at least two choices.')); } } |