diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-07-08 09:48:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-07-08 09:48:29 +0000 |
commit | cd150ba73154bfd423cb3209b2f839bb375d1998 (patch) | |
tree | 9eab4bfd2fb67fc03902a5744c65ab510ab1866d | |
parent | 8963b895a13c4203c99a9dd502930b32cf44aff8 (diff) | |
download | brdo-cd150ba73154bfd423cb3209b2f839bb375d1998.tar.gz brdo-cd150ba73154bfd423cb3209b2f839bb375d1998.tar.bz2 |
- Improvement: made it easier to translate the book outline. Patch #67 by
Stefan.
-rw-r--r-- | modules/book.module | 2 | ||||
-rw-r--r-- | modules/book/book.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module index 74737b213..909542a15 100644 --- a/modules/book.module +++ b/modules/book.module @@ -224,7 +224,7 @@ function book_node_link($node = 0) { $output .= status(t("removed the node form the book.")); } - $output .= "<h3>". t("Edit book outline for node <i>") . "$node->title</i></h3>"; + $output .= "<h3>". t("Edit book outline for node <i>%booktitle</i>", array("%booktitle" => $node->title)) ."</h3>"; if ($edit["nid"]) { $page = db_fetch_object(db_query("SELECT * FROM book WHERE nid = %d", $node->nid)); diff --git a/modules/book/book.module b/modules/book/book.module index 74737b213..909542a15 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -224,7 +224,7 @@ function book_node_link($node = 0) { $output .= status(t("removed the node form the book.")); } - $output .= "<h3>". t("Edit book outline for node <i>") . "$node->title</i></h3>"; + $output .= "<h3>". t("Edit book outline for node <i>%booktitle</i>", array("%booktitle" => $node->title)) ."</h3>"; if ($edit["nid"]) { $page = db_fetch_object(db_query("SELECT * FROM book WHERE nid = %d", $node->nid)); |