summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-09-28 14:09:59 +0000
committerDries Buytaert <dries@buytaert.net>2001-09-28 14:09:59 +0000
commitb2d0c5c104dd8e745a09f1fb7e0861488624f374 (patch)
tree315f9d15dcd2cb4480a8fd405748046445ee4062
parentf1ebe411be7f2c4aab1f33dc5108f9a9acdeb009 (diff)
downloadbrdo-b2d0c5c104dd8e745a09f1fb7e0861488624f374.tar.gz
brdo-b2d0c5c104dd8e745a09f1fb7e0861488624f374.tar.bz2
- made the selection box translatable (patch by Gerhard)
-rw-r--r--submit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/submit.php b/submit.php
index 8741c0b32..37db240eb 100644
--- a/submit.php
+++ b/submit.php
@@ -12,7 +12,7 @@ if (user_access("post content")) {
}
else {
foreach (module_list() as $name) {
- if (module_hook($name, "user")) $options .= "<option value=\"$name\">$name</option>";
+ if (module_hook($name, "user")) $options .= "<option value=\"$name\">". t($name) ."</option>";
}
$form .= form_item(t("Submission type"), "<SELECT NAME=\"mod\">$options</SELECT>");