Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | | +void layoutSelected(LyXView & lv, string name) > | Lars> string const & name > | Oops! It seems that it pays to post the patches. > | | + // Yes, the _() is correct > | Lars> But it shouldn't be... Should we ever work with translated names | Lars> inside lyx? (more code I didn't notice go in I see...) > | The translated name is what gets inserted in the combox. So when a | layout is selected, what we get from the GUI _is_ the translated name.
Yes, I know. but ideally we should not work on the translated name, but on some index instead. -- Lgb