[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Placeholder address family
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Placeholder address family |
Date: |
Thu, 29 Aug 2013 23:42:44 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Aug 29, 2013 at 09:17:21PM +0000, Jim Busser wrote:
> 1) Given the 'optional' in
>
> patient_address # args: <type of address>//<optional formatting
> template>
>
> is the default (when no fields are specified)
>
> %(street)s %(number)s, %(postcode)s %(urb)s, %(l10n_state)s,
> %(l10n_country)s
The default is:
_('%(street)s %(number)s, %(postcode)s %(urb)s, %(l10n_state)s,
%(l10n_country)s')
> 2) Among the placeholders
>
> adr_street
> adr_number
> adr_subunit
> adr_location
> adr_suburb
> adr_postcode
> adr_region
> adr_country
>
> was 'location' -- as in adr_location -- meant to serve a more-generic label
> for 'urb'
A more understandable label for the *user*, yes.
> nonetheless pulling from dem.v_address.urb ?
Yes.
> 3) Would
>
> $<adr_region::home>$
>
> be equivalent to
>
> $<patient_address::home//%(l10n_state)s>$
Yes, but both are invalid (they lack "::<length>").
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346