Only the last column title of a grid can be localized via .lrt/.po
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
I add columns to a grid in design time with Object Inspector via Columns property. They are represented in LFM file this way:
Columns = <
item
Title.Caption = 'First'
end
item
Title.Caption = 'Second'
end
item
Title.Caption = 'Third'
end>
In the generated LRT file each title has the same identifier:
TFORM1.STRINGGRID1.COLUMNS.TITLE.CAPTION=First
TFORM1.STRINGGRID1.COLUMNS.TITLE.CAPTION=Second
TFORM1.STRINGGRID1.COLUMNS.TITLE.CAPTION=Third
The result in the .po file is:
#: TFORM1.STRINGGRID1.COLUMNS.TITLE.CAPTION
msgid "Third"
msgstr ""
Only the last string is saved, but all three strings should be saved and allowed to be translated.
Mantis conversion info:
- Mantis ID: 15180
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 25431 (#99c23d89)
- Monitored by: » Marelis (Marelis)