Ticket #1223 (new defect)

Opened 3 years ago

Last modified 3 years ago

AppWizard doesn't translate Captions

Reported by: sunday Assigned to: somebody
Priority: major Milestone: 0.9.2
Component: app Version: 0.9.1
Keywords: Cc:

Description

AppWizard? creates applications where some captions are not being translated. This causes Matching to fail and the Application won't run at all on another locale than english. Changes need to be done do FrmMain? and FrmBase? so that menucaptions are translated properly.

Change History

06/22/09 13:38:45 changed by paul

Any chance you could post code that fixes this?

07/05/09 15:07:33 changed by sunday

It's no more than running those strings through _(...):

spec-FrmBase?.py.txt:

line 29: fileMenu = self.MenuBar?.getMenu(_("File")) line 39: idx = self.MenuBar?.getMenuIndex(_("Actions")) line 48: menu = self.MenuBar?.getMenu(_("Actions"))

spec-FrmMain?.py.txt:

line 22: fileMenu = self.MenuBar?.getMenu(_("File"))