Author Topic: Use of '_T("...")' with 'CB'  (Read 2110 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 594
  • L'ami de l'homme. The friend of man.
    • LETARTARE
Use of '_T("...")' with 'CB'
« on: Yesterday at 04:12:37 pm »
I just compiled only 'cb-13984' and found 2638 strings '_T("...")' !! (without plugins)
However, since 'wx-3.0' this writing is obsolete.

What would be the advice to gradually delete this writing and how?

As for me, I think research on every target could be a lead.
CB-13984, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 594
  • L'ami de l'homme. The friend of man.
    • LETARTARE
Re: Use of '_T("...")' with 'CB'
« Reply #1 on: Yesterday at 04:20:39 pm »
Note :
'_T("")' => 'wxEmptyString'
CB-13984, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1902
Re: Use of '_T("...")' with 'CB'
« Reply #2 on: Yesterday at 04:40:35 pm »
I delete them as I pass near (see 13984), but some areas may be tricky (for example, parts of wxSmith creating string arrays).

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 594
  • L'ami de l'homme. The friend of man.
    • LETARTARE
Re: Use of '_T("...")' with 'CB'
« Reply #3 on: Yesterday at 06:39:21 pm »
I just dropped off three tickets: 1632, 1633, 1634
CB-13984, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'