Recent

Author Topic: LCLTranslator translate everything but texthints  (Read 280 times)

muller59

  • New Member
  • *
  • Posts: 16
LCLTranslator translate everything but texthints
« on: August 07, 2020, 02:30:06 pm »
i see my TEdit.texthint entries in the .po file
they are translated.
when i switch to the translated language, all is translated but the texthint

what am i missing?
--
Regards,
Rob.
----------
lubuntu 20.04, Lazarus trunk, FPC 3.0.4
Raspbian Buster, Lazarus trunk, FPC 3.0.4

wp

  • Hero Member
  • *****
  • Posts: 7539
Re: LCLTranslator translate everything but texthints
« Reply #1 on: August 07, 2020, 02:38:09 pm »
TextHints are relatively new properties, and probably nobody has noticed that they should be translated. I think you should file a report to bug tracker, the link is in the side panel at the left.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

muller59

  • New Member
  • *
  • Posts: 16
Re: LCLTranslator translate everything but texthints
« Reply #2 on: August 07, 2020, 03:16:37 pm »
bug reported  idd=0037506   
--
Regards,
Rob.
----------
lubuntu 20.04, Lazarus trunk, FPC 3.0.4
Raspbian Buster, Lazarus trunk, FPC 3.0.4

Blaazen

  • Hero Member
  • *****
  • Posts: 2918
  • POKE 54296,15
    • Eye-Candy Controls
Re: LCLTranslator translate everything but texthints
« Reply #3 on: August 07, 2020, 03:44:07 pm »
I'm curious why this does not work. Translator should translate everything declared as TTranslateString, which TextHint is.
Lazarus 2.1.0 r63881 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

muller59

  • New Member
  • *
  • Posts: 16
Re: LCLTranslator translate everything but texthints
« Reply #4 on: August 11, 2020, 04:10:38 pm »
@blaazen
i have attached a sample program to the bug report, see for yourself.
--
Regards,
Rob.
----------
lubuntu 20.04, Lazarus trunk, FPC 3.0.4
Raspbian Buster, Lazarus trunk, FPC 3.0.4

wp

  • Hero Member
  • *****
  • Posts: 7539
Re: LCLTranslator translate everything but texthints
« Reply #5 on: August 11, 2020, 04:54:22 pm »
The sample program is working correctly on Win32 and qt5, I confirm your observation on gtk2 and qt (where, however, the translated text appears in a TLabelEdit when it is focused and unfocused).
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

 

TinyPortal © 2005-2018