missing t() for FAQ-title and Back to Top

uther - July 7, 2008 - 11:18
Project:faq
Version:5.x-2.11
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Is it possible to use t(variable_get('faq_title', 'Frequently Asked Questions')) and t(variable_get('faq_back_to_top', 'Back to Top')) ?

Without the t() the FAQ-title and the Back to Top link are only displayed in english.

#1

stella - July 7, 2008 - 11:24
Category:bug report» support request
Status:active» fixed

These are configurable strings and so should not be wrapped in t() in the code. Instead please see the documentation at http://drupal.org/node/252253 on how to translate these strings.

Cheers,
Stella

#2

Anonymous (not verified) - July 23, 2008 - 10:56
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.