Martin Fuchs | 27 Jan 17:20

Re: SF.net SVN: mantisbt: [4906] trunk/mantisbt/lang/strings english.txt

Hello John!

Well, i would propose to make a difference between these two "on" strings, for example by defining this strings:

s_on = 'On'         <- for switching some flag to the "on" state
s_off = 'Off' 

s_on_date = 'On'       <-  for "mail sent on ..." dates or similar

Regards,

   Martin

On 27.01.2008 10:07:28 John Reese wrote:
> Martin Fuchs wrote:
> > Hello,
> > 
> > I came across this new text constant s_off = 'Off' while updating the 
> German translation. Do really need this, I could not find any could using it 
> currently. The constant s_on = 'On' is used for expressions handling dates 
> like "email sent On ...". It's not the meaning to switch some thing "on" / 
> "off".
> > 
> > Regards,
> > 
> >    Martin

> I added this text to the language in preparation for an upcoming feature 
> (see bug #8766), where it will indeed be used in the context of 
> enabling/disabling over a set of options.

> However, now that I realize that $s_on is being used for a different 
> purpose, I would like to resolve this as best as possible.  What would 
> you propose to be the solution?  Should/could $s_on be changed to 
> something that fits both situations?  Should anything already using 
> $s_on be changed to using a different string?

> I had originally planned to use separate strings for the feature, but 
> switched to using $s_on and $s_off at the suggestion of Victor.  If 
> there is no good solution to this issue, then it may just be best for me 
> to return to my original plan, and just remove $s_off from the string 
> files again.

> Cheers

> -- 
> John Reese
> LeetCode.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane