Skip to content

Commit

Permalink
Change translation error to warning to prevent user notifications.
Browse files Browse the repository at this point in the history
Users were being shown a notification when translations didn't load, which includes when a translation was not needed (English). This change stops that.
  • Loading branch information
chase9 committed Dec 15, 2024
1 parent 09c3efb commit 556344f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yin_yang/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def systray_icon_clicked(reason: QSystemTrayIcon.ActivationReason):
raise FileNotFoundError('Error while loading application translations!')

except Exception as e:
logger.error(str(e))
logger.warning(str(e))
print('Error while loading translation. Using default language.')

# show systray icon
Expand Down

0 comments on commit 556344f

Please sign in to comment.