I searched the code and I think it's good enough in the log system
so I would suggest

set myDate [ clock format [clock seconds] -format "%d %b %Y %T" ]

label .${wind_name}.txt -text "[trans on] $myDate\n$nick ($user)\n$msg\n"

this woul avoid a lot of small but complicated entries il the language files

2007/3/23, tonighx <[EMAIL PROTECTED]>:
> in this case you shoul do it in this way everytime time and date
> appear (like lconvstartedOIM and other log entries)
>
> 2007/3/23, Youness Alaoui <[EMAIL PROTECTED]>:
> > yes indeed, it should be translatable, but not the same way you specified 
> > it..
> > instead of  : ""%d/%m/%y [trans at] %H:%M" it should be : "[trans at 
> > %d/%m/%y %H:%M]" because maybe in some
> > language the date should come after the time or something..
> >
> > KKRT
> >
> >
> > On Fri, Mar 23, 2007 at 11:03:21AM +0100, tonighx wrote:
> > > shuldn't this be translatable? some thing like this...
> > >
> > > set myDate [ clock format [clock seconds] -format "%d/%m/%y [trans at] 
> > > %H:%M" ]
> > >
> > > label .${wind_name}.txt -text "[trans from]: $nick ($user)\n[trans
> > > time] $myDate\n\n$msg\n"
> > >
> > >
> > > 2007/3/23, Sake Sashimi <[EMAIL PROTECTED]>:
> > > > Hi Kakaroto,
> > > >
> > > > Here is the diff for alarm_3:
> > > >
> > > > Index: alarm.tcl
> > > > ===================================================================
> > > > --- alarm.tcl   (revision 8280)
> > > > +++ alarm.tcl   (working copy)
> > > > @@ -307,9 +307,9 @@
> > > >
> > > >         if { [::alarms::getAlarmItem ${config_user} pic_st] == 1 ||
> > > > [::alarms::getAlarmItem ${config_user} sound_st] == 1 } {
> > > >                 toplevel .${wind_name}
> > > > -               set myDate [ clock format [clock seconds] -format " -
> > > > %d/%m/%y at %H:%M" ]
> > > > -               wm title .${wind_name} "[trans alarm] $user $myDate"
> > > > -               label .${wind_name}.txt -text "$msg"
> > > > +               set myDate [ clock format [clock seconds] -format 
> > > > "%d/%m/%y
> > > > at %H:%M" ]
> > > > +               wm title .${wind_name} "[trans alarm] - $nick"
> > > > +               label .${wind_name}.txt -text "From: $nick 
> > > > ($user)\nTime:
> > > > $myDate\n\n$msg\n"
> > > >                 pack .${wind_name}.txt
> > > >         }
> > > >
> > > > Thanks,
> > > > Sakesashimi
> > > >
> > > >
> > > > On 3/22/07, Youness Alaoui <[EMAIL PROTECTED] > wrote:
> > > > > Hi,
> > > > > thanks for the screenshots, well done, I like both the alarm_1.jpeg 
> > > > > and
> > > > alarm_3.jpeg...
> > > > > I don't know exactly which one is better, maybe alarm_3 is better...
> > > > > If you can send the patch for alarm_3, that would be nice.
> > > > >
> > > > > Thanks,
> > > > > KaKaRoTo
> > > > >
> > > > > On Wed, Mar 21, 2007 at 07:30:20PM -0400, Sake Sashimi wrote:
> > > > > > Hi everyone,
> > > > > >
> > > > > > I came across to the 'alarm window' thread in the forum:
> > > > > >
> > > > > >
> > > > http://www.amsn-project.net/forums/viewtopic.php?p=16396
> > > > > >
> > > > > > I add some improvement on the alarm window so that user can clearly 
> > > > > > see
> > > > the
> > > > > > information right now.
> > > > > >
> > > > > > I attached some screenshots of several improvements that I made.  
> > > > > > The
> > > > > > 'alarm_original.jpeg' is the original one without improvement.
> > > > > >
> > > > > > Please let me know which one you like :) (hopefully you like it)
> > > > > >
> > > > > > Cheers,
> > > > > > Sakesashimi
> > > > >
> > > > >
> > > > > >
> > > > -------------------------------------------------------------------------
> > > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > > Join SourceForge.net's Techsay panel and you'll get the chance to 
> > > > > > share
> > > > your
> > > > > > opinions on IT & business topics through brief surveys-and earn cash
> > > > > >
> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > _______________________________________________
> > > > > > Amsn-devel mailing list
> > > > > > Amsn-devel@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > >
> > > > >
> > > > >
> > > > -------------------------------------------------------------------------
> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > Join SourceForge.net's Techsay panel and you'll get the chance to 
> > > > > share
> > > > your
> > > > > opinions on IT & business topics through brief surveys-and earn cash
> > > > >
> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > _______________________________________________
> > > > > Amsn-devel mailing list
> > > > > Amsn-devel@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > > >
> > > >
> > > >
> > > > -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > > > your
> > > > opinions on IT & business topics through brief surveys-and earn cash
> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > _______________________________________________
> > > > Amsn-devel mailing list
> > > > Amsn-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > > >
> > > >
> > >
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > > your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Amsn-devel mailing list
> > > Amsn-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Amsn-devel mailing list
> > Amsn-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> >
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to