MANIFEST_FILENAME = "manifest.ini"
-BUNDLE_EXTENSION = "nvda-adon"
+BUNDLE_EXTENSION = "nvda-addon"
#: Currently loaded add-ons. keyed by path
#: @type runningAddons: list
\r
def OnAddClick(self,evt):\r
# Translators: The message displayed in the dialog that allows you to choose an addon bundle for installation.\r
- fd=wx.FileDialog(self,message=_("Choose Addon bundle file"),wildcard="NVDA Addon Bundle (*.nvda-addon)|*.nvda-addon",defaultDir="c:",style=wx.FD_OPEN)\r
+ fd=wx.FileDialog(self,message=_("Choose Addon bundle file"),\r
+ # Translators: the label for the nvda adon file type in the Choose addon dialog.\r
+ wildcard=(_("NVDA Addon Bundle (*.{ext})")+"|*.{ext}").format(ext=addonHandler.BUNDLE_EXTENSION),\r
+ defaultDir="c:",style=wx.FD_OPEN)\r
if fd.ShowModal()!=wx.ID_OK:\r
return\r
addonPath=fd.GetPath()\r