Closed (won't fix)
Project:
Legal
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2012 at 15:48 UTC
Updated:
3 Jun 2015 at 00:57 UTC
Jump to comment: Most recent
Hello,
The module doesn't use t() for page titles which makes them impossible to translate.
Quick way around is to use drupal_set_title() either in the theme or custom module where arg(0)=='legal' or arg(0)=='legal_accept'
File: legal.module, lines 83 and 90
Change:
'title' => 'Terms and Conditions',
to
'title' => t('Terms and Conditions'),
Thanks!
Comments
Comment #1
geek-merlinComment #2
geek-merlinNo. hook_menu eats untranslated title.