summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-07-18 08:09:46 +0000
committerDries Buytaert <dries@buytaert.net>2001-07-18 08:09:46 +0000
commita3b9b7e92d5c9b47793c7b0e619c45352472890b (patch)
treedab3b358b46f14f533cc2b65be999cf4948c8de2 /modules/node.module
parentbc6e55b24dd00ea3fd08884aca7ebfb828d93c84 (diff)
downloadbrdo-a3b9b7e92d5c9b47793c7b0e619c45352472890b.tar.gz
brdo-a3b9b7e92d5c9b47793c7b0e619c45352472890b.tar.bz2
- node.module:
+ added missing t()-functions (reported by Nick). - locale.module: + renamed '$lang' to '$language' (reported by Nick).
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module
index ba12cc7c5..c1e2283d5 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -349,10 +349,10 @@ function node_admin() {
case "view":
print node_module_view(node_get_array(array("nid" => $id)), $type);
break;
- case "Preview":
+ case t("Preview"):
print node_edit_content($edit, $type);
break;
- case "Submit":
+ case t("Submit"):
print status(node_save_content($edit, $type));
// fall through:
default: