Skip to content

Commit bbeea8c

Browse files
v1.0.1
1 parent abe39b1 commit bbeea8c

File tree

14 files changed

+157
-19
lines changed

14 files changed

+157
-19
lines changed

src/JuliusSweetland.OptiKids/JuliusSweetland.OptiKids.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@
355355
<Link>myGazeAPI.dll</Link>
356356
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
357357
</Content>
358-
<None Include="app.config" />
359358
<None Include="nbug.config">
360359
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
361360
<SubType>Designer</SubType>

src/JuliusSweetland.OptiKids/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@
6060
//MAJOR version when you make incompatible API changes,
6161
//MINOR version when you add functionality in a backwards-compatible manner, and
6262
//PATCH version when you make backwards-compatible bug fixes (in the Version class this is the Build number).
63-
[assembly: AssemblyVersion("1.0.0")]
63+
[assembly: AssemblyVersion("1.0.1")]

src/JuliusSweetland.OptiKids/Properties/Resources.Designer.cs

Lines changed: 57 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/JuliusSweetland.OptiKids/Properties/Resources.resx

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Sorry for the inconvenience.</value>
246246
<value>PROBLEM LOADING KEYBOARD</value>
247247
</data>
248248
<data name="RATE_LABEL" xml:space="preserve">
249-
<value>Rate:</value>
249+
<value>General speech rate:</value>
250250
</data>
251251
<data name="RESTART_MESSAGE" xml:space="preserve">
252252
<value>OptiKids needs to restart to apply your changes.
@@ -359,7 +359,7 @@ You can turn off update checks from the Management Console (ALT + M).</value>
359359
<value>Voice:</value>
360360
</data>
361361
<data name="VOLUME_LABEL" xml:space="preserve">
362-
<value>Volume:</value>
362+
<value>General speech volume:</value>
363363
</data>
364364
<data name="HIGH" xml:space="preserve">
365365
<value>High</value>
@@ -398,7 +398,7 @@ You can turn off update checks from the Management Console (ALT + M).</value>
398398
<value>Correct!|That’s right!|You did it!|Well done!|That is correct!|Nicely done!|Nice!|Good spelling!|Yes!|Amazing!|You’re very good at spelling!|That’s great!|Excellent!|Brilliant!|Absolutely right!|Exactly right!|Nice!|Perfect!|You got it!</value>
399399
</data>
400400
<data name="INTRO_SCREEN_TITLE" xml:space="preserve">
401-
<value>Hello there!</value>
401+
<value>OptiKids</value>
402402
</data>
403403
<data name="QUIZ_COMPLETE_CONTENT" xml:space="preserve">
404404
<value>You completed the quiz. Congratulations!</value>
@@ -460,4 +460,22 @@ You can turn off update checks from the Management Console (ALT + M).</value>
460460
<data name="QUIT" xml:space="preserve">
461461
<value> Quit </value>
462462
</data>
463+
<data name="DELAY_BEFORE_PROGRESSING_IN_SECONDS" xml:space="preserve">
464+
<value>Delay before progressing questions (seconds):</value>
465+
</data>
466+
<data name="MIN_IMAGE_DISPLAY_TIME_IN_SECONDS" xml:space="preserve">
467+
<value>Min image display time (seconds):</value>
468+
</data>
469+
<data name="PLAY_ENCOURAGEMENT_ON_CORRECTLY_SPELLED_WORD" xml:space="preserve">
470+
<value>Play encouragement on correctly spelled word:</value>
471+
</data>
472+
<data name="PRONUNCIATION_FILE" xml:space="preserve">
473+
<value>Pronunciation file:</value>
474+
</data>
475+
<data name="SPELLING_RATE_LABEL" xml:space="preserve">
476+
<value>Spelling speech rate:</value>
477+
</data>
478+
<data name="WORD_RATE_LABEL" xml:space="preserve">
479+
<value>Word to spell speech rate:</value>
480+
</data>
463481
</root>

