Closed (duplicate)
Project:
Terms of Use
Version:
6.x-1.10
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2009 at 10:00 UTC
Updated:
12 Apr 2010 at 14:54 UTC
Hello,
I've just read that readme.txt has an explanation in order to make ToU appear in a popup by pasting this code in template.php:
<?php
function THEMENAME_terms_of_use($terms, $node) {
$output = '<div id="terms-of-use" class="content clear-block">';
$output .= t('Terms of use of this page are available !here.', array('!here' => l('here', 'node/'."$node->nid")));
$output .= '</div>';
return $output;
}
?>As far as I know this means that there will be a text which says "Terms of use of this page are available..." and I would like this text to be translatable, since my site is a multilingual site.
Regards
Comments
Comment #1
kars-t commentedBasically a duplicate of #299416: translations support