more translations

This commit is contained in:
dragonpilot
2019-11-12 13:34:02 +10:00
parent 00e065dc49
commit f76785b521
2 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -196,7 +196,7 @@ ALERTS = [
Alert(
"steerTempUnavailableNoEntry",
"無法使用 openpilot",
"無法使用 dragonpilot",
"轉向控制暫時失效",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 0., 3.),
@@ -635,8 +635,8 @@ ALERTS = [
Alert(
"invalidGiraffeToyotaNoEntry",
"openpilot Unavailable",
"Visit comma.ai/tg",
"無法使用 dragonpilot",
"請瀏覽 comma.ai/tg",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
@@ -740,13 +740,13 @@ ALERTS = [
Priority.LOW, VisualAlert.none, AudibleAlert.none, .0, .1, .1, alert_rate=0.25),
Alert(
"leadCarMoving",
"Lead Car Is Moving",
"前車移動中,請開始加速",
"",
AlertStatus.userPrompt, AlertSize.small,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimeWarning2, .1, .1, .1),
Alert(
"leadCarDetected",
"Lead Car Detected",
"偵測到前車,等待中",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.none, AudibleAlert.none, .0, .1, .1, alert_rate=0.25),
+2 -2
View File
@@ -2688,8 +2688,8 @@ int main(int argc, char* argv[]) {
if (s->controls_seen && s->vision_connected && strcmp(s->scene.alert_text2, "Controls Unresponsive") != 0) {
s->scene.alert_size = ALERTSIZE_FULL;
update_status(s, STATUS_ALERT);
snprintf(s->scene.alert_text1, sizeof(s->scene.alert_text1), "%s", "TAKE CONTROL IMMEDIATELY");
snprintf(s->scene.alert_text2, sizeof(s->scene.alert_text2), "%s", "Controls Unresponsive");
snprintf(s->scene.alert_text1, sizeof(s->scene.alert_text1), "%s", "即刻接管控制");
snprintf(s->scene.alert_text2, sizeof(s->scene.alert_text2), "%s", "操控服務沒有反應");
ui_draw_vision_alert(s, s->scene.alert_size, s->status, s->scene.alert_text1, s->scene.alert_text2);
s->alert_sound_timeout = 2 * UI_FREQ;