diff options
-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])) { |