995250ae49 
								
									
								
							
								 
							
						 
						
							
							
								
								use pyupgrade to update to new typing syntax ( #31580 )  
							
							... 
							
							
 
							
							* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bef6d7f0bb 
								
									
								
							
								 
							
						 
						
							
							
								
								pre-commit: speed up translation step ( #30966 )  
							
							... 
							
							
 
							
							* formatting
fix
* fix missing class attr warning
* add translation_files option, remove pluralonly, type hint
* updates
* update 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9d7f618bc5 
								
									
								
							
								 
							
						 
						
							
							
								
								multilang: parameterize unit tests ( #30842 )  
							
							... 
							
							
 
							
							* init
* fix indents
* remove import
* safer
* TemporaryDirectory
* much cleaner
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								fd88990006 
								
									
								
							
								 
							
						 
						
							
							
								
								multilang: bad language translation check ( #30783 )  
							
							... 
							
							
 
							
							* compare bad against list
* use web
* Update test_translations.py
* uncomment
* override
* wrap
* AssertionError
* better
* detent
* selfish
* check numerusforms
* already checked
* use name
* not again
* combined
* sets
* assume available
* fix assume
* check regardless of other tests
* assert not print
* raise for status
* better
* done
* useless
* happy ruff
* better set
* quiet
* clean
* obvious
* clearer
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* IGNORED_WORDS
* assert match
* direct assert
* show bad word
* fix numerous empty string checks
* fix IGNORED_WORDS
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								e156ab41ad 
								
									
								
							
								 
							
						 
						
							
							
								
								ui: better Arabic translations ( #30004 )  
							
							... 
							
							
 
							
							* initial
* fix additional tag
* fix missing semicolon
* fix missing semicolon
* fix missing whitespace/punctuation
* dont translate
* fix deleted source
* mark missing as unfinished
* needs to be fixed
* typo
* dont translate
* translate wifi
* dont translate sidebar
* missing space
* dont translate
* these are good
* missing
* fix unfinished
* more fixes
* fix typo
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* dont translate
* fix vanished translation
* add test_entities_error test
* fix entity
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* dont translate comma prime
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a9626f95b6 
								
									
								
							
								 
							
						 
						
							
							
								
								add openpilot prefix to imports ( #29498 )  
							
							... 
							
							
 
							
							* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								103d39259f 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilang: check format arguments are consistent ( #29441 )  
							
							... 
							
							
 
							
							* format args
* global 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								549a4e9a97 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilang: more translation sanity checks ( #29439 )  
							
							... 
							
							
 
							
							* tests
* test finished translations
* fix new test failure 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								4a9afd7554 
								
									
								
							
								 
							
						 
						
							
							
								
								Ruff: comprehensions conventions ( #29317 )  
							
							... 
							
							
 
							
							ignore c408 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f540002e3f 
								
									
								
							
								 
							
						 
						
							
							
								
								translation badges: add number of unfinished translations ( #26429 )  
							
							... 
							
							
 
							
							* some clean up and add missing translations
* unfinished
* set proper width
* make this variable common 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								35f624c628 
								
									
								
							
								 
							
						 
						
							
							
								
								translations: remove locations ( #25826 )  
							
							... 
							
							
 
							
							* Remove locations
* no line nos 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								719d5f7856 
								
									
								
							
								 
							
						 
						
							
							
								
								translations tests: ignore line numbers ( #25675 )  
							
							... 
							
							
 
							
							* no line numbers
* remove locations
* test
* ignore line numbers
* revert
revert
* fix that
* use relative
* non bytes, global
* clean up 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								844d4d2ece 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilang: add plural translation test ( #25491 )  
							
							... 
							
							
 
							
							Add test for correct format specifier for plural translations 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								42e4efe706 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilang: add Portuguese (Brazil) translation ( #25287 )  
							
							... 
							
							
 
							
							* Add Portuguese-Brazil translations
* Fixing some Japanese I used as a base.
* Add pt_BR translation
* Add QM file
* multilang: Fix typo and missing pt_BR translation
* fix typos in calibration translation
* pt_BR new translations
* fix translations
* update qm
* add Thai translation tkx tape#7233
* fix pt_BR translation
* improve pt_BR translation
* connect means connection not connected
* update
* plurals and typo
* fix unitTest error
* Add pt badge
* Add test for missing plural translations
* Make sure this doesn't test for translation completeness, we skip that test
* fix missing plurals
Co-authored-by: Shane Smiskol <shane@smiskol.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								eaf21e53e2 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilang: test for vanished translations ( #25342 )  
							
							... 
							
							
 
							
							* Test for vanished translations
* this isn't needed anymore
* comment
* remove more unnecessary code since the great pluralization 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ecba873208 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilang: handle localized plurals ( #25337 )  
							
							... 
							
							
 
							
							* Add localized plural handling
* Do another location with plurals
* fix test 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								c528decd17 
								
									
								
							
								 
							
						 
						
							
							
								
								multilanguage: compile QM in scons ( #25217 )  
							
							... 
							
							
 
							
							* 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 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								464db126a5 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilanguage: readme improvements ( #25214 )  
							
							... 
							
							
 
							
							* 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> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								93cd0285ac 
								
									
								
							
								 
							
						 
						
							
							
								
								nav: toggle to show on left side of onroad ui ( #25169 )  
							
							... 
							
							
 
							
							* 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> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5b4e39990a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add Japanese translations ( #25078 )  
							
							... 
							
							
 
							
							* 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> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bd2ea15897 
								
									
								
							
								 
							
						 
						
							
							
								
								Add Chinese (traditional) translations ( #25064 )  
							
							... 
							
							
 
							
							* 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 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7178800d84 
								
									
								
							
								 
							
						 
						
							
							
								
								Multilang prerequisites ( #24999 )  
							
							... 
							
							
 
							
							* 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 
							
						 
						
							3 years ago