Tip of the Day

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Tip of the Day

Post by jacky »

Code: Select all

    + Tweak: Added key to tweak the name of the TipOfTheDay file. Useful 
      when you want to use translated versions of TipOfTheDay.htm with 
      distinctive filenames. 
      For example, this could be the name for a Brazilian version: 
        [Settings] 
        FileTipOfTheDay=TipOfTheDay_br.htm 
      The default name for the file is and has been TipOfTheDay.htm.
Question : Shouldn't then the user file not be tipfotheday_user.htm but whatever the name of the file of "official" tips is, with a suffix _user ?

So in your example, it'd be TipOfTheDay_br_user.htm
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tip of the Day

Post by admin »

jacky wrote:

Code: Select all

    + Tweak: Added key to tweak the name of the TipOfTheDay file. Useful 
      when you want to use translated versions of TipOfTheDay.htm with 
      distinctive filenames. 
      For example, this could be the name for a Brazilian version: 
        [Settings] 
        FileTipOfTheDay=TipOfTheDay_br.htm 
      The default name for the file is and has been TipOfTheDay.htm.
Question : Shouldn't then the user file not be tipfotheday_user.htm but whatever the name of the file of "official" tips is, with a suffix _user ?

So in your example, it'd be TipOfTheDay_br_user.htm
I don't see a necessity, but it would be easier to communicate: user file = official + _user.

So you could also have fruitcake.jam and fruitcake_user.jam if you feel like it.

Post Reply