[Nvda-dev] commit r3433 - in trunk/source: . synthDrivers
NVDA Subversion
svn at nvda-project.org
Wed Dec 9 23:41:10 UTC 2009
Author: bzr
Date: Wed Dec 9 23:41:08 2009
New Revision: 3433
Log:
Remove colons from synthSettings i18n labels as they seem to be now already in the GUI code (which was meaning double colons).
Modified:
trunk/source/synthDriverHandler.py
trunk/source/synthDrivers/newfon.py
Modified: trunk/source/synthDriverHandler.py
==============================================================================
--- trunk/source/synthDriverHandler.py (original)
+++ trunk/source/synthDriverHandler.py Wed Dec 9 23:41:08 2009
@@ -172,29 +172,29 @@
@classmethod
def VoiceSetting(cls):
"""Factory function for creating voice setting."""
- return SynthSetting("voice",_("&Voice:"))
+ return SynthSetting("voice",_("&Voice"))
@classmethod
def VariantSetting(cls):
"""Factory function for creating variant setting."""
- return SynthSetting("variant",_("V&ariant:"))
+ return SynthSetting("variant",_("V&ariant"))
@classmethod
def RateSetting(cls,minStep=5):
"""Factory function for creating rate setting."""
- return NumericSynthSetting("rate",_("&Rate:"),minStep)
+ return NumericSynthSetting("rate",_("&Rate"),minStep)
@classmethod
def VolumeSetting(cls,minStep=5):
"""Factory function for creating volume setting."""
- return NumericSynthSetting("volume",_("V&olume:"),minStep)
+ return NumericSynthSetting("volume",_("V&olume"),minStep)
@classmethod
def PitchSetting(cls,minStep=5):
"""Factory function for creating pitch setting."""
- return NumericSynthSetting("pitch",_("&Pitch:"),minStep)
+ return NumericSynthSetting("pitch",_("&Pitch"),minStep)
@classmethod
def InflectionSetting(cls,minStep=5):
"""Factory function for creating inflection setting."""
- return NumericSynthSetting("inflection",_("&Inflection:"),minStep)
+ return NumericSynthSetting("inflection",_("&Inflection"),minStep)
@classmethod
def check(cls):
Modified: trunk/source/synthDrivers/newfon.py
==============================================================================
--- trunk/source/synthDrivers/newfon.py (original)
+++ trunk/source/synthDrivers/newfon.py Wed Dec 9 23:41:08 2009
@@ -172,9 +172,9 @@
description = _("russian newfon synthesizer by Sergey Shishmintzev")
supportedSettings=(
SynthDriver.VoiceSetting(),
- SynthSetting("language",_("&Language:")),
+ SynthSetting("language",_("&Language")),
SynthDriver.RateSetting(),
- SynthSetting("accel",_("&Acceleration:")),
+ SynthSetting("accel",_("&Acceleration")),
SynthDriver.PitchSetting(),
SynthDriver.InflectionSetting(10),
SynthDriver.VolumeSetting(),
More information about the Nvda-dev
mailing list