Skip to content

Commit

Permalink
Renamed the add-on to audioThemes3D. Probably damaged the git history…
Browse files Browse the repository at this point in the history
…, no big deal.
  • Loading branch information
mush42 committed Nov 14, 2019
1 parent 042766a commit c5890c8
Show file tree
Hide file tree
Showing 48 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@


import addonHandler

addonHandler.initTranslation()


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
from config import post_configSave, post_configReset, post_configProfileSwitch
from .unspoken import UnspokenPlayer, libaudioverse, dll_hack

import addonHandler
addonHandler.initTranslation()

THEMES_DIR = os.path.join(os.path.dirname(__file__), "Themes")
INFO_FILE_NAME = "info.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


import addonHandler

addonHandler.initTranslation()


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
from ..handler import AudioTheme, AudioThemesHandler, audiotheme_changed
from .themes_blender import BaseDialog, ThemeBlenderDialog

import addonHandler
addonHandler.initTranslation()


# Translators: the welcome message of the audio theme studio dialog
WELCOME_MSG = _(
"Welcome To The Audio Themes Studio:\n"
"Here you can create new audio themes and package them for sharing with others.\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
from ..unspoken import UnspokenPlayer
from ..handler import AudioTheme, AudioThemesHandler, theme_roles, SUPPORTED_FILE_TYPES

import addonHandler
addonHandler.initTranslation()


def _show_audio_file_dialog(parent):
# Translators: label for all supported file types found in an open dialog
Expand Down Expand Up @@ -126,10 +129,10 @@ def addControls(self, sizer, parent):

def getButtons(self, parent):
btnsizer = wx.StdDialogButtonSizer()
# Translators: the lable of the close button in a dialog
# Translators: the label of the close button in a dialog
okBtn = wx.Button(parent, wx.ID_OK, _("OK"))
okBtn.SetDefault()
# Translators: the lable of the close button in a dialog
# Translators: the label of the close button in a dialog
cancelBtn = wx.Button(parent, wx.ID_CANCEL, _("Cancel"))
btnsizer.AddButton(okBtn)
btnsizer.AddButton(cancelBtn)
Expand All @@ -143,7 +146,7 @@ def onOkClicked(self, event):
self.Close()

def should_return_id_ok(self):
"""Override to indicate if this dialog was not canceled."""
"""Override to indicate if this dialog was not cancelled."""
return True


Expand Down Expand Up @@ -193,10 +196,10 @@ def addControls(self, sizer, parent):

def getButtons(self, parent):
btnsizer = wx.StdDialogButtonSizer()
# Translators: the lable of the OK button in a dialog
# Translators: the label of the OK button in a dialog
saveBtn = wx.Button(parent, wx.ID_SAVE, _("&Save"))
saveBtn.SetDefault()
# Translators: the lable of the cancel button in a dialog
# Translators: the label of the cancel button in a dialog
cancelBtn = wx.Button(parent, wx.ID_CANCEL, _("Cancel"))
for btn in (saveBtn, cancelBtn):
btnsizer.AddButton(btn)
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# for previously unpublished addons, please follow the community guidelines at:
# https://bitbucket.org/nvdaaddonteam/todo/raw/master/guidelines.txt
# add-on Name, internal for nvda
"addon_name" : "audiothemes",
"addon_name" : "audioThemes3D",
# Add-on summary, usually the user visible name of the addon.
# Translators: Summary for this add-on to be shown on installation and add-on information.
"addon_summary" : _("Audio Themes"),
Expand Down

0 comments on commit c5890c8

Please sign in to comment.