src/JuliusSweetland.OptiKids/Properties/Settings.Designer.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/JuliusSweetland.OptiKids/Properties/Settings.settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<Setting Name="MinImageDisplayTimeInSeconds" Roaming="true" Type="System.Int32" Scope="User">
105105
<Value Profile="(Default)">3</Value>
106106
</Setting>
107-
<Setting Name="MinDelayBeforeProgressingInSeconds" Roaming="true" Type="System.Int32" Scope="User">
107+
<Setting Name="DelayBeforeProgressingInSeconds" Roaming="true" Type="System.Int32" Scope="User">
108108
<Value Profile="(Default)">3</Value>
109109
</Setting>
110110
<Setting Name="ErrorSoundFile" Roaming="true" Type="System.String" Scope="User">
551 Bytes
Binary file not shown.

src/JuliusSweetland.OptiKids/UI/ViewModels/MainViewModel.ServiceEventHandlers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void AttachServiceEventHandlers()
7979
.First();
8080
await Speak(encouragement, false, 0);
8181
}
82-
await Task.Delay(Settings.Default.MinDelayBeforeProgressingInSeconds * 1000);
82+
await Task.Delay(Settings.Default.DelayBeforeProgressingInSeconds * 1000);
8383
ProgressQuestion();
8484
}
8585
else

src/JuliusSweetland.OptiKids/UI/ViewModels/Management/SoundsViewModel.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
using System;
12
using System.Collections.Generic;
3+
using System.IO;
4+
using JuliusSweetland.OptiKids.Extensions;
25
using JuliusSweetland.OptiKids.Properties;
36
using JuliusSweetland.OptiKids.Services;
47
using log4net;
@@ -25,7 +28,9 @@ public SoundsViewModel(IAudioService audioService)
2528

2629
InfoSoundPlayCommand = new DelegateCommand(() => audioService.PlaySound(InfoSoundFile, InfoSoundVolume));
2730
ErrorSoundPlayCommand = new DelegateCommand(() => audioService.PlaySound(ErrorSoundFile, ErrorSoundVolume));
28-
31+
32+
this.OnPropertyChanges(s => s.PronunciationFile).Subscribe(_ => OnPropertyChanged(() => PronunciationFileName));
33+
2934
Load();
3035
}
3136

@@ -95,6 +100,11 @@ public string PronunciationFile
95100
set { SetProperty(ref pronunciationFile, value); }
96101
}
97102

103+
public string PronunciationFileName
104+
{
105+
get { return Path.GetFileName(PronunciationFile); }
106+
}
107+
98108
private bool playEncouragementOnCorrectlySpelledWord;
99109
public bool PlayEncouragementOnCorrectlySpelledWord
100110
{

src/JuliusSweetland.OptiKids/UI/ViewModels/Management/VisualsViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public int MinImageDisplayTimeInSeconds
183183
}
184184

185185
private int minDelayBeforeProgressingInSeconds;
186-
public int MinDelayBeforeProgressingInSeconds
186+
public int DelayBeforeProgressingInSeconds
187187
{
188188
get { return minDelayBeforeProgressingInSeconds; }
189189
set { SetProperty(ref minDelayBeforeProgressingInSeconds, value); }
@@ -208,7 +208,7 @@ private void Load()
208208
ToastNotificationHorizontalFillPercentage = Settings.Default.ToastNotificationHorizontalFillPercentage;
209209
ToastNotificationSecondsPerCharacter = Settings.Default.ToastNotificationSecondsPerCharacter;
210210
MinImageDisplayTimeInSeconds = Settings.Default.MinImageDisplayTimeInSeconds;
211-
MinDelayBeforeProgressingInSeconds = Settings.Default.MinDelayBeforeProgressingInSeconds;
211+
DelayBeforeProgressingInSeconds = Settings.Default.DelayBeforeProgressingInSeconds;
212212
}
213213

214214
public void ApplyChanges()
@@ -221,7 +221,7 @@ public void ApplyChanges()
221221
Settings.Default.ToastNotificationHorizontalFillPercentage = ToastNotificationHorizontalFillPercentage;
222222
Settings.Default.ToastNotificationSecondsPerCharacter = ToastNotificationSecondsPerCharacter;
223223
Settings.Default.MinImageDisplayTimeInSeconds = MinImageDisplayTimeInSeconds;
224-
Settings.Default.MinDelayBeforeProgressingInSeconds = MinDelayBeforeProgressingInSeconds;
224+
Settings.Default.DelayBeforeProgressingInSeconds = DelayBeforeProgressingInSeconds;
225225
}
226226

227227
#endregion

0 commit comments

Comments
 (0)