change text "Terms and Conditions of Use"

osviweb - September 4, 2008 - 23:15
Project:Legal
Version:5.x-1.9
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I may need to change the text "Terms and Conditions of Use" with the text "Termini e Condizioni d'uso. Privacy"
and the text
"Accept" with the text "Accetta"

i've tried to find and replace this in many files but still don't show up on the site. Where should I change it?

thanks

our travel agency drupal site

#1

jpowell - February 6, 2009 - 19:25

I'd like to make a feature request to make the labels configurable fields.

Currently upon registration, the fieldset legend reads "Terms and Conditions of Use" and the label for the agreement field immediately below reads "Terms & Conditions:". I have a client who would like to remove the field label altogether. If these were configurable fields, that provide a lot of flexibility for renaming and/or removing this text.

#2

RG - March 27, 2009 - 14:24

Hello,
I think you can use the String Overrides Module to change this text.
This module offers you the possibility to change easily every string in your website.
I hope it will help you.

#3

dicreat - April 8, 2009 - 09:59

#4

Offlein - May 5, 2009 - 05:45

I'd like to note that my patch provides a better (dare I say?) solution:
http://drupal.org/node/439198

It is for Drupal 6. The technique probably works for D5 though...

#5

Gabriel Radic - May 14, 2009 - 13:47

Actually, what is missing is the proper user of t() for all strings.

The lines in question, which I just corrected on my installation, are:

98:

<?php
$accept_label
= t('<strong>Accept</strong> !terms of Use', array('!terms' => l(t('Terms & Conditions'), 'legal')));
?>

260:

<?php
$form
['legal']['legal_accept']['#title'] = t('<strong>Accept</strong> !terms of Use', array('!terms' => l(t('Terms & Conditions'), 'legal')));
?>

What I did is wrap t() around the text 'Terms & Conditions' inside the array('!terms'... )

#6

lasac - September 27, 2009 - 11:47

This is offtopic, but must be said.

osviweb: your logo is a huge rip from, http://www.arke.nl !

 
 

Drupal is a registered trademark of Dries Buytaert.