* some clean up and add missing translations
* unfinished
* set proper width
* make this variable common
old-commit-hash: f540002e3fb6bcb15323add59d87269e7da6d00f
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
old-commit-hash: c4e63d14ab158118efc6eadd0e20d8d533f9e046
* no line numbers
* remove locations
* test
* ignore line numbers
* revert
revert
* fix that
* use relative
* non bytes, global
* clean up
old-commit-hash: 719d5f78560c393732df240f1b6e053113aef2f8
* Test for vanished translations
* this isn't needed anymore
* comment
* remove more unnecessary code since the great pluralization
old-commit-hash: eaf21e53e2a3e3e988b661412c919a331b5cf2a9
* All in scons
* delete all this
* delete the qm files
* No need to check QM files in test_translations.py anymore
* readme
* add lupdate to third party
* fix
* one line
* update files_common
* readme imp
* add j flag
* add to path
* duplicate scons!
* update readme
* fix path
fix path
fix path
* no path
old-commit-hash: c528decd17a71bb8f9eb0be2f0d78ccc2e74f70a
* catch2 needs to iterate through the whole function each time to test this (spams warnings)
* Update readme
* Add update the ui header
* build in scons
* release by default
* scons in another pr
Co-authored-by: Vincent Wright <vincentw@kmwperformance.com>
old-commit-hash: 464db126a551639b036c4a5e4e494684c68f56f2
* nav: show on left side of onroad ui
* add toggle
* capitalization
* update translations
* single params object
* skip unfinished translations test
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 93cd0285ac014427cdd137fa2c8852c58bdef4db
* rough multiple language demo
* more wrappings
* stash
* add some bad translations
* updates
* map from french to spanish still has same problem of needing to call setText on everything
* add files
* restart UI
* use return code
* relative path
* more translations
* don't loop restart
* Toggle and prime translations
* try on device
* try QComboBox with readable style
* stash
* not yet scrollable
* stash
* dynamic translations (doesn't work for dynamic widget strings yet)
* clean up multiple option selector
* store languages in json
* try transparent
* Try transparent popup
* see how this looks
* tweaks
* clean up
* update names
* Add Chinese (Simplified) translations
* Do missing French translations
* unit tests caught that :)
* fix test
* fix other test (on PC)
* add entries to dialog to test
* add cancel button, clean up a bit
* just chinese
* some clean up
* use quotes
* clean up
* Just quit, set timeout to 0
* half a second
* use exitcode
* don't print if it's expected
* this comment is outdated
* update translations
* Update translations
* re-order input classes
* Update line numbers
* use enabled property for button style
* Get rid of ListWidget
* Update line numbers
* Log failed to load language
* Log failed to load language
* Move to utils and fix english logging
extra line
* Update translations
* spacing
* looks a bit better
* try this instead of exitcode
fixes
fix
* only one function
* comment
* Update line numbers
* fixup some japanese translations
* clean up multi option dialog
* Update line numbers
old-commit-hash: 949de4d2b6b293d9f77d83c58212f5dee176cbf1
* Add Japanese translations
* test japanese
* update tr file
* test for unfinished translation tags
* add compiled QM
add compiled QM
* mark as finished
* remove from tests, needs some design decisions
Co-authored-by: PONPC <fuzitanirenti@yahoo.co.jp>
old-commit-hash: 5b4e39990ac4d098f874c8f1e378e2ab855c0036
* Add Chinese translations
* wrap these
* add to languages.json
* fix tests
* use tmp dir for tests (doesn't change translation files in git repo)
* defaultdict not used
* update main_zh.ts (test outdated QM file)
* test outdated QM file (prev commit tests missing)
* update qm file
* add sidebar translations
* no need for function
old-commit-hash: bd2ea158977f5c26658bed8ac683b72c2c592d06
* some supporting code for multilang
* for now just english
* test for missing language files
* test for checking if ts file is up to date
* Skip test if causes exception, other test catches this
Test test
Should also work
should now fail
revert
rmn
* add to files_common
* fix files_common
* newlines
* no need to not update
* comment
* only english
* double quotes
* switch around
old-commit-hash: 7178800d844469601cb779d8f76b568ff82ac766
* rough multiple language demo
* more wrappings
* stash
* add some bad translations
* updates
* map from french to spanish still has same problem of needing to call setText on everything
* add files
* restart UI
* use return code
* relative path
* more translations
* don't loop restart
* Toggle and prime translations
* try on device
* try QComboBox with readable style
* stash
* not yet scrollable
* stash
* dynamic translations (doesn't work for dynamic widget strings yet)
* clean up multiple option selector
* store languages in json
* try transparent
* Try transparent popup
* see how this looks
* tweaks
* clean up
* clean up
* clean up 2 and missing tr
* wrap more strings
* missing updater
* fixes
* add basic test to ensure all strings wrapped
* try in CI
* clean up
* test name
* fix test
* always install qt dev tools
* fix deps
* fast test
* add section so it prints multiple errors
* debug
* debug
get rid of those
* make any difference?
* comment
* oh...
* run with offscreen platform
* try out section
* clean up
* fix missing wrappings (it works!)
* move down
* space
* clear relevant params, set TICI=1
old-commit-hash: 879a7c3201a037c27c92ad6b92143114f52f29d3
* ui: new notcar battery design
* if charging
* cleanup
* remove that
* slower
* real colors
* relative from left
* fix that
old-commit-hash: 043a309d67da9c4d4671303b370e04aa29cd115d
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a8241fba9459cb70c76840b9670e6993a
* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e679d05d9e98e267047c21c0b6b67fe9d61f8ed6
* soundd: configure as persistent process
* update c2 test
* fix that
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed8e6f857ca45a1d814dd9a98ddf5c40c6d08c20
* add putBool/getBool wrappers to cython class
* use new API
* some more puts
* fix mockparams arguments
* add get_bool to MockParams
* typo
old-commit-hash: ae094042ade44815fdba50196c15ba552bbf33d7