Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build for EN language #263

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/AudioPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ void AudioPlayer_Task(void *parameter) {
speechOk = audio->connecttospeech(ipText.c_str(), "de");
#else
ipText.replace(".", "point");
speechOk = audio->connecttospeech(ipText.c_str(),, "en");
speechOk = audio->connecttospeech(ipText.c_str(), "en");
#endif
if (!speechOk) {
System_IndicateError();
Expand All @@ -749,7 +749,7 @@ void AudioPlayer_Task(void *parameter) {
} else {
snprintf(timeStringBuff, sizeof(timeStringBuff), "It is %02d:%02d AM", timeinfo.tm_hour, timeinfo.tm_min);
}
speechOk = audio->connecttospeech(timeStringBuff,, "en");
speechOk = audio->connecttospeech(timeStringBuff, "en");
#endif
if (!speechOk) {
System_IndicateError();
Expand Down
1 change: 1 addition & 0 deletions src/LogMessages_EN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
const char modeWebstream[] = "Mode: webstream";
const char modeWebstreamM3u[] = "Mode: Webstream (local .m3u-file)";
const char webstreamNotAvailable[] = "Unable to access webstream as no wifi-connection is available!";
const char modeInvalid[] = "Invalid play mode %d!";
const char modeDoesNotExist[] = "Playmode does not exist!";
const char modeRepeatNone[] = "Repeatmode: no repeat";
const char modeRepeatTrack[] = "Repeatmode: current track";
Expand Down