Commit Graph

1312 Commits

Author SHA1 Message Date
Bartłomiej Pluta a68ad91efd Added Polish translation file (#25310)
* Added Polish translations

* Updated Polish translation file

* update to add plurals

* Updated Polish translations to use plurals

* remove vanished translations

* update translations

* remove from languages

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b80424fe27459cf6f454968a3ddd558f45700453
2022-08-31 00:09:15 -07:00
Adeeb Shihadeh 0325a33752 add pyside2 package (#25602)
old-commit-hash: c6b749fb96b3b6332fd850e733140357f84d53a4
2022-08-30 15:10:52 -07:00
Adeeb Shihadeh 35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93baedb2e1c5267b4f191f8e20fcd1d2
2022-08-30 11:20:55 -07:00
AlexandreSato 58c7fd0e73 pt-BR Shorter phrase for Finish Setup (#25566)
* fix and improve pt-BR translation

* Shorter phrase for Finish Setup

* Concluir are better than Encerrar bacause means sucessfuly
old-commit-hash: cca8ef4f93ef738b2a56d849dbf673be935993f9
2022-08-26 11:41:44 -07:00
guilhermicas b2f9d59d31 Portuguese: grammar and semantic corrections (#25554)
* Grammar and semantic corrections of Portuguese translation

* Revert "Grammar and semantic corrections of Portuguese translation"

This reverts commit 87c88c24f8872ffa87de16a63151240b7d7c7716.

* fix and improve pt-BR translation

* rename file

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: AlexandreSato <sato_alexandre@hotmail.com>
old-commit-hash: 2ebbe7eac658c5961434c8701364e4ac018a0cb3
2022-08-25 23:13:31 -07:00
Dean Lee 3b9197ffc4 getTextRect: pass text by const reference (#25555)
old-commit-hash: 3bb2b4df498ef925b9b5e39cc72ed53143ac63a6
2022-08-25 13:13:38 -07:00
royjr d37b297076 Add Arabic Translation (#25269)
* arabic

* update to add plurals

* Update translations

* don't show lang for now

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8245ba4d307f16e853c0cc4288a217770d2049b4
2022-08-25 12:16:34 -07:00
Jeroen 493bda546b Fix broken url in translations README (#25546)
Fix url in README.md
old-commit-hash: c62447c7843141e426b24f71b7d7c5488aaf8c5d
2022-08-24 11:16:17 -07:00
Rewat S 82167915a8 Add Thai translations (#25189)
* Add Thai translations

* update to add plurals

remove

* Update translations

* Update Thai translation to match English source.

* Add to badges

* use shorter km/h

* Add test for correct format specifier for plural translations

* pass new test

* Update some sentences to make it clear.
Change short form of some words.

* Hide from the UI

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a34acc316e8c4fc6d4ea101ef58919686cd0807c
2022-08-23 16:29:47 -07:00
Shane Smiskol 803e81494d Update translations
old-commit-hash: 8b154fe27145f529d2459658e25cdd02f3fc9b5c
2022-08-23 11:18:23 -07:00
Cameron Clough 07084dcbaf user event flagging (#25517)
* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b3cfe962cf346e70cce1389fe3c9bf23344a5512
2022-08-22 21:47:09 -07:00
Shane Smiskol 68eae853c2 Translations badges: concatenate into one badge (#25522)
* add badge

done correctly

works

Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update README.md
Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update badge

Update README.md
test this

try this

finalize

remove badges

fixup readme

add to test

fix

fix

rm

* clean up

* no formats
old-commit-hash: ad8d3de0d9abedc7c9db177b6c4a6b1a0fb03020
2022-08-22 20:39:54 -07:00
Shane Smiskol 50fb17775d Multilang: add plural translation test (#25491)
Add test for correct format specifier for plural translations
old-commit-hash: 844d4d2eceee487aaaf27601522cb9b9bb351614
2022-08-18 23:32:11 -07:00
eFini 9ca692179f Fix is_rhd param name in map.cc (#25464)
old-commit-hash: 1de8ad891bcf8c0b73b24f7e3eab17f3448e7473
2022-08-17 20:21:38 -07:00
Shane Smiskol fc494c2a2d Multilang: language policy (#25414)
* add draft translation merging policy

* Update policy copy

* copy

* add link

* Update selfdrive/ui/translations/README.md
old-commit-hash: 721fae7e8e0fdf239c2ef5bf138c8e7ca7f16771
2022-08-16 00:37:11 -07:00
Shane Smiskol f0403f1468 Fix translations
old-commit-hash: e24da95120aad859e8946c46ace7ee2e09b856e7
2022-08-15 15:12:46 -07:00
Achilles308 940cf9a1b8 UI: fix inconsistent capitalization in toggle title (#25441)
old-commit-hash: 370f58b7d677ee85249122b60362f4c323a30e95
2022-08-15 13:49:43 -07:00
AlexandreSato 14a6aa77d6 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>
old-commit-hash: 42e4efe706ab41958dc1877701fc947149baf053
2022-08-15 12:14:29 -07:00
cydia2020 58f654e456 Multilang: fill missing Japanese translations (#25418)
* japanese translations

* ENTER literally means enter

* This makes more sense

* finished

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f0214d5e83661cf6d7bada40a6ffef703609b4fe
2022-08-12 16:26:50 -07:00
Adeeb Shihadeh 62b8b25cdf nav: same icon size for active & inactive lanes (#25383)
* nav: same icon size for active & inactive lanes

* update translations
old-commit-hash: ac305dacef7b4267131543194e16c569488310fe
2022-08-08 15:07:44 -07:00
Adeeb Shihadeh 76a74b6830 UI: exit gracefully (#25388)
* UI: exit gracefully

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2cff05be43f06a79f66c73cb5fb0fba4dbe6649e
2022-08-07 18:41:54 -07:00
Shane Smiskol f82b61ccf4 Fix static analysis
old-commit-hash: 088719c86c050c9a73f45f5a472a88af5e539db1
2022-08-05 15:23:22 -07:00
Shane Smiskol e441e42fc4 Multilang: test for vanished translations (#25342)
* Test for vanished translations

* this isn't needed anymore

* comment

* remove more unnecessary code since the great pluralization
old-commit-hash: eaf21e53e2a3e3e988b661412c919a331b5cf2a9
2022-08-05 14:49:21 -07:00
Shane Smiskol 83ff495062 vEgoCluster: fix starting from stop (#25350)
* we can't switch back and forth

* update translations
old-commit-hash: b6910923d18af7332f781a7c83b2601fd7862e3f
2022-08-03 21:03:53 -07:00
Shane Smiskol 8c58f12e9e Multilang: add Japanese to UI (#25339)
* Add Japanese to UI

* Add Enlish and Japanese badges
old-commit-hash: 1cf2f9fc1316738f72e85052b0f9ffd74c369b1f
2022-08-02 19:29:33 -07:00
Shane Smiskol 76334fc278 Fix missing Korean translations (#25340)
Fix missing ko translations
old-commit-hash: abf9df336e6498b574e32083b214dbcc9458dac9
2022-08-02 13:49:03 -07:00
Shane Smiskol f1cb3ce929 Remove obsolete translations (#25338)
old-commit-hash: 51b1d99f0cd00327b9cfc3da02e859082cd9c0ea
2022-08-02 12:47:24 -07:00
Shane Smiskol 9e06421bfe Multilang: handle localized plurals (#25337)
* Add localized plural handling

* Do another location with plurals

* fix test
old-commit-hash: ecba8732088d27fac84c9d1c84c6082e0638009f
2022-08-02 12:44:21 -07:00
Adeeb Shihadeh 5933e51f8c internal installer: set param for disable radar toggle
old-commit-hash: 21719aa824f0b88ee2bc248347831cb21004a87f
2022-08-01 09:56:20 -07:00
ZwX1616 6e5393367d Remove RHD toggle: determine by driver side instead (#24802)
* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* should have commissue anyway

* delete icon file

* deal with init more elegantly and prohibit switching when engaged

* nonblock save when not unstable

* filter very low speeds

* a few more secs dont harm

* draw icon

* match

* radius

* use const

* ref commit

* new transs

* put_bool_nonblocking

* 5k route tune

* ref comm

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 22408781f7d7df5ff0395f80c1b15d6407acd0ff
2022-07-29 13:52:24 -07:00
Willem Melching 5e893f8a58 fix finding the lte connection (#25286)
old-commit-hash: ab236e5ae0330edd984c8f19e694ab50090e9183
2022-07-26 17:47:40 +02:00
Shane Smiskol bcbf8463e6 Multilanguage badges (#25244)
* Test badge

* fix?

* Test

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* try this

* need to build

* a minute for what

* download and commit test badge

* get dynamically

* fix

* Add to readme

* force push

* should work

* one step

* Update badge

* draft

* clean up

* remove these

* one line is fine

* Adding badges will have to be manual, but that should be fine

* cause error

* continue on error

* hope this doesn't delete the badges

* ugh, allow-failures would be so nice

* whoops

* yep need this

* do this

* now try a push

* clean up

* rm line

* need this

* see if this works

* orange

* does this work?

* ?

* do dis

* needs to be global?

* cool, this works

cool, this works

* run only on master

* add back workflows

* remove that

* sorting

* sorting

* print badge markdown

* it is bytes though?

* run once more

* revert

* looks nicer

* strange

* no decimals

* run again

run once more

* nice workflow_dispatch

* only run on a schedule and remove error handling

* make links absolute

* adjust badge text
old-commit-hash: 9ab1c492dd051276a422fbac38f754c4e6633f32
2022-07-22 14:07:54 -07:00
cydia2020 d9f897ce31 Multilang: finish unfinished Simplified Chinese translations (#25247)
* Finish unfinished translation

* Update main_zh-CHS.ts
old-commit-hash: daded8ebebb47d79fd0847b9a802d255df4eb02c
2022-07-22 10:18:45 -07:00
eFini cecd535c6f Chinese (Traditional): Add/improve translations (#25228)
fixed readme

shortened ETA & revert unit
old-commit-hash: cb73f9dbc38fff4ab249d8379a788a6b6d7770e3
2022-07-21 13:50:04 -07:00
Lee Jong Mun cbd1b9bc30 Multilanguage: Korean improvements/translations (#25231)
* Update util.cc

* Revert "Update util.cc"

This reverts commit d7d2f4f6c16785084375b8b8e3ae63dda414c872.

* Multilanguage: kor translations update
old-commit-hash: e66145f9e0ec561a2e630e03e2c94d760874fc48
2022-07-21 10:24:40 -07:00
Willem Melching 95fb15aa5f prereq for matching speeds shown on cars dash (#25222)
* prereq for matching speeds shown on cars dash

* also handle fallback in the ui for replay

* update translations

* update ref
old-commit-hash: c3e95d5e194be9d445f54661d0ae0f0612db6a62
2022-07-21 14:48:08 +02:00
Shane Smiskol 13a1c77051 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
old-commit-hash: c528decd17a71bb8f9eb0be2f0d78ccc2e74f70a
2022-07-20 18:44:47 -07:00
Shane Smiskol 8dca2bb404 Improve Japanese translations (#25226)
* Minor Japanese improvements

* fix

rm

Co-authored-by: PONPC <fuzitanirenti@yahoo.co.jp>
old-commit-hash: 180c2abdd9a99f0851a1bc0b3dc2a4f3ab55ddf8
2022-07-20 14:11:59 -07:00
cydia2020 6ca9144357 Multilang: Improve Japanese translations (#25108)
* improve japanese translation

* characteristics is probably the better word to use

* more explicit

* misc fix

* space

* translate Dongle ID

* drive -> driving history

* more appropriate translation for minimum character requirement

This is hacky and should be fixed

* copy the home work of the chinese translators

* full width -> half width

* better speed translations

* device pairing procedures

* main features -> perks

* subscribed -> joined (as member)

* stop update -> pause update

* add japanese to language.json

* qm

* honorific

* shorter texts for buttons

* close -> recent

* maximising driver monitoring performance -> improving driver monitoring performance

* developer perks -> developer facing perks

* expressions

* expressions

* full width exclamation mark

* accel pedal to cancel -> tap accel to cancel openpilot

* qm

* deal with unfinished translations

* qm

* change all mentions of driver camera to interior camera

* failed to obtain update -> error while downloading update

* update translation file

* update qm

* remove google translate

* this device is facing %2's %1 deg, %4's %3 deg

* ja qm

* reword this

* ensure -> confirm

* better wording for device reset page

* more consistent

* wording

* qm

* mark as finished

* update after translation refactor

* bump translation

* update translation to reflect new changes

* Japanese qm

* update translations

* remove from selector

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 26dad2423bd4078aab249ea9db3301a2a8a6c73e
2022-07-19 15:56:06 -07:00
Shane Smiskol 4a3dd13898 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>
old-commit-hash: 464db126a551639b036c4a5e4e494684c68f56f2
2022-07-19 12:38:58 -07:00
Shane Smiskol 01ec6c16c1 Update translations
old-commit-hash: 30f21cb8fd2cae562fa7f2f5486d360366b6e938
2022-07-19 12:34:06 -07:00
Adeeb Shihadeh d2d4ad7ad5 UI: add description for branch switcher
old-commit-hash: 50f7545ed7ef008526b6b081bbc2f96e05fc54e1
2022-07-19 10:46:03 -07:00
Willem Melching 2f4d4cd8c5 navd: add back VisionIPC map renderer (#25212)
* builds standalone

* process live msg

* render into nv12a

* VISION_STREAM_RGB_MAP -> VISION_STREAM_MAP

* cleanup sconscript

* main include cleanup
old-commit-hash: 86c1e8164ab6b1c3363f7833b7dc0ea735dd26db
2022-07-19 16:57:13 +02:00
Shane Smiskol 58c7b65b78 Fix release tests
old-commit-hash: 758069464cfcc2d0c3c991533aa800707aa823c1
2022-07-18 22:05:11 -07:00
Adeeb Shihadeh 95df2c9b48 updated: add branch switching (#25200)
* switch param

* add to ui

* fix that

* fetch for new branch

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cc3857eb62cd169be05a4cb22c844a8b2ec94139
2022-07-18 21:18:10 -07:00
Greg Hogan 5dd12e194b 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>
old-commit-hash: 93cd0285ac014427cdd137fa2c8852c58bdef4db
2022-07-18 13:57:21 +02:00
Shane Smiskol 7407b4683d Multilanguage Contributing README (#25170)
* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* typo
old-commit-hash: 93a1ca8351d93adfc18d5a9c99ce2bb908cb43b6
2022-07-13 23:51:32 -07:00
Willem Melching ce7948464f nav: draw inactive lanes with 50% opacity (#25157)
* nav: draw inactive lanes with 50% opacity

* update ts
old-commit-hash: 49dd56fc241d5ea3e0ab37e10175ad545ef4d528
2022-07-13 17:58:45 +02:00
Shane Smiskol d3c4739ce1 UI: translations cleanup (#25120)
* Make this one translation

* Remote html from translations

* getBrand as argument

* some stuff

* Forget Wi-Fi network

* Update translations

* Remove obsolete

* compilation fixes

* remove

* Fix missing translation
old-commit-hash: 3b4e939b9f88b70727e687613a912aef36178755
2022-07-12 19:58:39 -07:00
ZwX1616 987c975e02 UI: change wording for dcam preview description (#25142)
old-commit-hash: b632d56244c5fd6821477a642d6f151ea4b13b20
2022-07-12 16:39:13 -07:00