[bug:1.3.0] Translation 'You must be logged in to...'
 
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_tinies
View previous topic :: View next topic  
Author Message
jdivision
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 16
Location: Portugal

PostPosted: Tue Aug 10, 2004 8:43 pm    Post subject: [bug:1.3.0] Translation 'You must be logged in to...' Reply with quote

Its possible to translate the "You must be logged in to view this report" message, when a guest try to see last 24 h, 48h, 72h ?

I can't find it in the lang_main.php Rolling Eyes
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Aug 10, 2004 9:08 pm    Post subject: Re: [bug:1.3.0] Translation 'You must be logged in to...' Reply with quote

True. Embarassed

I'll fix it for next release. For now, you can do it your self.

1) Add this line to modules/mx_tinies/languages/lang_english/lang_main.php
Code:
$lang['You_must_be_logged_in'] = "You must be logged in to view this report !";


2) Add the new lang entry to your other languages.

3) Replace the literal with above lang entry in view_topics.php:
FIND:
Code:
message_die(GENERAL_ERROR, "You must be logged in to view this report.", 'mx_tinies');

REPLACE WITH:
Code:
message_die(GENERAL_ERROR, $lang['You_must_be_logged_in'], 'mx_tinies');



HTH+

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
jdivision
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 16
Location: Portugal

PostPosted: Tue Aug 10, 2004 10:13 pm    Post subject: Re: [bug:1.3.0] Translation 'You must be logged in to...' Reply with quote

Tanks a lot Markus Very Happy 
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_tinies All times are GMT + 1 Hour
 
Page 1 of 1


 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum