There are a lot of places that is needed to use the t() function to allow the drupal translations.
For exemple:
toc.tpl.php
<h4>Table of Contents:</h4>
should be replaced by:
<h4><?php t('Table of Contents:') ?></h4>
pagination.module
function pagination_menu() {
$menu['admin/settings/pagination'] = array(
'title' => 'Pagination (Node)',
'description' => 'Allow for arbitrary nodes to be paginated.',
should be replaced by:
function pagination_menu() {
$menu['admin/settings/pagination'] = array(
'title' => t('Pagination (Node)'),
'description' => t('Allow for arbitrary nodes to be paginated.'),
Comments
Comment #1
mundanity commentedHi there!
Thanks for the feedback, I'll update the toc.tpl.php file in the dev version with a more consistent approach. According to the API for hook_menu(), "title" and "description" should be untranslated (they are translated later)
Comment #2
mundanity commentedtoc.tpl.php now has a $toc variable (updates in dev when it rebuilds)
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.