Change wording of messages...

Mod that adds a birthday field to the users profile, theire age are displayed beside the posts, and on there birthday they will have a greeting popup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Change wording of messages...

Postby bozzakwebmaster on Wed 13. Jul, 2005 04:42

How would I go about changing the wording of the messages that show up on the main page, error messages, pop-up message, etc... without getting some parse errors...

I'm trying to do so as the English version has basic English mistakes...

Thanks!

Martin
bozzakwebmaster
Poster
Poster
 
Posts: 3
Joined: Wed 13. Jul, 2005 02:39

Postby Henry_n on Wed 13. Jul, 2005 08:53

Well, go to language/lang_english/lang_main.php and find the section where you added the following variables.

Code: Select all
// Start add - Birthday MOD
$lang['Birthday'] = 'Birthday';
$lang['No_birthday_specify'] = 'None Specified';
$lang['Age'] = 'Age';
$lang['Wrong_birthday_format'] = 'The birthday format was entered incorrectly.';
$lang['Birthday_to_high'] = 'Sorry, this site, does not accept user older than %d years old';
$lang['Birthday_require'] = 'your Birthday are required on this site';
$lang['Birthday_to_low'] = 'Sorry, this site, does not accept user yonger than %d years old';
$lang['Submit_date_format'] = 'd-m-Y'; //php date() format - Note: ONLY d, m and Y may be used and SHALL ALL be used (different seperators are accepted)
$lang['Birthday_greeting_today'] = 'We would like to wish you congratulatons on reaching %s years old today.<br /><br /> The Management';//%s is substituted with the users age
$lang['Birthday_greeting_prev'] = 'We would like to give you a belated congratulatons for becoming %s years old on the %s.<br /><br /> The Management';//%s is substituted with the users age, and birthday
$lang['Greeting_Messaging'] = 'Congratulations';
$lang['Birthday_today'] = 'Users with a birthday today:';
$lang['Birthday_week'] = 'Users with a birthday within the next %d days:';
$lang['Nobirthday_week'] = 'No users are having a birthday in the upcoming %d days'; // %d is substitude with the number of days
$lang['Nobirthday_today'] = 'No users have a birthday today';
$lang['Year'] = 'Year';
$lang['Month'] = 'Month';
$lang['Day'] = 'Day';


Just change what the words inside the single-quotes say. Example:
$blahblah['sample'] = 'Change these words';
Henry_n
Poster
Poster
 
Posts: 4
Joined: Wed 14. May, 2003 01:57

Postby bozzakwebmaster on Wed 13. Jul, 2005 14:10

I tried that already... but I got a parse error.... :( Seems like everytime I try to modify that file I get a parse error...
bozzakwebmaster
Poster
Poster
 
Posts: 3
Joined: Wed 13. Jul, 2005 02:39

Postby Henry_n on Thu 14. Jul, 2005 05:24

Well, what do you want it to say? You made sure to have a semi-colon at the end of each statement, right? Also, if you use an aposterphy (sp?), make sure there's a slash before it. I think it'd look like this: Henry\'s ...I think that's the right slash.
Henry_n
Poster
Poster
 
Posts: 4
Joined: Wed 14. May, 2003 01:57

Postby bozzakwebmaster on Thu 14. Jul, 2005 18:57

Probably the problem was the aposterphy (sp?)! I didn't know that! hehehe!

Everyday I learn something... I'll give it a try... thanks a lot!
bozzakwebmaster
Poster
Poster
 
Posts: 3
Joined: Wed 13. Jul, 2005 02:39


Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron