Cameron Clough
a09300385b
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
old-commit-hash: 80da3aee14
2 years ago
Cameron Clough
9bd90112d0
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
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
2 years ago
Alexandre Nobuharu Sato
ecaa3d08d2
Multilang: Update pt-BR translations ( #31167 )
...
* add instructions to my fork
* add paypall.png to gitignore
* Revert "add instructions to my fork"
This reverts commit a6a6f93533
.
* translate
* revert this
* why?
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f21ccfbf79
2 years ago
Adeeb Shihadeh
83039032ac
update translations
...
old-commit-hash: 4ecaa6da45
2 years ago
Adeeb Shihadeh
972650f0eb
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
old-commit-hash: 7cd9568423
2 years ago
Korben
158445c2d8
Update French language ( #30992 )
...
Update main_fr.ts
validation of new elements
old-commit-hash: 2f744f5df4
2 years ago
Lee Jong Mun
deffb8de48
kor translation update ( #30990 )
...
old-commit-hash: f55d04c172
2 years ago
Alexandre Nobuharu Sato
4b903c3c88
Multilang: Update pt-BR translation ( #30987 )
...
* add instructions to my fork
* Revert "add instructions to my fork"
This reverts commit 46fbee3ebe
.
* test llm
* Revert "test llm"
This reverts commit fc531f0a1b
.
* update pt-BR translation
old-commit-hash: 4178f7c1e1
2 years ago
royjr
244396e23c
networking: add hidden network option ( #30808 )
...
* init
* once
* match
* fix
* maybe
* maybe
* Revert "maybe"
This reverts commit 8386a0a381
.
* Revert "maybe"
This reverts commit 3abf7b1983
.
* Revert "fix"
This reverts commit 09e0146f4d
.
* Revert "match"
This reverts commit 39a90c6cf8
.
* fix not at bottom
* padding
* match
* Update networking.cc
* min chars
* translations
* shouldn't need
* need!
* just in case
* Revert "just in case"
This reverts commit a3c1e09068
.
* finish translations
* not secret
* optional
* allow open networks
* fix
* try
* working
* add divider
* update translations
* fix
* better name
* translate hidden network
* auto
* v2
* remove v1
* fix
* fix translations
old-commit-hash: 96c91c486e
2 years ago
Shane Smiskol
fc23ab6c8d
Fix string indentation ( #30943 )
...
* fix bad spacing
* more
* these aren't important
old-commit-hash: d689a4e653
2 years ago
Shane Smiskol
b53b4c67b5
Auto translate: fix prompt & formatting ( #30922 )
...
fixes
old-commit-hash: 084871ed5b
2 years ago
Meir
fc941b87a3
Auto translate with OpenAI ( #30899 )
...
* auto translate with OpenAI
* change model
* fix mypy typing errors
* update
* fix lint errors
* check api key after args parser
* fix input args
* use languages.json
* just print
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2378f311d2
2 years ago
Dean Lee
916921be5b
ui/driverview: inherit from CameraWidget ( #29769 )
...
* refactor DriverViewWidow to inherit from CameraWidget
* emit done on visible
* merge master
* cleanup
* lock_guard
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 48cf7eb6d9
2 years ago
Adeeb Shihadeh
dd9b72292e
UI: remove drive stats ( #30183 )
...
* UI: remove drive stats
* little more
* vanish
old-commit-hash: f80db10720
2 years ago
royjr
ea3352af59
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>
old-commit-hash: e156ab41ad
2 years ago
Lee Jong Mun
ce9559cc54
kor translation update ( #30073 )
...
old-commit-hash: c7e1eb12c6
2 years ago
Jiyong Youn
bcd9017953
Multilang: improve Korean translation ( #30038 )
...
* Improve Korean translation
* Korean translation: fixed typo, improved translations
old-commit-hash: eb7d68ec1d
2 years ago
Shane Smiskol
a65199b555
ui: update calibration limits text ( #30014 )
...
* update translations
* update text
* round down
old-commit-hash: a0c8df3d73
2 years ago
Terry Huang
fa41029b01
Chinese translations update ( #29993 )
...
old-commit-hash: feeb827369
2 years ago
royjr
6499dc4aa1
ui: add missing Arabic translations & show in UI ( #29881 )
...
* Update languages.json
* update_translations.py
* update_translations.py + vanish
* fix unfinished
* use arabic language for name and move down based on similar
* goreless
* better
* Revert "better"
This reverts commit f19f6cb5ba
.
* better again
old-commit-hash: da4d4cff7d
2 years ago
Shane Smiskol
aa247b65aa
Revert "ui/driverview: inherit from CameraWidget" ( #29718 )
...
Revert "ui/driverview: inherit from CameraWidget (#29661 )"
This reverts commit 28a4d1de50948a93160a06e20f1666bab88389ab.
old-commit-hash: d9fedaa0a4
2 years ago
Dean Lee
56f3b1b6fa
ui/driverview: inherit from CameraWidget ( #29661 )
...
old-commit-hash: 6c73a924fa
2 years ago
Korben
4dba47b21d
Update French translation ( #29664 )
...
* Update French translation - main_fr.ts
Hello
I noticed that some translations were sticking out a bit in the new interface, so I'm proposing an update to correct this. I've arranged for the translations that cause problems to have the same number of letters including spaces as the original sentence so that they fit in the UI.
@maxime-desroches if you can give me your feedback, that would be very kind. Thank you.
* Update selfdrive/ui/translations/main_fr.ts
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 4755a30e75
2 years ago
Dean Lee
ce0e2ec905
AGNOS setup: multi-lang support ( #25680 )
...
* multilang
* update translations
* Specifies dependency
* load lang from json file
* update translations
* fix white border
* remove stretch
* update translations
* fix tr
* no default language
* update translations
* rm main_en.qm
* cleanup
* cleanup
* add language files
* remove type=unfinish
* build languages before assets
* depends lrelease
old-commit-hash: 0767a6dee5
2 years ago
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e
2 years ago
Adeeb Shihadeh
16ec56398c
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
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Lee Jong Mun
64f89e259a
kor translation update ( #29493 )
...
old-commit-hash: 1f056f3217
2 years ago
Dean Lee
3078da290d
ui/map: better rounding for distances ( #29151 )
...
* round distance
* use same format in ETA
* remove vanish
* restore translate
* use nearbyint
* update translations
* mark finished
* consistent style
* we don't include this anywhere in ui, needed?
* fix missing std
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: efefcfdca5
2 years ago
Shane Smiskol
7a291211db
Multilang: enable Thai ( #29447 )
...
enable thai in the ui
old-commit-hash: fb94202014
2 years ago
Arda
0645f2c409
Multilang: add Turkish language ( #25765 )
...
* Multilang: add Turkish language
* update translation
* vanish
* move up
* missing %n
* format args
* pass this test now
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d38dc64db0
2 years ago
Shane Smiskol
1097d3b53d
Multilang: more translation sanity checks ( #29439 )
...
* tests
* test finished translations
* fix new test failure
old-commit-hash: 549a4e9a97
2 years ago
Korben
1672c9fdbd
Full French UI Localization ( #29260 )
...
* Update languages.json
French added
* Create main_fr.ts
French lang file
* git ignore
* update french lang
old-commit-hash: 518ced49ce
2 years ago
eFini
9a764a67ec
Multilang: Chinese translations update ( #29310 )
...
* chinese translations
* Update selfdrive/ui/translations/main_zh-CHS.ts
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5b4aa67864
2 years ago
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168
2 years ago
AlexandreSato
7b70d76cb3
Multilang: update pt-BR translation ( #29197 )
...
old-commit-hash: 3eaf3555af
2 years ago
Iamz
a34c411578
Multilang: th translation update ( #29183 )
...
Update Thai translations
old-commit-hash: 157568c0c1
2 years ago
Shane Smiskol
fdc00cf0b6
Experimental mode toggle description: missing spaces ( #29167 )
...
* Update settings.cc
* more missing spaces
* scons
* vanish
* fix that
old-commit-hash: 6fe480b232
2 years ago
AlexandreSato
68909e19d2
Multilang: update pt-BR translations ( #29152 )
...
update pt-BR translation
old-commit-hash: 13822a0ec0
2 years ago
Lee Jong Mun
c386ddcd3f
kor translation update ( #29145 )
...
old-commit-hash: c354451216
2 years ago
Adeeb Shihadeh
178d9adec3
ui: less confusing wifi training ( #29137 )
...
* ui: less confusing wifi training
* update
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0922a1040f
2 years ago
Harald Schäfer
069e9ef4f8
Experimental mode description: update nav ( #29130 )
...
* Update description
* Update releases
* Update RELEASES.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/ui/qt/offroad/settings.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* small tweaks
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9c3c7f0dda
2 years ago
Shane Smiskol
b8bf3fc0c2
nav: improve no route alert text ( #29076 )
...
* kind of
* Revert "kind of"
This reverts commit 25abbbf176
.
* more generic alert text, whenever we're waiting for navd.
* actual better comment
* update translations
old-commit-hash: d70c4916db
2 years ago
Shane Smiskol
a7b32acd4b
nav: show warning for routing problems ( #29055 )
...
* all my debugging stuff
* this works
* add comment
* bb navd
* navInstruction is valid when we get a non-empty route response
* now don't need this
* stash
* big cleanup
* clean up
* clean up
* debug
* final clean up
* one line
* flip order
* update translations
* is this simpler?
old-commit-hash: 5b368a67ea
2 years ago
Lee Jong Mun
fe217d60bc
Multilang: kor translation update ( #29018 )
...
old-commit-hash: ced37db5e6
2 years ago
AlexandreSato
495d345e0b
Multilang: update pt-BR translations ( #29015 )
...
old-commit-hash: 889e118a1b
2 years ago
Shane Smiskol
829864218a
ui: change last reference to experimental longitudinal ( #29009 )
...
* change experimental longitudinal language to alpha
* vanish
* Update selfdrive/ui/qt/offroad/settings.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* update translations
* vanish
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0bea1419e3
2 years ago
Shane Smiskol
c258e9d64a
experimental mode: gate nav ( #29007 )
...
* first draft copy, needs updates
* gate behind exp mode
* can be one line
* this is no longer true
* toggle isn't just e2e long now, rename
* don't enable/disable
* kinda works!
* remove old giant qstring
* comment clean up
* similar breakpoint
* more clean up
* fixup onroad
* preserve planner behavior, and we don't need to look at confirmed param if we're onroad
* update translations
* vanish translations
* use scene for op long
* lowercase!
* updated copy
* need to check longitudinal here now too
* clean up!
* here is better
* used
* no nav emoji
* don't check param if not valid
* revert this
revert this
* ed
* revert experimental mode longitudinal checks (still need to revert toggle change)
* revert
* logic works
* revert test
* fix
* update translation
* fix (reset and update)
old-commit-hash: 6bc28fc769
2 years ago
Shane Smiskol
f9c6c9e8c3
Revert "experimental mode: gate navigate on openpilot ( #28883 )" ( #29005 )
...
This reverts commit 929880496515e3f995634e561145802bf15a60ea.
old-commit-hash: b5b431c12d
2 years ago
eFini
bcf95f6dd7
Multilang: Chinese (Traditional) translations update ( #28984 )
...
old-commit-hash: 454a5e8a26
2 years ago
Shane Smiskol
296de39f48
experimental mode: gate navigate on openpilot ( #28883 )
...
* first draft copy, needs updates
* gate behind exp mode
* can be one line
* this is no longer true
* toggle isn't just e2e long now, rename
* don't enable/disable
* kinda works!
* remove old giant qstring
* comment clean up
* similar breakpoint
* more clean up
* fixup onroad
* preserve planner behavior, and we don't need to look at confirmed param if we're onroad
* update translations
* vanish translations
* use scene for op long
* lowercase!
* updated copy
* need to check longitudinal here now too
* clean up!
* here is better
* used
* no nav emoji
* don't check param if not valid
* revert this
revert this
* ed
old-commit-hash: f973d605b2
2 years ago