User forums > Using Code::Blocks

"Find broken files in project" positioned under menu "Plugins"

<< < (3/3)

gd_on:
Oups, sorry.
Nevertheless, I have tried a few things in this script. Translation can work.
The problem, may be, comes from the menu "Plugins" :
Here, in the script, it is identified by simply "Plugins". And it's only there, it is identified like that.
In the translation file, I find "&Plugins" (used in 1 xrc file)  or even "P&lugins" (used in 5 files: 4 cpp and 1 xrc). It's not the same string. Which one should be used in the script ? ... needs some more investigations...
Have a nice Christmas  ;)
Gd_on

PS : @Anbang24 : Could you try a nightly ? I I remember well, someone tried to use or work on some of the menu strings without the ampersand character (the &) or morelss independantly of its position. But may be it was not still implemented in official 17.12 version. And of course, this implementation has an effect on translations !!!

Anbang24:

--- Quote from: gd_on on December 26, 2019, 11:21:34 am ---PS : @Anbang24 : Could you try a nightly ? I remember well, someone tried to use or work on some of the menu strings without the ampersand character (the &) or morelss independantly of its position. But may be it was not still implemented in official 17.12 version. And of course, this implementation has an effect on translations !!!

--- End quote ---

I downloaded the "15 December 2019 build (11927)" and tried. Yes, it works! The script plugin "Find broken files in project" appears under the translated menu "Plugin". That's OK! The problem solved!

gd_on:
Cool  ;D
I think with C::B version 17.12, it should have been OK if in the script you replace   entries.Add(_("Plugins")... by   entries.Add(_("P&lugins")...
But it's not necessary with nightlies and certainly also in the future new version 20.xx.

gd_on

Navigation

[0] Message Index

[*] Previous page

Go to full version