Re: [PHPTAL] Variables in i18n:attributes

2012-05-16 Thread Thomas Tanghus
On Saturday 12 May 2012 11:53 Thomas Tanghus wrote: Hi I started playing around with phptal this week because I wanted to see if it was possible to use as a templating system in ownCloud ( http://owncloud.org ). It turned out to be very easy to integrate, and I've only stumbled over one

Re: [PHPTAL] Variables in i18n:attributes

2012-05-16 Thread Robert Goldsmith
Maybe I've missed something but my interpretation of your problem is that you want to add variable content into a translation string for an attribute. How about something like: div i18n:attributes=title title=titleTranslationKey tal:block i18n:name=maxFilesize

Re: [PHPTAL] Variables in i18n:attributes

2012-05-16 Thread Thomas Tanghus
On Wednesday 16 May 2012 13:23 Robert Goldsmith wrote: Maybe I've missed something but my interpretation of your problem is that you want to add variable content into a translation string for an attribute. How about something like: div i18n:attributes=title title=titleTranslationKey

Re: [PHPTAL] Variables in i18n:attributes

2012-05-16 Thread Thomas Tanghus
On Wednesday 16 May 2012 18:04 Thomas Tanghus wrote: On Wednesday 16 May 2012 13:23 Robert Goldsmith wrote: Maybe I've missed something but my interpretation of your problem is that you want to add variable content into a translation string for an attribute. How about something like: