gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] placeholders for patientletters


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] placeholders for patientletters
Date: Tue, 29 Sep 2009 14:17:13 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Sep 24, 2009 at 04:51:57PM +0200, Slappinjohn wrote:

> >> and a placeholder where you can
> >> select by gender:
> >>
> >> male: Sehr geehrter Herr <name>
> >> female: Sehr geehrte Frau <name>
> > 
> > This is going to be a bit more difficult because it requires
> > translation of static text which one wants to be runtime
> > user definable in the best case.
> 
> 
> If it's too hard, I have no problem doing this by hand, it would just
> make things easier...

I have solved this, too, in CVS HEAD:

        <$gender_mapper::Sehr geehrter Herr//Sehr geehrte Frau//Hallo::35$>

will result in the proper strings for "male//female//other
gender" truncated to 35 characters. Note that the actual
strings returned for male//female//other are, of course,
arbitrary...   ;-)

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]