FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » How to change "color" to "colour" in the font options?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
How to change "color" to "colour" in the font options? [message #187811] Tue, 12 November 2019 14:02 Go to next message
EuroSong is currently offline  EuroSong   United Kingdom
Messages: 2
Registered: November 2019
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I'm talking about when you post a message or a reply, you have options to change the font, size and colour. They appear above this message I'm typing right now. The HTML looks like:

<select name="fnt_color" onchange="insertTag(document.post_form.msg_body, '[color='+document.post_form.fnt_color.options[this.selectedIndex].value+']', '[/color]'); document.post_form.fnt_color.options[0].selected=true">
	<option value="">Color</option>
	<option value="skyblue" style="color:skyblue">Sky Blue</option>
	<option value="royalblue" style="color:royalblue">Royal Blue</option>

... etc

However I am English, not American, and I want my spelling to show "Colour" with a u (in the first visible entry in the option list - obviously not in the css style names). I have searched through a bunch of the PHP and other source files, but I'm unable to find the template for this option list.

Can someone please tell me where I should be looking in order to edit this source? Thanks.
Re: How to change "color" to "colour" in the font options? [message #187812 is a reply to message #187811] Thu, 14 November 2019 11:38 Go to previous messageGo to next message
EuroSong is currently offline  EuroSong   United Kingdom
Messages: 2
Registered: November 2019
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
No worries. I found it now. It wasn't in the PHP or other source files: it was actually in "Message Editor" in the administration console. I didn't know this was editable as a user variable! Although the term "message" was misleading for this.

I now have another question: in the user profile editor, the date of birth is the wrong way round. It currently invites input in the order "month, day, year". It should either be "day, month, year" or "year, month, day".

Does anyone know any way to edit this?
Re: How to change "color" to "colour" in the font options? [message #187829 is a reply to message #187812] Wed, 27 November 2019 01:15 Go to previous message
naudefj is currently offline  naudefj   United States
Messages: 3708
Registered: December 2004
Karma: 25
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
You can swap the order in register.tmpl or apply patch https://sourceforge.net/p/fudforum/code/6341/
Remember to rebuild your themes when done.

PS: Please post your message change, so we can add it as an "uk-en" language option.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Myths-Classic: Click and Go
Next Topic: How to create a new theme for your forum
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 10 09:41:01 EST 2019

Total time taken to generate the page: 0.00698 seconds