diff options
| -rw-r--r-- | internal/gui/app.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/gui/app.go b/internal/gui/app.go index 7d48f75..9936c91 100644 --- a/internal/gui/app.go +++ b/internal/gui/app.go @@ -1052,6 +1052,7 @@ func (a *Application) onRegenerateAudio() { // Store the word we're generating for wordForGeneration := a.currentWord + fmt.Printf("DEBUG onRegenerateAudio: word='%s', isBgBg=%v\n", wordForGeneration, isBgBg) a.startOperation(wordForGeneration) defer a.endOperation(wordForGeneration) @@ -1145,6 +1146,7 @@ func (a *Application) onRegenerateBackAudio() { if translation == "" { translation = strings.TrimSpace(a.translationEntry.Text) } + fmt.Printf("DEBUG onRegenerateBackAudio: front='%s', back='%s'\n", a.currentWord, translation) wordForGeneration := a.currentWord a.startOperation(wordForGeneration) |
