This commit is contained in:
Kovid Goyal 2022-04-19 17:15:05 +05:30
parent c98610b51d
commit 0788eff9f3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -68,7 +68,7 @@ class Client:
if self.system_default_output_module is None: if self.system_default_output_module is None:
self.system_default_output_module = self.ssip_client.get_output_module() self.system_default_output_module = self.ssip_client.get_output_module()
if self.system_default_output_module == '(null)': if self.system_default_output_module == '(null)':
raise ValueError('Speech dispatcher on this system is not configured with any available voices. Install some voices first.') raise ValueError(_('Speech dispatcher on this system is not configured with any available voices. Install some voices first.'))
if not self.settings_applied: if not self.settings_applied:
self.apply_settings() self.apply_settings()
self.set_use_ssml(use_ssml) self.set_use_ssml(use_ssml)