Multiline hints make .po file increasing after every form saving
Original Reporter info from Mantis: Black Doomer
-
Reporter name: Dmitry D. Chernov
Original Reporter info from Mantis: Black Doomer
- Reporter name: Dmitry D. Chernov
Description:
I attached a test project that illustrates the bug.
AFAIK, Lazarus' .po files, used for i18n, always start from these lines:
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
If some control on a form has a multiline hint (in my example, one control with hint of two lines), then the second line will be added to msgid, noticed above, after every saving of form file. For example, we get next in .po file from attached test project after three savings:
msgid "I BROKE YOUR i18nI BROKE YOUR i18nI BROKE YOUR i18n"
msgstr "Content-Type: text/plain; charset=UTF-8"
Mantis conversion info:
- Mantis ID: 30068
- OS: Windows
- OS Build: XP SP3
- Platform: i386 (x86)
- Version: 1.6
- Monitored by: » Black Doomer (Dmitry D. Chernov)