Re: r33370 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui insets

2010-02-10 Thread Abdelrazak Younes
On 02/10/2010 08:19 AM, Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: Should be OK now (untested). No, it's not. You cannot use params.type for that, because that's not flagged for translation. Have a look at InsetCollapsable::floatName(). OK, I'll do that. I have to fix th

Re: r33370 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui insets

2010-02-09 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Should be OK now (untested). No, it's not. You cannot use params.type for that, because that's not flagged for translation. Have a look at InsetCollapsable::floatName(). Jürgen

Re: r33370 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui insets

2010-02-09 Thread Abdelrazak Younes
On 02/09/2010 07:47 PM, Jürgen Spitzmüller wrote: younes wrote: -void FloatPlacement::set(lyx::InsetFloatParams const& params) +void FloatPlacement::paramsToDialog(Inset const * inset) { + InsetFloat const * fl = static_cast(inset); + InsetFloatParams const& params = fl->para

Re: r33370 - in lyx-devel/trunk/src: . frontends/qt4 frontends/qt4/ui insets

2010-02-09 Thread Jürgen Spitzmüller
younes wrote: > -void FloatPlacement::set(lyx::InsetFloatParams const & params) > +void FloatPlacement::paramsToDialog(Inset const * inset) > { > + InsetFloat const * fl = static_cast(inset); > + InsetFloatParams const & params = fl->params(); > + > + floatType->setText(toqstr(pa