Skip to content

Commit 55a6fa0

Browse files
committed
update readme to extend the add-on behavior description.
add messages for translators.
1 parent c58c2bc commit 55a6fa0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

addon/globalPlugins/synthRingSettingsSelector.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ class SynthRingSettingsSelectorSettingsPanel(gui.SettingsPanel):
3939
def makeSettings(self, settingsSizer):
4040
self.curSettings = config.conf['synthRingSettingsSelector']['availableSettings']
4141
sHelper = gui.guiHelper.BoxSizerHelper(self, sizer=settingsSizer)
42+
# Translators: This is a label with instructions for the user.
4243
sHelper.addItem(wx.StaticText(self, label =_("Check the settings that you want to include in the Synth settings ring")))
43-
settingsGroup = gui.guiHelper.BoxSizerHelper(self, sizer=wx.StaticBoxSizer(
44-
wx.StaticBox(self, label= _("Settings group")), wx.VERTICAL))
44+
# Translators: This is a label for a group of options.
45+
settingsGroup = gui.guiHelper.BoxSizerHelper(self, sizer=wx.StaticBoxSizer(wx.StaticBox(self, label= _("Settings group")), wx.VERTICAL))
4546
sHelper.addItem(settingsGroup)
4647
self.settingsCheckbox = {}
4748
for k in synthDriverHandler._curSynth.supportedSettings:
@@ -76,4 +77,4 @@ def terminate(self):
7677
synthDriverHandler.setSynth = origSetSynth
7778
gui.settingsDialogs.setSynth = origSetSynth
7879
gui.settingsDialogs.NVDASettingsDialog.categoryClasses.remove(SynthRingSettingsSelectorSettingsPanel)
79-
config.post_configProfileSwitch.unregister(self.handleConfigProfileSwitch)
80+
config.post_configProfileSwitch.unregister(self.handleConfigProfileSwitch)

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ This package is distributed under the terms of the GNU General Public License, v
2929
* rate boost.
3030
* volume.
3131
* pitch.
32-
* inflection.
32+
* inflection.
33+
34+
Note: This dialog shows the supported settings by the current synthesizer only.
35+
Settings not present here aren't modified in the add-on config.

0 commit comments

Comments
 (0)