Re: [Components] [Sdk-public] eZ Components: Template Translation Syntax

2008-01-23 Thread Derick Rethans
On Wed, 23 Jan 2008, Łukasz Serwatka wrote: > >> I think I'd prefer (for now), the following syntax: > >> > >> {_ "Hello #%nr (%nr2)" context "test" vars nr = $nr + 8, nr2 = 98} > > > > My take on it: > > > > {tr "Hello #%nr (%nr2)" context "test" comment "Helping text" vars nr > > = $nr + 8, nr

Re: [Components] [Sdk-public] eZ Components: Template Translation Syntax

2008-01-23 Thread Derick Rethans
On Tue, 22 Jan 2008, Ole Marius Smestad wrote: > My take on it: > > {tr "Hello #%nr (%nr2)" context "test" comment "Helping text" vars nr > = $nr + 8, nr2 = 98} I updated the syntax to this now: {tr "Hello #%nr (%nr2)" context "test" variables 'nr'=$nr + 8, 'nr2'=98} I will add comment later

Re: [Components] [Sdk-public] eZ Components: Template Translation Syntax

2008-01-23 Thread Łukasz Serwatka
> >> I think I'd prefer (for now), the following syntax: >> >> {_ "Hello #%nr (%nr2)" context "test" vars nr = $nr + 8, nr2 = 98} >> > > My take on it: > > {tr "Hello #%nr (%nr2)" context "test" comment "Helping text" vars nr > = $nr + 8, nr2 = 98} > > Beside of translation operator name

Re: [Components] [Sdk-public] eZ Components: Template Translation Syntax

2008-01-22 Thread Ole Marius Smestad
On 18. jan.. 2008, at 15.28, Derick Rethans wrote: > Hello! > > I've been prototyping the TemplateTranslationTiein and now need to > come > up with a syntax for the translation block in the templates. > > There is a few parts that needs discussing: > > 1. Which keyword to use > 2. How the conte