Author |
Message |
Brujo
Regular


Joined: Jun 04, 2004
Posts: 84
Location: Germany
|
Posted:
Tue Feb 24, 2009 9:15 am |
|
Hi, I believe i found a possible language issue in the Legal Module, I try to use the legal module in german on my testsinstallation and in the Modules Menu on the top the LGL_COM_LEGALMENU is shown in german "Legal Dokumente Übersicht", but the LGL_COM_CONTACTMENU in english "Comments".
the combined Line looks like:
[ Erklärung zum Datenschutz | Allgemeine Nutzungsbedingungen | Comments | Admin ]
i did a simple echo of LGL_COM_CONTACTMENU at line 27 in the legals index.php and it is shown correctly in german, therefore i think it has to do with the class.legal.doctypes where the documents are combined to the Menu Line.
Brujo |
|
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Tue Feb 24, 2009 12:40 pm |
|
I will take a look.
If you are interested we could use translations of notice, privacy, and terms to German. Please do not feel that you have to do it. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
 |
Brujo

|
Posted:
Tue Feb 24, 2009 1:50 pm |
|
Hi Palbin, sounds good i have nothing for notice, but already for privacy & terms
if you need more infos just ask and i try
thanks
Brujo |
|
|
|
 |
Palbin

|
Posted:
Tue Feb 24, 2009 2:32 pm |
|
Find line 143 of includes/class.legal_doctypes.php
Code:
. $this->labContact . '</a>';
|
Replace with:
Code:
. _LGL_COM_CONTACTMENU . '</a>';
|
Thanks! |
|
|
|
 |
Brujo

|
Posted:
Wed Feb 25, 2009 2:00 am |
|
thank you, this works perfect for me, just one comment for others if they found the Thread, the file which have to be modifyed is in classes/class.legal_doctypes.php
Brujo |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Feb 25, 2009 6:09 am |
|
Do please make sure this works also when coming from the Edit Users configuration page where it dumps you directly into the Legal module to update the terms. Also, make sure no warnings are thrown (may have to check your PHP error logs) just visiting your home page.
(Sorry, I would test these myself, but swamped at the moment. Am just hoping for an extra pair of eyes to check this. I wrote this module by the way, hence my extra interest. <wink>) |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Brujo

|
Posted:
Wed Feb 25, 2009 9:55 am |
|
I am still on my testinstallation, therefore i enabled display errors. rnlog etc. i cant see an extra issue with it but i will do some extra testing. |
|
|
|
 |
|