Re: [PATCH] Convert insetCollapsable::setLabel() to unicode

2006-10-08 Thread Georg Baum
Am Sonntag, 8. Oktober 2006 11:51 schrieb Abdelrazak Younes: > Very good. I've tried that actually and was deceived that it was still > not in. I simply forgot it (and now dug out a wrong version which returned a copy of the string. This is fixed now). > > For other cases we have from_ascii. >

Re: [PATCH] Convert insetCollapsable::setLabel() to unicode

2006-10-08 Thread Abdelrazak Younes
Georg Baum wrote: Am Sonntag, 8. Oktober 2006 11:25 schrieb Abdelrazak Younes: - string label; + docstring label; // FIXME UNICODE - label += lyx::to_utf8(_("Box")); - label += " ("; + label += _("Box"); + label += lyx::from_utf8(" ("); No. Never us

Re: [PATCH] Convert insetCollapsable::setLabel() to unicode

2006-10-08 Thread Georg Baum
Am Sonntag, 8. Oktober 2006 11:25 schrieb Abdelrazak Younes: > -   string label; > +   docstring label; > // FIXME UNICODE > -   label += lyx::to_utf8(_("Box")); > -   label += " ("; > +   label += _("Box"); > +   label += lyx::from_utf8(" ("); No. Never use from_u

[PATCH] Convert insetCollapsable::setLabel() to unicode

2006-10-08 Thread Abdelrazak Younes
Will commit soon. Abdel. Index: insetbox.C === --- insetbox.C (revision 15262) +++ insetbox.C (working copy) @@ -147,18 +147,19 @@ BoxType btype = boxtranslator().find(params_.type); - string label; + docstr