diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-25 14:22:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-25 14:22:16 +0000 |
commit | d8d524ffef3c08a44f6563fb76af5fb55a6f397c (patch) | |
tree | 92405abc0431c2e387115a2f45e8b4135459c4c0 /modules | |
parent | 9f30df2cb513e0655f832d36131102002f04e319 (diff) | |
download | brdo-d8d524ffef3c08a44f6563fb76af5fb55a6f397c.tar.gz brdo-d8d524ffef3c08a44f6563fb76af5fb55a6f397c.tar.bz2 |
- Patch #4269 and #4248 by Killes: added missing t()'s to book module.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/book.module | 4 | ||||
-rw-r--r-- | modules/book/book.module | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/book.module b/modules/book.module index 2f3392738..925f3bbd5 100644 --- a/modules/book.module +++ b/modules/book.module @@ -244,7 +244,7 @@ function book_form(&$node) { if (user_access('administer nodes')) { $output .= form_weight(t('Weight'), 'weight', $node->weight, 15, t('The heavier pages will sink and the lighter pages will be positioned nearer the top.')); if (user_access('create php content')) { - $output .= form_radios('Type', 'format', $node->format, array(0 => 'HTML / text', 1 => 'PHP')); + $output .= form_radios(t('Type'), 'format', $node->format, array(0 => 'HTML / text', 1 => 'PHP')); } } else { @@ -877,7 +877,7 @@ function book_admin_orphan() { } if ($pages) { - $output .= "<h3>Orphan pages</h3>"; + $output .= '<h3>'. t('Orphan pages') .'</h3>'; $header = array(t("title"), t("weight"), array("data" => t("operations"), "colspan" => 3)); foreach ($pages as $nid => $node) { if ($node->parent && empty($pages[$node->parent])) { diff --git a/modules/book/book.module b/modules/book/book.module index 2f3392738..925f3bbd5 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -244,7 +244,7 @@ function book_form(&$node) { if (user_access('administer nodes')) { $output .= form_weight(t('Weight'), 'weight', $node->weight, 15, t('The heavier pages will sink and the lighter pages will be positioned nearer the top.')); if (user_access('create php content')) { - $output .= form_radios('Type', 'format', $node->format, array(0 => 'HTML / text', 1 => 'PHP')); + $output .= form_radios(t('Type'), 'format', $node->format, array(0 => 'HTML / text', 1 => 'PHP')); } } else { @@ -877,7 +877,7 @@ function book_admin_orphan() { } if ($pages) { - $output .= "<h3>Orphan pages</h3>"; + $output .= '<h3>'. t('Orphan pages') .'</h3>'; $header = array(t("title"), t("weight"), array("data" => t("operations"), "colspan" => 3)); foreach ($pages as $nid => $node) { if ($node->parent && empty($pages[$node->parent])) { |