[Lazarus] Replacing LRT format with RSJ

Maxim Ganetsky ganmax at narod.ru
Tue Feb 16 18:41:07 CET 2016



16.02.2016 20:31, Giuliano Colla пишет:
> Il 16/02/2016 17:29, Maxim Ganetsky ha scritto:
>> As a result people using this feature will need to remove their .lrt
>> files and save all affected forms again in order to generate .lrj files.
>> No other changes should be needed.
>>
>> Any comments?
> 
> To actually provide the benefit to users, it would be nice if the
> transition process would be made automatic in Lazarus IDE.
> I.e.: If in Project Options "Enable i18n" and "Create/update .po file
> when saving" are both ticked,  a "Compile" should check for the presence
> of  .lrt files and behave accordingly, i.e. remove .lrt files and
> generate again what required.
> 
> Is that possible?

Not without forcibly saving all affected forms. I don't think it is
good, because LFMs can change (e.g. when form created in Linux and saved
in Windows).

-- 
Best regards,
 Maxim Ganetsky                  mailto:ganmax at narod.ru




More information about the Lazarus mailing list