Commit Graph

195 Commits

Author SHA1 Message Date
Adeeb Shihadeh dd9b72292e UI: remove drive stats (#30183)
* UI: remove drive stats

* little more

* vanish
old-commit-hash: f80db10720099d34fd19e3aa0be36d05647ea897
2023-10-05 14:53:49 -07:00
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: e156ab41ad68aacf470cde0c3f7b97cccd2051b0
2023-09-30 15:37:07 -07:00
Lee Jong Mun ce9559cc54 kor translation update (#30073)
old-commit-hash: c7e1eb12c6bde74c30f21d9964dfce7ba1522bc0
2023-09-27 10:58:01 -07:00
Jiyong Youn bcd9017953 Multilang: improve Korean translation (#30038)
* Improve Korean translation

* Korean translation: fixed typo, improved translations
old-commit-hash: eb7d68ec1d079926185322b3f416914bbe457c1f
2023-09-26 02:17:05 -07:00
Shane Smiskol a65199b555 ui: update calibration limits text (#30014)
* update translations

* update text

* round down
old-commit-hash: a0c8df3d730eec50901235181a201cee91143e12
2023-09-22 21:38:07 -07:00
Terry Huang fa41029b01 Chinese translations update (#29993)
old-commit-hash: feeb827369b95a18bd2e163b4399703fffce1363
2023-09-20 13:58:37 -07:00
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 f19f6cb5ba31209bd2659a16953fcc20b3ce31e7.

* better again
old-commit-hash: da4d4cff7dd400ac29b1ff40c1df4cdd6146e28c
2023-09-18 01:06:39 -07:00
Shane Smiskol aa247b65aa Revert "ui/driverview: inherit from CameraWidget" (#29718)
Revert "ui/driverview: inherit from CameraWidget (#29661)"

This reverts commit 28a4d1de50948a93160a06e20f1666bab88389ab.
old-commit-hash: d9fedaa0a42685868ba262a111d7aec06208764f
2023-08-30 14:49:02 -07:00
Dean Lee 56f3b1b6fa ui/driverview: inherit from CameraWidget (#29661)
old-commit-hash: 6c73a924fa7780fc31776060cf63cce3b85981cb
2023-08-30 16:41:58 +01:00
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: 4755a30e75b6336ff9b430e2392e71d32b5befb6
2023-08-28 10:38:42 -07:00
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: 0767a6dee5355d1d7c0b6aaed8f358d9045268a9
2023-08-26 08:17:07 -07:00
Adeeb Shihadeh 701cd6f6fe add cpplint (#26855)
* setup cpplint

* only start that

* check line length

* check these

* rm exceptions
old-commit-hash: 952d720b6e854b3ebbb9fd0fd82cd38f3ae04b90
2023-08-22 13:55:23 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Lee Jong Mun 64f89e259a kor translation update (#29493)
old-commit-hash: 1f056f3217c431eeda73f00e7d1ec506e103e201
2023-08-20 15:05:25 -07:00
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: efefcfdca581fd75868b993426dfde21c21c1531
2023-08-17 22:58:18 -07:00
Shane Smiskol 7a291211db Multilang: enable Thai (#29447)
enable thai in the ui
old-commit-hash: fb942020149934aeb59e5fbe644f72fa861a5fe9
2023-08-17 03:16:31 -07:00
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: d38dc64db0f6346e1b55af9cb9cd9e376aea8e86
2023-08-16 21:45:03 -07:00
Shane Smiskol 1097d3b53d Multilang: more translation sanity checks (#29439)
* tests

* test finished translations

* fix new test failure
old-commit-hash: 549a4e9a9727c9dd37a4a1ad0e27ff21fa932028
2023-08-16 21:10:25 -07:00
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: 518ced49ce3e6a0dc0ceea1108dac8056166b724
2023-08-11 21:36:58 -07:00
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: 5b4aa67864eaa3e85052a199c0f21cb6cec28478
2023-08-09 20:40:39 -07:00
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: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
AlexandreSato 7b70d76cb3 Multilang: update pt-BR translation (#29197)
old-commit-hash: 3eaf3555af07b15cffd36acdd744f15e46c07dc3
2023-08-01 11:01:25 -07:00
Iamz a34c411578 Multilang: th translation update (#29183)
Update Thai translations
old-commit-hash: 157568c0c1ffc114f8666d439ab11bc6f95fbb63
2023-07-31 13:39:01 -07:00
Shane Smiskol fdc00cf0b6 Experimental mode toggle description: missing spaces (#29167)
* Update settings.cc

* more missing spaces

* scons

* vanish

* fix that
old-commit-hash: 6fe480b232ab85282b06f50473c12c492b5364fd
2023-07-27 14:00:41 -07:00
AlexandreSato 68909e19d2 Multilang: update pt-BR translations (#29152)
update pt-BR translation
old-commit-hash: 13822a0ec024f0ef8fa8fe57b5b5a779570dc748
2023-07-26 09:54:10 -07:00
Lee Jong Mun c386ddcd3f kor translation update (#29145)
old-commit-hash: c354451216110565f818d76271f73efcb813b04f
2023-07-25 20:34:16 -07:00
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: 0922a1040f3fba4d446f1f1ae03df897375a9341
2023-07-25 13:32:00 -07:00
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: 9c3c7f0dda4dd3355fa9a85bc6068fddef66b79b
2023-07-25 10:31:25 -07:00
Shane Smiskol b8bf3fc0c2 nav: improve no route alert text (#29076)
* kind of

* Revert "kind of"

This reverts commit 25abbbf1764b0f7e8fbcb83e37159ba6f8cdf641.

* more generic alert text, whenever we're waiting for navd.

* actual better comment

* update translations
old-commit-hash: d70c4916db0af3c5288034db9a361fd0aff39f7b
2023-07-20 22:40:31 -07:00
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: 5b368a67eadff384e8c38085a5e8f10ecd37c1e5
2023-07-20 04:01:55 -07:00
Lee Jong Mun fe217d60bc Multilang: kor translation update (#29018)
old-commit-hash: ced37db5e6a70edc4aa628f04adc3e64ccb01d25
2023-07-18 11:41:09 -07:00
AlexandreSato 495d345e0b Multilang: update pt-BR translations (#29015)
old-commit-hash: 889e118a1b91898e6f3682fbfad7e7e8522c2d49
2023-07-18 10:37:51 -07:00
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: 0bea1419e37ae13719c39b18ffa17059d1795376
2023-07-17 21:33:06 -07:00
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: 6bc28fc7698415e41610ddd04bb3ce473870591e
2023-07-17 21:18:18 -07:00
Shane Smiskol f9c6c9e8c3 Revert "experimental mode: gate navigate on openpilot (#28883)" (#29005)
This reverts commit 929880496515e3f995634e561145802bf15a60ea.
old-commit-hash: b5b431c12d54aaa115f9750da6d49e62a6d31778
2023-07-17 19:56:38 -07:00
eFini bcf95f6dd7 Multilang: Chinese (Traditional) translations update (#28984)
old-commit-hash: 454a5e8a266e9c99d545cd77f91306606559b8f6
2023-07-16 21:54:55 -07:00
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: f973d605b2121a575a46f4a18dfcbb2df1f4816b
2023-07-14 05:26:59 -07:00
Lee Jong Mun 912418808a Multilang: kor translation update (#28885)
kor translation update
old-commit-hash: 92b5f0b5e57f61ab3bc4ebd0c76dc655ac30c904
2023-07-11 13:06:11 -07:00
AlexandreSato 75c1973249 Multilang: update pt-BR translations on prime ad (#28866)
update pt-BR translations on prime ad
old-commit-hash: a81209646474d50352f8d1aaeceff324c38f670a
2023-07-10 14:49:27 -07:00
Adeeb Shihadeh 5d520dc7ae ui: add nav to prime features (#28842)
old-commit-hash: 99f9d21e4b46e7aa1596c47740c1cb1c6ee84437
2023-07-07 15:07:37 -07:00
AlexandreSato 036603682f Multilang: update pt-BR translation (#28774)
update pt-BR translations
old-commit-hash: 6495a18cc9e8c1394ac7395d24bb0a661ce35fbf
2023-07-01 18:45:01 -07:00
AlexandreSato 5bbe5dc8a9 Multilang: Instructions to preview alerts (#28718)
* Multilang: Instructions to preview alerts

* move instructions to separete section

* Update README.md

* <br>

* move up

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* a step

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cca5a1310d966a5e5fe97b4e5a82c3b7b85ae950
2023-06-28 14:59:42 -07:00
Iamz ee95c2a11d Multilang: Update th translations (#28700)
Thai translation update
old-commit-hash: 14b9aa74903571fc0122f5754986f713846b171e
2023-06-26 12:44:18 -07:00
eFini b2aaff114c Multilang: CHT translations for new nav UI (#28690)
CHT translations for new nav UI
old-commit-hash: e8ed0c2f53880b390a2697c4c14d0a5e044be6d8
2023-06-25 12:47:45 -07:00
Adeeb Shihadeh 826706dd30 thermald: show temp value in offroad alert (#28664)
* thermald: show temp value in offroad alert

* update

* better for multilang

* update translations

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 44643838333fbc8d60bbaacc10a2d24378b6af70
2023-06-23 17:12:01 -07:00
AlexandreSato 0b4c45dc3a Multilang: update pt-BR translations (#28659)
old-commit-hash: fb3eb6f9eae3a99d737c3a26f1783f3e1a9b3008
2023-06-23 21:25:26 +01:00
Lee Jong Mun 65378a9faf Multilang: kor translation update (#28646)
kor translation update
old-commit-hash: c7b62009ef3c7e198475be3a8748ab256ef39b92
2023-06-22 19:02:22 -07:00
eFini 8fa6af1042 Multilang: Chinese (Traditional) offroad alerts translation (#28636)
CHT translation for offroad alerts + minor changes to punctuation marks
old-commit-hash: 3b07bd5fcd000a96841dd00e1c9c58e7fc039062
2023-06-22 13:50:54 -07:00
Cameron Clough b6e6f008f1 UI: improved nav destination entry (#28476)
old-commit-hash: bc5a8990241311e347455ea8d69a064bd0693266
2023-06-22 19:57:29 +01:00
Dean Lee 1b3ba1c7ee ui: multilang offroad alerts (#28512)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 2b800cf2e79048bbccb821135d1cf03ec7a580b0
2023-06-22 15:04:28 +01:00