Recent

Author Topic: Localization, multi-line in caption or hint doesn't saved right to po file.  (Read 1918 times)

coliv_aja

  • New Member
  • *
  • Posts: 38
Using fpc+lazarus trunk.
If I use multi-line caption or hint, for example in label or tedit.
When saved to to po file. It only recognize the first line, and produce some messed up item in po file, like repeated string on first line everytime I compile my project.

I can add the multi-line (with \n) with poeditor though. And working fine. But I will lose the actual string, and getting harder to locate on project with a lot of translation string.
Another workaround is to store it in resourcestring, and reload it when language changed. But that also will make to much work.

Is it fpc bug or what?
Do I've to report it?

Excuse my language.
Thanks in advance.

coliv_aja

  • New Member
  • *
  • Posts: 38
I've been made a bug report and patch at http://bugs.freepascal.org/view.php?id=28105
Maybe someone can look at it.

 

TinyPortal © 2005-2018