Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues
Author Message
Brujo
Regular
Regular



Joined: Jun 04, 2004
Posts: 84
Location: Germany

PostPosted: Tue Feb 24, 2009 9:15 am Reply with quote

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
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 24, 2009 12:40 pm Reply with quote

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. 
View user's profile Send private message
Brujo







PostPosted: Tue Feb 24, 2009 1:50 pm Reply with quote

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







PostPosted: Tue Feb 24, 2009 2:32 pm Reply with quote

Find line 143 of includes/class.legal_doctypes.php
Code:


. $this->labContact . '</a>';

Replace with:
Code:


. _LGL_COM_CONTACTMENU . '</a>';


Thanks!
 
Brujo







PostPosted: Wed Feb 25, 2009 2:00 am Reply with quote

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

PostPosted: Wed Feb 25, 2009 6:09 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
Brujo







PostPosted: Wed Feb 25, 2009 9:55 am Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©