Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Put the error messages in a template. :)

 
Reply to topic    Forum Index » Suggestions View previous topic
View next topic
Put the error messages in a template. :)
Author Message
Thrik
Guest





Post Put the error messages in a template. :) Reply with quote
One thing that always bothered me about CuteNews was how disjointed its error messages are. Here's an example:



http://www.teamkilled.net/2005/10/12/neghrtryhgbt



Before I switched to CuteNews.RU, I went through the php files and hacked includes in so I could template the errors to fit my design. However, since CuteNews.RU is in development I don't want to go doing that for obvious reasons. So, any chance an extra template could be added which is wrapped around all of these error messages? Putting them in English would probably help, too! Smile
Wed Oct 12, 2005 5:20 pm
Guest








Please login to hide the ads.

lexa
Creator of CuteNews.RU


Joined: 02 Oct 2005
Posts: 92
Location: St.-Petersburg, Russia

Post Reply with quote
Copy that:

Code:
notFound = "Post not found."

nameLong = "The name is too long"

mailLong = "The e-mail is too long"

commentLong = "The comment is too long"

flood = "Flood protection activated!<br />Please wait for <b>%s</b> seconds."

sorryYouSuck = "You can't post any comment. Your IP is blocked."

password = "Password: "

onlyUsers = "Only registered users can post the comments. Register please."

nameEmpty = 'Please fill in "your name" field'

mailEmpty = 'Please fill in "your e-mail" field'

mailWrong = "e-mail you have entered is invalid"

commentEmpty = "The comment field can't be blank"

approvalWarning = "Your comment is waiting for approve."




And paste to lang/shows.ini
Wed Oct 12, 2005 7:37 pm View user's profile Send private message Visit poster's website ICQ Number
Thrik
Guest





Post Reply with quote
Oho! That's pretty handy, having all the errors in one place. I think I'll stick my div tags in there for the time being, although templating it in a future release would be great if possible.



Thanks!
Wed Oct 12, 2005 8:09 pm
andkon



Joined: 27 Sep 2005
Posts: 23

Post Reply with quote
Yeah, I agree with Thrik.
Wed Oct 12, 2005 9:57 pm View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    Forum Index » Suggestions 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



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.