Re: [Proposal] i18n blocktrans semantics & syntax change

2007-09-14 Thread Tomas Kopecek
Malcolm Tredinnick napsal(a): > On Thu, 2007-09-13 at 14:02 +0200, Tomas Kopecek wrote: > [...] >> I think that blocktrans in its current state is more obstacle than >> helper for me and introduces lot of quite unnecessary code. Furthermore >> I see priority in usability and simplicity for desig

Re: [Proposal] i18n blocktrans semantics & syntax change

2007-09-14 Thread Malcolm Tredinnick
On Fri, 2007-09-14 at 11:09 +0200, Michael Radziej wrote: > On Fri, Sep 14, Malcolm Tredinnick wrote: > > > > > On Thu, 2007-09-13 at 14:02 +0200, Tomas Kopecek wrote: > > [...] > > > I think that blocktrans in its current state is more obstacle than > > > helper for me and introduces lot of qu

Re: [Proposal] i18n blocktrans semantics & syntax change

2007-09-14 Thread Michael Radziej
On Fri, Sep 14, Malcolm Tredinnick wrote: > > On Thu, 2007-09-13 at 14:02 +0200, Tomas Kopecek wrote: > [...] > > I think that blocktrans in its current state is more obstacle than > > helper for me and introduces lot of quite unnecessary code. Furthermore > > I see priority in usability and s

Re: [Proposal] i18n blocktrans semantics & syntax change

2007-09-13 Thread Malcolm Tredinnick
On Thu, 2007-09-13 at 14:02 +0200, Tomas Kopecek wrote: [...] > I think that blocktrans in its current state is more obstacle than > helper for me and introduces lot of quite unnecessary code. Furthermore > I see priority in usability and simplicity for designers than for > translators. Well r

Re: [Proposal] i18n blocktrans semantics & syntax change

2007-09-13 Thread Tomas Kopecek
Malcolm Tredinnick napsal(a): > The standard argument against allowing arbitrary constructs inside the > translation block (things like {{var|filter}}) is that translators have > to type that string *exactly* into their translation in order for it to > appear. Since those strings can get quite co

Re: [Proposal] i18n blocktrans semantics & syntax change

2007-09-12 Thread Malcolm Tredinnick
On Wed, 2007-09-12 at 23:10 +0200, Tomas Kopecek wrote: > Hi, > I've implemented blocktrans in slightly different syntactical/semantical > manner. Look at the following examples: > > {% blocktrans %} > text {{var}} > {{var|filter}} > {% endblocktrans %} > > and plural variant: > > {% b

[Proposal] i18n blocktrans semantics & syntax change

2007-09-12 Thread Tomas Kopecek
Hi, I've implemented blocktrans in slightly different syntactical/semantical manner. Look at the following examples: {% blocktrans %} text {{var}} {{var|filter}} {% endblocktrans %} and plural variant: {% blocktrans count any_string|length as count %} singular variant {{count}} {%