-
Notifications
You must be signed in to change notification settings - Fork 232
Translation to Ukrainian and corresponding UI changes, including translation of onroad Alerts #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nto translation-UK Merging changes
|
Thank you for your PR! If you're not already in the FrogPilot Discord, feel free to join and let me know you've opened a PR! |
|
comma has plans to do something similar (if they haven't already) in regards to Python text strings due to their Raylib/Python UI rewrite, so I personally wouldn't stress over it too much honestly. But I see some good changes here so I'll merge this for now. Appreciate the fixes! |
|
Thanks! |
Summary
This PR introduces UI internationalization (i18n) improvements across FrogPilot's
UI/Qtcomponents.Almost all user-facing strings are now wrapped with
tr(), enabling proper translation support and consistency with Qt's localization system.Key Changes
Maps Settings (
maps_settings.cc)"0 MB","Calculating...","Not parked","Offline...", etc.) withtr().Model Settings (
model_settings.cc)Downloading "%1"...Downloading... %Downloaded!,Download failed..., etc.Theme Settings (
theme_settings.cc)"Downloading...","Idle","Downloaded!","Repository unavailable", etc.Annotated Camera (
frogpilot_annotated_camera.cc)"Desired: %1","s","1 minute","1 second", etc.Onroad UI
tr().navigation_functions.h) withQLocalesupport.hour,minute,second).Software Settings (
software_settings.cc)downloading…,checking…,waiting for vehicle to go offroad…,finalizing update….Alerts (
alerts.cc,alert_tr.h)translateAlert()for consistency.Motivation
Known Limitations / TODO
→ To be addressed in a future PR.