On 7/16/12, Mattias Gaertner <[email protected]> wrote: >> So I have to do MyLabel.Caption := SomeResourceString again after the >> translation. > > Yes. >
In the ideal world I would set in OI that Caption uses a resourcestring, and the component has some method to re-read it's content, so one could do stuff like: for i := 0 to Form1.ComponentCount - 1 do begin C := Form1.Compnents[i]; if C.UsesResourceStringForCaption then C.UpdateResourceString; end; This would make maintanance (large menu's, active devolopment of forms in question) lots easier. Bart -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
