Download & Extend

Interface Patch to change text of "Terms & Conditions of Use"

Project:Legal
Version:6.x-2.2-beta4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

I wrote this patch to give users the option to change the terminology of "Terms & Conditions of Use" from the Admin page wherever it appears. For instance, ours now says "Terms of Participation". Please review it! Also, let me know if I did this wrong.

AttachmentSize
legal-terminology.patch6.21 KB

Comments

#1

I would almost want to use this patch.

Could the creaters of Legal comment on this post. Do we need to use this patch? I to need to change the langauge key of "Terms & Conditions" in to something else (dutch translation).

When i open the module i find:

array('!terms' => l('Terms & Conditions', 'legal', array('attributes' => array('target' => '_blank'))))

So when i search in the language interface for "Terms & Conditions" i should find the language key but it doesnt seem to be there...

#2

Hey,

I just made a little modification on the module file to enable it with locale module.

On line 118 you change from :

l('Terms & Conditions', 'legal' ...

To

l(t('Terms & Conditions'), 'legal' ...

So the 'Terms & Conditions' will become translatable through admin/build/translate/search

This little modification should be applied on the core module in order to make it localizable.

#3

Assigned to:Offlein» Anonymous

Agreed on both. Sorry I haven't replied until now. I would love for maintainer to comment here. Maybe I should've unassigned this earlier.

#4

Status:needs review» closed (works as designed)

This patch would make the labels untranslatable.

At the moment you can achieve the same thing using the Sting Overrides module or Locale translation of the label strings.

http://drupal.org/project/stringoverrides

nobody click here