diff options
Diffstat (limited to 'internal/gui/queue.go')
| -rw-r--r-- | internal/gui/queue.go | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/internal/gui/queue.go b/internal/gui/queue.go index df39908..f72b059 100644 --- a/internal/gui/queue.go +++ b/internal/gui/queue.go @@ -9,16 +9,17 @@ import ( // WordJob represents a single word processing job type WordJob struct { - ID int - Word string - Translation string - AudioFile string - ImageFile string // Changed from ImageFiles []string to single image - Status JobStatus - Error error - StartedAt time.Time - CompletedAt time.Time - CustomPrompt string // Custom prompt for image generation + ID int + Word string + Translation string + AudioFile string + ImageFile string // Changed from ImageFiles []string to single image + Status JobStatus + Error error + StartedAt time.Time + CompletedAt time.Time + CustomPrompt string // Custom prompt for image generation + NeedsTranslation bool // Whether translation is needed } // JobStatus represents the current state of a job |
