Skip to content

Commit

Permalink
Fix display of selected voice on start up
Browse files Browse the repository at this point in the history
  • Loading branch information
CaffeineAU committed Aug 1, 2017
1 parent bb633d1 commit b26c354
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 48 deletions.
2 changes: 1 addition & 1 deletion Translator/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
</Style>
</Label.Style>
</Label>
<ComboBox x:Uid="AvailableVoices" ItemsSource="{Binding Path=SelectedEngine.AvailableVoices}" SelectedValue="{Binding Path=SelectedEngine.SelectedVoice, Mode=TwoWay}" SelectionChanged="VoiceComboBox_SelectionChanged" >
<ComboBox x:Uid="AvailableVoices" ItemsSource="{Binding Path=SelectedEngine.AvailableVoices}" SelectedItem="{Binding Path=SelectedEngine.SelectedVoice, Mode=TwoWay}" SelectionChanged="VoiceComboBox_SelectionChanged" >
<ComboBox.Style>
<Style x:Uid="Style_4" TargetType="{x:Type ComboBox}">
<Setter x:Uid="Setter_12" Property="Visibility" Value="Collapsed" />
Expand Down
2 changes: 1 addition & 1 deletion Translator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("[email protected]")]
[assembly: AssemblyProduct("TTSAutomate")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
22 changes: 0 additions & 22 deletions Translator/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions Translator/Properties/Settings.settings
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="TTSAutomate.Properties" GeneratedClassName="Settings.Portable">
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="TTSAutomate.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="LastPhraseFile" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="LastPhraseFile" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="LastOutputDirectory" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="LastOutputDirectory" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="ReopenLastPSVFile" Provider="PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Setting Name="ReopenLastPSVFile" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="SetOutputDirectory" Provider="PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Setting Name="SetOutputDirectory" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="RememberLanguageSettings" Provider="PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Setting Name="RememberLanguageSettings" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="EncodeToWav" Provider="PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Setting Name="EncodeToWav" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="IvonaRegion" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="IvonaRegion" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)">eu-west-1</Value>
</Setting>
<Setting Name="LastTTSProvider" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="LastTTSProvider" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)">Ivona Text To Speech</Value>
</Setting>
<Setting Name="LastTTSVoice" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="LastTTSVoice" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)">Salli</Value>
</Setting>
<Setting Name="LastTTSDiscreteVolume" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="LastTTSDiscreteVolume" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)">medium</Value>
</Setting>
<Setting Name="LastTTSDiscreteSpeed" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="LastTTSDiscreteSpeed" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)">medium</Value>
</Setting>
<Setting Name="LastTTSNumericVolume" Provider="PortableSettingsProvider" Roaming="true" Type="System.Int32" Scope="User">
<Setting Name="LastTTSNumericVolume" Roaming="true" Type="System.Int32" Scope="User">
<Value Profile="(Default)">100</Value>
</Setting>
<Setting Name="LastTTSNumericSpeed" Provider="PortableSettingsProvider" Roaming="true" Type="System.Int32" Scope="User">
<Setting Name="LastTTSNumericSpeed" Roaming="true" Type="System.Int32" Scope="User">
<Value Profile="(Default)">10</Value>
</Setting>
<Setting Name="CopyFolderWhenInsertingLines" Provider="PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Setting Name="CopyFolderWhenInsertingLines" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="CopyFolderWhenSelectingEmptyRow" Provider="PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Setting Name="CopyFolderWhenSelectingEmptyRow" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="WavSampleRate" Provider="PortableSettingsProvider" Roaming="true" Type="System.Int32" Scope="User">
<Setting Name="WavSampleRate" Roaming="true" Type="System.Int32" Scope="User">
<Value Profile="(Default)">16000</Value>
</Setting>
<Setting Name="WavBitsPerSample" Provider="PortableSettingsProvider" Roaming="true" Type="System.Int32" Scope="User">
<Setting Name="WavBitsPerSample" Roaming="true" Type="System.Int32" Scope="User">
<Value Profile="(Default)">16</Value>
</Setting>
<Setting Name="BingHeaderString" Provider="PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Setting Name="BingHeaderString" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)">mtstkn=4cgtvd0CJdF%2FSFWkmxNzQba9K1XhI2Gm24waNSWUY4SjtrHDjQ1%2Bw1oAkUtw%2F6Ew;MUIDB=2B66DE567E226CED09D6D72F7FA46D77; </Value>
</Setting>
<Setting Name="SelectedCulture" Provider="PortableSettingsProvider" Roaming="true" Type="System.Globalization.CultureInfo" Scope="User">
<Setting Name="SelectedCulture" Roaming="true" Type="System.Globalization.CultureInfo" Scope="User">
<Value Profile="(Default)">(Default)</Value>
</Setting>
<Setting Name="MaximumFileNameLength" Provider="PortableSettingsProvider" Roaming="true" Type="System.Int32" Scope="User">
<Setting Name="MaximumFileNameLength" Roaming="true" Type="System.Int32" Scope="User">
<Value Profile="(Default)">255</Value>
</Setting>
<Setting Name="CheckForNewVersion" Provider="PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Setting Name="CheckForNewVersion" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="RecentFiles" Provider="PortableSettingsProvider" Roaming="true" Type="System.Collections.Specialized.StringCollection" Scope="User">
<Setting Name="RecentFiles" Roaming="true" Type="System.Collections.Specialized.StringCollection" Scope="User">
<Value Profile="(Default)"></Value>
</Setting>
</Settings>
</Settings>
</SettingsFile>

0 comments on commit b26c354

Please sign in to comment.