app: typo in wintray messages const (#7705)

This commit is contained in:
Nikita Ganzikov 2024-11-21 09:01:58 +03:00 committed by GitHub
parent d863298210
commit fce30f407a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ func (t *winTray) UpdateAvailable(ver string) error {
if err := t.addOrUpdateMenuItem(updateAvailableMenuID, 0, updateAvailableMenuTitle, true); err != nil { if err := t.addOrUpdateMenuItem(updateAvailableMenuID, 0, updateAvailableMenuTitle, true); err != nil {
return fmt.Errorf("unable to create menu entries %w", err) return fmt.Errorf("unable to create menu entries %w", err)
} }
if err := t.addOrUpdateMenuItem(updateMenuID, 0, updateMenutTitle, false); err != nil { if err := t.addOrUpdateMenuItem(updateMenuID, 0, updateMenuTitle, false); err != nil {
return fmt.Errorf("unable to create menu entries %w", err) return fmt.Errorf("unable to create menu entries %w", err)
} }
if err := t.addSeparatorMenuItem(separatorMenuID, 0); err != nil { if err := t.addSeparatorMenuItem(separatorMenuID, 0); err != nil {

View file

@ -10,6 +10,6 @@ const (
quitMenuTitle = "Quit Ollama" quitMenuTitle = "Quit Ollama"
updateAvailableMenuTitle = "An update is available" updateAvailableMenuTitle = "An update is available"
updateMenutTitle = "Restart to update" updateMenuTitle = "Restart to update"
diagLogsMenuTitle = "View logs" diagLogsMenuTitle = "View logs"
) )