Ticket #586 (closed defect: fixed)

Opened 2 years ago

Last modified 14 months ago

Translatable strings in versionInfo never get translated

Reported by: jteh Owned by: jteh
Priority: major Milestone: 2010.1
Component: Localisation Version: 2009.1rc1
Keywords: regression Cc:
Operating system: Blocked by:
Blocking:

Description

Even though the strings in the versionInfo module are marked as translatable, they always render as English, even when the language is set to something else. This is most obvious in the NVDA About dialog.

I suspect this is caused by versionInfo being imported in logHandler.FileHandler.handle(). Although this is a late import, NVDA does log some messages before initialising languageHandler. This change was introduced in changeset:main,3140 and is therefore probably a regression introduced in 2009.1rc1.

Notes:

  • We import versionInfo there to check whether this is a test version.
  • We can't initialise languageHandler earlier because it requires config to be loaded and we want to be able to log NVDA startup and config load.

Change History

comment:1 Changed 2 years ago by jteh

  • Owner changed from pvagner to jteh
  • Status changed from new to assigned
  • Milestone set to 2010.1

comment:2 Changed 2 years ago by jteh

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.