Welcome, Guest. Please Login or Register.
May 05, 2025, 09:24:35 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Adding to a .lng file « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Adding to a .lng file  (Read 287 times)
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Adding to a .lng file
« on: September 20, 2002, 05:31:48 PM »
Reply with quote

OK, so I am working on my first real mod. and its for the calendar.  I think I need to add some entries into the .lng file but how can I be sure I am adding unique entries?  Right now my last calendar text entry is $txt['calendar56'].  I am guessing it would be dangerous to just add $txt['calendar57'] and so forth.  So do I add another section and use unique entries like
//My Calendar Mod
$txt['mycalmod1']
$txt['mycalmod2']
$txt['mycalmod3']
where "mycalmod" is specific about the purpose ofthe mod.

Just wondering... I want to do it right.

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Adding to a .lng file
« Reply #1 on: September 22, 2002, 06:24:49 PM »
Reply with quote

that will be fine, so long as noone else uses the name mycalendarmod ;)
Logged
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:Adding to a .lng file
« Reply #2 on: September 23, 2002, 02:14:49 AM »
Reply with quote

i figured as much.  there really is no way to gaurentee that noone will use the same title other than to make it so unique and descriptive of the mod funtion that it is not likely any one else will do the same.

thanks,

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Adding to a .lng file « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.075 seconds with 20 queries.