From 36fca09232ef187199d9683fa2006ca7f49dc3b9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 13 Jul 2002 17:56:54 +0000 Subject: - Added missing t() functions. Patch by Ori. --- modules/node.module | 26 +++++++++++++------------- modules/node/node.module | 26 +++++++++++++------------- 2 files changed, 26 insertions(+), 26 deletions(-) (limited to 'modules') diff --git a/modules/node.module b/modules/node.module index d575c6eb9..8402b914a 100644 --- a/modules/node.module +++ b/modules/node.module @@ -7,7 +7,7 @@ function node_help() { if ($mod == "node") { foreach (module_list() as $name) { if (module_hook($name, "node") && $name != "node") { - print "

". ucfirst($name) ." type

"; + print "

". t("%module type", array("%module" => ucfirst(module_invoke($name, "node", "name")))). "

"; print module_invoke($name, "help"); } } @@ -292,10 +292,10 @@ function node_conf_options() { } function node_conf_filters() { - $output .= form_select(t("Enable HTML tags"), "filter_html", variable_get("filter_html", 0), array("Disabled", "Enabled"), t("Allow HTML and PHP tags in user-contributed content.")); + $output .= form_select(t("Enable HTML tags"), "filter_html", variable_get("filter_html", 0), array(t("Disabled"), t("Enabled")), t("Allow HTML and PHP tags in user-contributed content.")); $output .= form_textfield(t("Allowed HTML tags"), "allowed_html", variable_get("allowed_html", "