Bug #10297 2007-02-10 18:51

gd_on

"Settings" is not always translated

I have a french translation of codeblocks. In the menus I have two consecutive menus items "Settings" and "Parametres". "Parametres" is the french translation for "Settings". Settings menu contain only one submenu "Edit startup script" when French langage is activated.

When I run CodeBlocks in English, it's OK, all the settings are only in one "Settings" menu (and the "Edit startup script" sub menu is the last one).

gd

Category
Application::Localisation
Group
 
Status
Closed
Close date
2007-07-03 09:27
Assigned to
 
gd_on 2007-02-13 17:36

You can look at images showing the problem in the forum at http://forums.codeblocks.org/index.php?topic=5138.msg40281#msg40281

gd

ID_22044 2007-05-24 13:42

This is a bug in the script: startup.script

GetScriptingManager().RegisterScriptMenu(_T("Settings/-Edit startup script"), _T("edit_startup_script.script"), false);

should be something like:

GetScriptingManager().RegisterScriptMenu(_("Settings") + _T("/-Edit startup script"), _T("edit_startup_script.script"), false);

The problem is that the script engine can't translate strings yet.

ID_22044 2007-05-25 21:34

Patch provided (patch #2020)

mandrav 2007-07-03 09:27

This bug is now fixed in HEAD.

Thank you for reporting it.