summaryrefslogtreecommitdiff
path: root/modules/poll.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-17 10:15:13 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-17 10:15:13 +0000
commit1b573fb0ba75bd09270aa2c93b11404b87f1761e (patch)
treed268ecd7e9aca65acd8e75ad10d664fa268b8785 /modules/poll.module
parent0bd45edcb7dd5d46e1d0e915523dd19fe104b5af (diff)
downloadbrdo-1b573fb0ba75bd09270aa2c93b11404b87f1761e.tar.gz
brdo-1b573fb0ba75bd09270aa2c93b11404b87f1761e.tar.bz2
- book log is now saved and shown when necessary.
- fixed poll title not showing up.
Diffstat (limited to 'modules/poll.module')
-rw-r--r--modules/poll.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll.module b/modules/poll.module
index 769b1d067..d08d949dc 100644
--- a/modules/poll.module
+++ b/modules/poll.module
@@ -20,9 +20,9 @@ function poll_block() {
poll_view($poll, 0, 1);
}
}
- $blocks[0][subject] = "Latest poll";
+ $blocks[0][subject] = strtr(t("Latest poll: %t"), array("%t" => $poll->title));
$blocks[0][content] = $poll->body;
- $blocks[0][info] = "Most recent poll";
+ $blocks[0][info] = t("Most recent poll");
return $blocks;
}