From f44ebb9f1ed37b2c3add981bf493e4d7cc7d0ee0 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Tue, 6 Sep 2022 04:20:05 +0800 Subject: [PATCH] ui/sidebar: remove unused variable params (#25667) * remove params * update translations Co-authored-by: Adeeb Shihadeh --- selfdrive/ui/qt/sidebar.h | 2 -- selfdrive/ui/translations/main_ja.ts | 14 +++++++------- selfdrive/ui/translations/main_ko.ts | 14 +++++++------- selfdrive/ui/translations/main_pt-BR.ts | 14 +++++++------- selfdrive/ui/translations/main_zh-CHS.ts | 14 +++++++------- selfdrive/ui/translations/main_zh-CHT.ts | 14 +++++++------- 6 files changed, 35 insertions(+), 37 deletions(-) diff --git a/selfdrive/ui/qt/sidebar.h b/selfdrive/ui/qt/sidebar.h index 0140673aac..621a21444d 100644 --- a/selfdrive/ui/qt/sidebar.h +++ b/selfdrive/ui/qt/sidebar.h @@ -3,7 +3,6 @@ #include #include -#include "common/params.h" #include "selfdrive/ui/ui.h" typedef QPair, QColor> ItemStatus; @@ -49,7 +48,6 @@ protected: const QColor warning_color = QColor(218, 202, 37); const QColor danger_color = QColor(201, 34, 49); - Params params; ItemStatus connect_status, panda_status, temp_status; QString net_type; int net_strength = 0; diff --git a/selfdrive/ui/translations/main_ja.ts b/selfdrive/ui/translations/main_ja.ts index 13697ce523..43327f8ef7 100644 --- a/selfdrive/ui/translations/main_ja.ts +++ b/selfdrive/ui/translations/main_ja.ts @@ -945,37 +945,37 @@ location set 検索 - + -- -- - + Wi-Fi Wi-Fi - + ETH ETH - + 2G 2G - + 3G 3G - + LTE LTE - + 5G 5G diff --git a/selfdrive/ui/translations/main_ko.ts b/selfdrive/ui/translations/main_ko.ts index 918cd29e27..1d7ddbe6e8 100644 --- a/selfdrive/ui/translations/main_ko.ts +++ b/selfdrive/ui/translations/main_ko.ts @@ -945,37 +945,37 @@ location set 검색중 - + -- -- - + Wi-Fi Wi-Fi - + ETH 이더넷 - + 2G 2G - + 3G 3G - + LTE LTE - + 5G 5G diff --git a/selfdrive/ui/translations/main_pt-BR.ts b/selfdrive/ui/translations/main_pt-BR.ts index f5aa386e5d..f50cf65e15 100644 --- a/selfdrive/ui/translations/main_pt-BR.ts +++ b/selfdrive/ui/translations/main_pt-BR.ts @@ -949,37 +949,37 @@ trabalho definido PROCURA - + -- -- - + Wi-Fi Wi-Fi - + ETH ETH - + 2G 2G - + 3G 3G - + LTE LTE - + 5G 5G diff --git a/selfdrive/ui/translations/main_zh-CHS.ts b/selfdrive/ui/translations/main_zh-CHS.ts index e405dc9026..1a384482da 100644 --- a/selfdrive/ui/translations/main_zh-CHS.ts +++ b/selfdrive/ui/translations/main_zh-CHS.ts @@ -943,37 +943,37 @@ location set 搜索中 - + -- -- - + Wi-Fi Wi-Fi - + ETH 以太网 - + 2G 2G - + 3G 3G - + LTE LTE - + 5G 5G diff --git a/selfdrive/ui/translations/main_zh-CHT.ts b/selfdrive/ui/translations/main_zh-CHT.ts index 71893218ff..d7dd5cb563 100644 --- a/selfdrive/ui/translations/main_zh-CHT.ts +++ b/selfdrive/ui/translations/main_zh-CHT.ts @@ -945,37 +945,37 @@ location set 車輛通訊 - + -- -- - + Wi-Fi - + ETH - + 2G - + 3G - + LTE - + 5G