Jean-Marc Lasgouttes wrote: > Juergen> I had a look at this again. The problem is that we only have > Juergen> the translated names (from the combo) if we are requesting > Juergen> the contents of the toc browser. Since we cannot just > Juergen> "translate back", the only alternative to compare against > Juergen> translated strings is, AFAICS, to store the translated gui > Juergen> names and its corresponding types in another vector (or map, > Juergen> I don't know what is to be perferred). Cf. attached patch. > > Isn't it possible to use the index in the combox? This would avoid > comparing translated strings, wouldn't it?
Isn't that the "store a vector<string> of "identifier strings" solution? Ie, use the combox index as the identifier to access the "identifier" strings vector. -- Angus