Skip to content

Commit

Permalink
Merge pull request #263 from pcppcp/fix-en-translation
Browse files Browse the repository at this point in the history
fix build for EN language
  • Loading branch information
biologist79 authored Oct 19, 2023
2 parents 6840f61 + c53e550 commit 3529915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit 3529915

Please sign in to comment.