[8.2.8][i18n] mogo-core-data 中文抽取

This commit is contained in:
xinfengkun
2025-11-26 17:57:11 +08:00
parent ab6a5a92d6
commit 64a4f00a73
12 changed files with 1235 additions and 389 deletions

View File

@@ -4,6 +4,8 @@ import android.os.Handler
import android.os.Looper
import android.os.Message
import android.util.Log
import com.mogo.eagle.core.data.R
import com.mogo.eagle.core.utilcode.util.StringUtils
import com.mogo.service.v2n.bean.MGDynamicEventBean
import com.mogo.service.v2n.bean.MGPerceptionBean
import com.mogo.service.v2n.bean.MGWaringCrossBean
@@ -716,17 +718,28 @@ fun interpolatePoints(start: MGLocationBean, end: MGLocationBean): MGLocationBea
}
enum class WaringOrientationType(val text: String, val mask: Int) {
left_top("左前方", 1 shl 0),// 00000001
top("前方", 1 shl 1),// 00000010
right_top("右前方", 1 shl 2),//00000100
right("右侧", 1 shl 3),//00001000
right_bottom("右后方", 1 shl 4),//00010000
bottom("后方", 1 shl 5),//00100000
left_bottom("左后方", 1 shl 6),//01000000
left("左侧", 1 shl 7),//10000000
top_big("前方", 1 shl 8),//100000000
bottom_big("后方", 1 shl 9),//1000000000
none("未知", 0);
// left_top("左前方", 1 shl 0),// 00000001
left_top(StringUtils.getString(R.string.module_core_left_top), 1 shl 0),// 00000001
// top("前方", 1 shl 1),// 00000010
top(StringUtils.getString(R.string.module_core_top), 1 shl 1),// 00000010
// right_top("右前方", 1 shl 2),//00000100
right_top(StringUtils.getString(R.string.module_core_right_top), 1 shl 2),//00000100
// right("右侧", 1 shl 3),//00001000
right(StringUtils.getString(R.string.module_core_right1), 1 shl 3),//00001000
// right_bottom("右后方", 1 shl 4),//00010000
right_bottom(StringUtils.getString(R.string.module_core_right_bottom), 1 shl 4),//00010000
// bottom("后方", 1 shl 5),//00100000
bottom(StringUtils.getString(R.string.module_core_bottom), 1 shl 5),//00100000
// left_bottom("左后方", 1 shl 6),//01000000
left_bottom(StringUtils.getString(R.string.module_core_left_bottom), 1 shl 6),//01000000
// left("左侧", 1 shl 7),//10000000
left(StringUtils.getString(R.string.module_core_left1), 1 shl 7),//10000000
// top_big("前方", 1 shl 8),//100000000
top_big(StringUtils.getString(R.string.module_core_top), 1 shl 8),//100000000
// bottom_big("后方", 1 shl 9),//1000000000
bottom_big(StringUtils.getString(R.string.module_core_bottom), 1 shl 9),//1000000000
// none("未知", 0);
none(StringUtils.getString(R.string.module_core_unknown), 0);
companion object {
//a上左b上中c上右 d中左e中f中右 g下左h下中i下右

View File

@@ -1,5 +1,7 @@
package com.mogo.eagle.core.data.autopilot.pnc
import com.mogo.eagle.core.data.R
import com.mogo.eagle.core.utilcode.util.StringUtils
import mogo.telematics.pad.MessagePad.DrivingState.*
class PncActionsHelper {
@@ -13,102 +15,131 @@ class PncActionsHelper {
}
// 车道保持 driving_action 1:车道保持状态2:跟车状态
LANKE_KEEP_VALUE -> {
if (driveAction == 2) "正在跟随车辆行驶" else ""
// if (driveAction == 2) "正在跟随车辆行驶" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_following_vehicle_driving) else ""
}
// 红绿灯通行状态 driving_action1 表示停止动作driving_action:2 表示通行动作
TRAFFIC_LIGHT_VALUE -> {
if (driveAction == 1) "正在等红灯" else ""
// if (driveAction == 1) "正在等红灯" else ""
if (driveAction == 1) StringUtils.getString(R.string.module_core_waiting_for_red_light) else ""
}
// follow全局择机向左变道状态 driving_action1 表示触发变道driving_action:2 表示择机保持driving_action:3 表示变道完成
FOLLOW_LANE_CHANGE_LEFT_VALUE -> {
if (driveAction == 2) "正在向左变道" else if (driveAction == 3) "正在完成变道" else ""
// if (driveAction == 2) "正在向左变道" else if (driveAction == 3) "正在完成变道" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_left) else if (driveAction == 3) StringUtils.getString(R.string.module_core_completing_lane_change) else ""
}
// follow全局择机向右变道状态 driving_action1 表示触发变道driving_action:2 表示择机保持driving_action:3 表示变道完成
FOLLOW_LANE_CHANGE_RIGHT_VALUE -> {
if (driveAction == 2) "正在向右变道" else if (driveAction == 3) "正在完成变道" else ""
// if (driveAction == 2) "正在向右变道" else if (driveAction == 3) "正在完成变道" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_right) else if (driveAction == 3) StringUtils.getString(R.string.module_core_completing_lane_change) else ""
}
// 变道绕障 主动向左/右变道状态 driving_action1 表示触发变道driving_action:2 表示执行变道driving_action:3 表示变道取消driving_action:4 表示变道完成
AUTO_LANE_CHANGE_LEFT_VALUE, AUTO_LANE_CHANGE_RIGHT_VALUE -> {
if (driveAction == 2) "正在绕过障碍物" else if (driveAction == 3) "变道取消" else ""
// if (driveAction == 2) "正在绕过障碍物" else if (driveAction == 3) "变道取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_bypassing_obstacle) else if (driveAction == 3) StringUtils.getString(R.string.module_core_change_canceled) else ""
}
// 主动向左/右绕行状态 driving_action1 表示触发绕行driving_action:2 表示执行绕行driving_action:3 表示绕行取消driving_action:4 表示绕行完成
LANE_AVOID_LEFT_VALUE, LANE_AVOID_RIGHT_VALUE -> {
if (driveAction == 2) "正在避让障碍物" else ""
// if (driveAction == 2) "正在避让障碍物" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_avoiding_obstacle) else ""
}
AUTO_LANE_CHANGE_LEFT_RSI_VALUE -> {
if (driveAction == 2) "正在向左变道避让前方道路施工" else if (driveAction == 3) "变道取消" else ""
// if (driveAction == 2) "正在向左变道避让前方道路施工" else if (driveAction == 3) "变道取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_left_to_avoid_road_construction_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_change_canceled) else ""
}
AUTO_LANE_CHANGE_RIGHT_RSI_VALUE -> {
if (driveAction == 2) "正在向右变道避让前方道路施工" else if (driveAction == 3) "变道取消" else ""
// if (driveAction == 2) "正在向右变道避让前方道路施工" else if (driveAction == 3) "变道取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_right_to_avoid_road_construction_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_change_canceled) else ""
}
LANE_AVOID_LEFT_RSI_VALUE -> {
if (driveAction == 2) "正在向左绕行避让前方道路施工" else if (driveAction == 3) "绕行取消" else ""
// if (driveAction == 2) "正在向左绕行避让前方道路施工" else if (driveAction == 3) "绕行取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_turning_left_to_bypass_road_construction_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_bypass_canceled) else ""
}
LANE_AVOID_RIGHT_RSI_VALUE -> {
if (driveAction == 2) "正在向右绕行避让前方道路施工" else if (driveAction == 3) "绕行取消" else ""
// if (driveAction == 2) "正在向右绕行避让前方道路施工" else if (driveAction == 3) "绕行取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_turning_right_to_bypass_road_construction_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_bypass_canceled) else ""
}
AUTO_LANE_CHANGE_LEFT_RSM_VALUE -> {
if (driveAction == 2) "正在向左变道避让前方静止障碍物" else if (driveAction == 3) "变道取消" else ""
// if (driveAction == 2) "正在向左变道避让前方静止障碍物" else if (driveAction == 3) "变道取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_left_to_avoid_stationary_obstacle_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_change_canceled) else ""
}
AUTO_LANE_CHANGE_RIGHT_RSM_VALUE -> {
if (driveAction == 2) "正在向右变道避让前方静止障碍物" else if (driveAction == 3) "变道取消" else ""
// if (driveAction == 2) "正在向右变道避让前方静止障碍物" else if (driveAction == 3) "变道取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_right_to_avoid_stationary_obstacle_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_change_canceled) else ""
}
LANE_AVOID_LEFT_RSM_VALUE -> {
if (driveAction == 2) "正在向左绕行避让前方静止障碍物" else if (driveAction == 3) "绕行取消" else ""
// if (driveAction == 2) "正在向左绕行避让前方静止障碍物" else if (driveAction == 3) "绕行取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_turning_left_to_bypass_stationary_obstacle_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_bypass_canceled) else ""
}
LANE_AVOID_RIGHT_RSM_VALUE -> {
if (driveAction == 2) "正在向右绕行避让前方静止障碍物" else if (driveAction == 3) "绕行取消" else ""
// if (driveAction == 2) "正在向右绕行避让前方静止障碍物" else if (driveAction == 3) "绕行取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_turning_right_to_bypass_stationary_obstacle_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_bypass_canceled) else ""
}
AUTO_LANE_CHANGE_LEFT_RSI_TRIANGLE_VALUE -> {
if (driveAction == 2) "正在向左变道避让前方道路事故" else if (driveAction == 3) "变道取消" else ""
// if (driveAction == 2) "正在向左变道避让前方道路事故" else if (driveAction == 3) "变道取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_left_to_avoid_road_accident_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_change_canceled) else ""
}
AUTO_LANE_CHANGE_RIGHT_RSI_TRIANGLE_VALUE -> {
if (driveAction == 2) "正在向右变道避让前方道路事故" else if (driveAction == 3) "变道取消" else ""
// if (driveAction == 2) "正在向右变道避让前方道路事故" else if (driveAction == 3) "变道取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_changing_lane_to_right_to_avoid_road_accident_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_change_canceled) else ""
}
LANE_AVOID_LEFT_RSI_TRIANGLE_VALUE -> {
if (driveAction == 2) "正在向左绕行避让前方道路事故" else if (driveAction == 3) "绕行取消" else ""
// if (driveAction == 2) "正在向左绕行避让前方道路事故" else if (driveAction == 3) "绕行取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_turning_left_to_bypass_road_accident_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_bypass_canceled) else ""
}
LANE_AVOID_RIGHT_RSI_TRIANGLE_VALUE -> {
if (driveAction == 2) "正在向右绕行避让前方道路事故" else if (driveAction == 3) "绕行取消" else ""
// if (driveAction == 2) "正在向右绕行避让前方道路事故" else if (driveAction == 3) "绕行取消" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_turning_right_to_bypass_road_accident_ahead) else if (driveAction == 3) StringUtils.getString(R.string.module_core_bypass_canceled) else ""
}
// 起步状态 driving_action1 表示正常启动driving_action:2 表示择机起步;
START_UP_VALUE -> {
if (driveAction == 1) "正在出站" else if (driveAction == 2) "正在等待出站" else ""
// if (driveAction == 1) "正在出站" else if (driveAction == 2) "正在等待出站" else ""
if (driveAction == 1) StringUtils.getString(R.string.module_core_leaving_the_station) else if (driveAction == 2) StringUtils.getString(R.string.module_core_waiting_to_leave_the_station) else ""
}
// 靠边停车状态 driving_action1 表示正常靠边停车driving_action:2 表示择机靠边停车;
PULL_OVER_VALUE -> {
if (driveAction == 1) "正在进站" else if (driveAction == 2) "正在等待进站" else ""
// if (driveAction == 1) "正在进站" else if (driveAction == 2) "正在等待进站" else ""
if (driveAction == 1) StringUtils.getString(R.string.module_core_entering_the_station) else if (driveAction == 2) StringUtils.getString(R.string.module_core_waiting_to_enter_the_station) else ""
}
// 同 AUTO_LANE_CHANGE_LEFT_VALUE 、AUTO_LANE_CHANGE_RIGHT_VALUE
AUTO_LANE_CHANGE_LEFT_V2N_VALUE, AUTO_LANE_CHANGE_RIGHT_V2N_VALUE -> {
if (driveAction == 2) "正在绕过前方道路事件" else ""
// if (driveAction == 2) "正在绕过前方道路事件" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_bypassing_road_event_ahead) else ""
}
// 同 LANE_AVOID_LEFT_VALUE 、LANE_AVOID_RIGHT_VALUE
LANE_AVOID_LEFT_V2N_VALUE, LANE_AVOID_RIGHT_V2N_VALUE -> {
if (driveAction == 2) "正在避让前方道路事件" else ""
// if (driveAction == 2) "正在避让前方道路事件" else ""
if (driveAction == 2) StringUtils.getString(R.string.module_core_avoiding_road_event_ahead) else ""
}
// 正在等待变道避让施工场景 driving_action1 表示正在等待driving_action:2 表示等待超时请求平行驾驶;
WAITING_V2N_VALUE -> {
if (driveAction == 1) "正在尝试绕过前方道路事件" else if (driveAction == 2) "正在请求远程协助" else ""
// if (driveAction == 1) "正在尝试绕过前方道路事件" else if (driveAction == 2) "正在请求远程协助" else ""
if (driveAction == 1) StringUtils.getString(R.string.module_core_attempting_to_bypass_road_event_ahead) else if (driveAction == 2) StringUtils.getString(R.string.module_core_requesting_remote_assistance) else ""
}
YIELD_TO_VEHICLE_COMING_FROM_BEHIND_VALUE -> {
if (driveAction == 1) "正在避让后方来车" else ""
// if (driveAction == 1) "正在避让后方来车" else ""
if (driveAction == 1) StringUtils.getString(R.string.module_core_avoiding_oncoming_vehicles_from_behind) else ""
}
// 考试项
OUT_OF_ODD_VALUE -> {
if (driveAction == 1 || driveAction == 2 || driveAction == 3) "已超出ODD" else ""
// if (driveAction == 1 || driveAction == 2 || driveAction == 3) "已超出ODD" else ""
if (driveAction == 1 || driveAction == 2 || driveAction == 3) StringUtils.getString(R.string.module_core_has_exceeded_odd) else ""
}
LANE_FOLLOW_VEHICLE_STREAM_VALUE -> {
"正在跟车行驶"
// "正在跟车行驶"
StringUtils.getString(R.string.module_core_following_the_vehicle_ahead)
}
LANE_CHANGE_LEFT_VEHICLE_STREAM_VALUE -> {
"正在向左变道避让前方车龙"
// "正在向左变道避让前方车龙"
StringUtils.getString(R.string.module_core_changing_lane_left_avoid_vehicle_queue_ahead)
}
LANE_CHANGE_RIGHT_VEHICLE_STREAM_VALUE -> {
"正在向右变道避让前方车龙"
// "正在向右变道避让前方车龙"
StringUtils.getString(R.string.module_core_changing_lane_right_avoid_vehicle_queue_ahead)
}
USING_RSI_LINK_VALUE -> {
"正在使用云端规划通过路口"
// "正在使用云端规划通过路口"
StringUtils.getString(R.string.module_core_using_cloud_planning_pass_intersection)
}
else -> ""
}

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.data.enums
import com.mogo.eagle.core.data.R
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig.Companion.BIZ_AVW
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig.Companion.BIZ_BSW
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig.Companion.BIZ_CLW
@@ -13,6 +14,7 @@ import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig.Companion.BIZ_VRU
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig.Companion.BIZ_VRU_RI
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig.Companion.V2N
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig.Companion.V2V
import com.mogo.eagle.core.utilcode.util.StringUtils
import com.zhjt.service_biz.BizConfig
class EventTypeHelper {
@@ -29,14 +31,18 @@ class EventTypeHelper {
when {
direction.isLeft() -> {
data.invoke(
EventTypeEnumNew.getWarningContent(appId.toString() + ""),
EventTypeEnumNew.getWarningTts(appId.toString() + "")
// EventTypeEnumNew.getWarningContent(appId.toString() + "左"),
EventTypeEnumNew.getWarningContent(appId.toString() + StringUtils.getString(R.string.module_core_left)),
// EventTypeEnumNew.getWarningTts(appId.toString() + "左")
EventTypeEnumNew.getWarningTts(appId.toString() + StringUtils.getString(R.string.module_core_left))
)
}
direction.isRight() -> {
data.invoke(
EventTypeEnumNew.getWarningContent(appId.toString() + ""),
EventTypeEnumNew.getWarningTts(appId.toString() + "")
// EventTypeEnumNew.getWarningContent(appId.toString() + "右"),
EventTypeEnumNew.getWarningContent(appId.toString() + StringUtils.getString(R.string.module_core_right)),
// EventTypeEnumNew.getWarningTts(appId.toString() + "右")
EventTypeEnumNew.getWarningTts(appId.toString() + StringUtils.getString(R.string.module_core_right))
)
}
else -> {
@@ -93,15 +99,19 @@ class EventTypeHelper {
when {
direction.isLeft() -> {
data.invoke(
EventTypeEnumNew.getWarningContent(appId.toString() + ""),
EventTypeEnumNew.getWarningTts(appId.toString() + ""),
// EventTypeEnumNew.getWarningContent(appId.toString() + "左"),
EventTypeEnumNew.getWarningContent(appId.toString() + StringUtils.getString(R.string.module_core_left)),
// EventTypeEnumNew.getWarningTts(appId.toString() + "左"),
EventTypeEnumNew.getWarningTts(appId.toString() + StringUtils.getString(R.string.module_core_left)),
true
)
}
direction.isRight() -> {
data.invoke(
EventTypeEnumNew.getWarningContent(appId.toString() + ""),
EventTypeEnumNew.getWarningTts(appId.toString() + ""),
// EventTypeEnumNew.getWarningContent(appId.toString() + "右"),
EventTypeEnumNew.getWarningContent(appId.toString() + StringUtils.getString(R.string.module_core_right)),
// EventTypeEnumNew.getWarningTts(appId.toString() + "右"),
EventTypeEnumNew.getWarningTts(appId.toString() + StringUtils.getString(R.string.module_core_right)),
true
)
}
@@ -130,8 +140,10 @@ class EventTypeHelper {
fun getVRURI(data: ((appId: Int, tts: String, content: String) -> Unit)) {
data.invoke(
EventTypeEnumNew.TYPE_USECASE_ID_VRUCW_PERSON.poiType.toInt(),
"路人逆行预警",
"路人逆行预警"
// "路人逆行预警",
StringUtils.getString(R.string.module_core_vrucw_person_content1),
// "路人逆行预警"
StringUtils.getString(R.string.module_core_vrucw_person_content1)
)
}

View File

@@ -3,6 +3,7 @@ package com.mogo.eagle.core.data.enums
import com.mogo.eagle.core.data.R
import com.mogo.eagle.core.data.config.FunctionBuildConfig
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
import com.mogo.eagle.core.utilcode.util.StringUtils
/**
@@ -19,105 +20,120 @@ enum class TrafficTypeEnum(
) {
TYPE_TRAFFIC_ID_WEI_ZHI(
100,
"未知数据",
// "未知数据",
StringUtils.getString(R.string.module_core_unknown_data),
R.raw.traffic_xiankuang,
R.raw.traffic_xiankuang,
R.raw.traffic_xiankuang
),
TYPE_TRAFFIC_ID_PEOPLE(
1,
"",
// "人",
StringUtils.getString(R.string.module_core_people),
R.raw.traffic_people,
R.raw.xingren,
R.raw.xingren_night
),
TYPE_TRAFFIC_ID_BICYCLE(
2,
"自行车",
// "自行车",
StringUtils.getString(R.string.module_core_bicycle),
R.raw.traffic_zixingche,
R.raw.traffic_zixingche_day,
R.raw.traffic_zixingche
),
TYPE_TRAFFIC_ID_TA_CHE(
3,
"他车",
// "他车",
StringUtils.getString(R.string.module_core_ta_che),
R.raw.traffic_tachexiaoche,
R.raw.traffic_tachexiaoche_day,
R.raw.traffic_tachexiaoche
),
TYPE_TRAFFIC_ID_MOTO(
4,
"摩托",
// "摩托",
StringUtils.getString(R.string.module_core_moto),
R.raw.traffic_motuoche,
R.raw.traffic_motuoche_day,
R.raw.traffic_motuoche
),
TYPE_TRAFFIC_ID_BUS(
6,
"大巴",
// "大巴",
StringUtils.getString(R.string.module_core_bus),
R.raw.traffic_daba,
R.raw.traffic_daba_day,
R.raw.traffic_daba
),
TYPE_TRAFFIC_ID_TRUCK(
8,
"卡车",
// "卡车",
StringUtils.getString(R.string.module_core_truck),
R.raw.traffic_daba,
R.raw.traffic_daba_day,
R.raw.traffic_daba
),
TYPE_TRAFFIC_ID_CAMERA(
9,
"摄像头",
// "摄像头",
StringUtils.getString(R.string.module_core_camera),
R.raw.shexiangtou,
R.raw.shexiangtou,
R.raw.shexiangtou
),
TYPE_TRAFFIC_ID_SPECIAL_VEHICLE(
11,
"特殊车辆",
// "特殊车辆",
StringUtils.getString(R.string.module_core_special_vehicle),
R.raw.special_vehicle,
R.raw.special_vehicle,
R.raw.special_vehicle
),
TYPE_TRAFFIC_ID_CONE(
12,
"三角锥",
// "三角锥",
StringUtils.getString(R.string.module_core_cone),
R.raw.sanjiaozhui,
R.raw.sanjiaozhui,
R.raw.sanjiaozhui
),
TYPE_TRAFFIC_ID_LUCE_TA_CHE(
103,
"路侧他车",
// "路侧他车",
StringUtils.getString(R.string.module_core_luce_ta_che),
R.raw.lucexiaoche,
R.raw.lucexiaoche,
R.raw.lucexiaoche
),
TYPE_TRAFFIC_ID_LUCE_BUS(
106,
"路侧大巴",
// "路侧大巴",
StringUtils.getString(R.string.module_core_luce_bus),
R.raw.lucedaba,
R.raw.lucedaba,
R.raw.lucedaba
),
TYPE_TRAFFIC_ID_LUCE_TRUCK(
108,
"路侧卡车",
// "路侧卡车",
StringUtils.getString(R.string.module_core_luce_truck),
R.raw.lucedaba,
R.raw.lucedaba,
R.raw.lucedaba
),
TYPE_TRAFFIC_ID_DAO_LU_SHI_GONG(
501,
"道路施工",
// "道路施工",
StringUtils.getString(R.string.module_core_road_construction),
R.raw.v2x_shigong_warning,
R.raw.v2x_shigong_warning,
R.raw.v2x_shigong_warning
),
TYPE_TRAFFIC_ID_DAO_LU_SHI_GU(
502,
"道路事故",
// "道路事故",
StringUtils.getString(R.string.module_core_road_accident),
R.raw.v2x_shigu_sanjiaopai,
R.raw.v2x_shigu_sanjiaopai,
R.raw.v2x_shigu_sanjiaopai
@@ -125,7 +141,8 @@ enum class TrafficTypeEnum(
TYPE_TRAFFIC_ID_TA_CHE_RETROGRADE(
100062,
"他车逆行",
// "他车逆行",
StringUtils.getString(R.string.module_core_ta_che_retrograde),
R.raw.traffic_tachexiaoche_retrograde,
R.raw.traffic_tachexiaoche_retrograde,
R.raw.traffic_tachexiaoche_retrograde
@@ -133,7 +150,8 @@ enum class TrafficTypeEnum(
TYPE_TRAFFIC_ID_PEOPLE_CROSS(
100064,
"行人横穿",
// "行人横穿",
StringUtils.getString(R.string.module_core_people_cross),
R.raw.xingren,
R.raw.xingren,
R.raw.xingren

View File

@@ -1,5 +1,8 @@
package com.mogo.eagle.core.data.enums
import com.mogo.eagle.core.data.R
import com.mogo.eagle.core.utilcode.util.StringUtils
fun WarningDirectionEnum.isLeft():Boolean{
return this.direction == WarningDirectionEnum.ALERT_WARNING_LEFT.direction
@@ -23,42 +26,52 @@ enum class WarningDirectionEnum(
) {
ALERT_WARNING_NON(
0,
"关闭红色边框预警"
// "关闭红色边框预警"
StringUtils.getString(R.string.module_core_alert_warning_non)
),
ALERT_WARNING_TOP(
1,
"正前方"
// "正前方"
StringUtils.getString(R.string.module_core_alert_warning_top)
),
ALERT_WARNING_RIGHT(
2,
"正右边"
// "正右边"
StringUtils.getString(R.string.module_core_alert_warning_right)
),
ALERT_WARNING_BOTTOM(
3,
"正后方"
// "正后方"
StringUtils.getString(R.string.module_core_alert_warning_bottom)
),
ALERT_WARNING_LEFT(
4,
"正左方"
// "正左方"
StringUtils.getString(R.string.module_core_alert_warning_left)
),
ALERT_WARNING_TOP_RIGHT(
5,
"右前方"
// "右前方"
StringUtils.getString(R.string.module_core_right_top)
),
ALERT_WARNING_BOTTOM_RIGHT(
6,
"右后方"
// "右后方"
StringUtils.getString(R.string.module_core_right_bottom)
),
ALERT_WARNING_BOTTOM_LEFT(
7,
"左后方"
// "左后方"
StringUtils.getString(R.string.module_core_left_bottom)
),
ALERT_WARNING_TOP_LEFT(
8,
"左前方"
// "左前方"
StringUtils.getString(R.string.module_core_left_top)
),
ALERT_WARNING_ALL(
9,
"周边"
// "周边"
StringUtils.getString(R.string.module_core_alert_warning_all)
)
}

View File

@@ -6,6 +6,8 @@ import android.text.TextUtils;
import androidx.core.util.Pair;
import com.mogo.eagle.core.utilcode.util.StringUtils;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
@@ -44,7 +46,8 @@ public class MarkerExploreWay implements Serializable {
public String getAddr() {
if (TextUtils.isEmpty(addr)) {
return "未知道路";
// return "未知道路";
return StringUtils.getString(com.mogo.eagle.core.widget.R.string.module_core_unknown_road);
}
return addr;
}

View File

@@ -3,6 +3,9 @@ package com.mogo.eagle.core.data.map.entity;
import android.text.TextUtils;
import com.mogo.eagle.core.data.R;
import com.mogo.eagle.core.utilcode.util.StringUtils;
import java.io.Serializable;
import java.util.Calendar;
@@ -47,38 +50,49 @@ public class MarkerUserInfo implements Serializable {
//1990
char ageChar = ageChars[2];
String ageString = "未设置";
// String ageString = "未设置";
String ageString = StringUtils.getString(R.string.module_core_age_unknown);
switch (ageChar) {
case '0':
ageString = "00后";
// ageString = "00后";
ageString = StringUtils.getString(R.string.module_core_age_00);
break;
case '1':
ageString = "10后";
// ageString = "10后";
ageString = StringUtils.getString(R.string.module_core_age_10);
break;
case '2':
ageString = "20后";
// ageString = "20后";
ageString = StringUtils.getString(R.string.module_core_age_20);
break;
case '3':
ageString = "30后";
// ageString = "30后";
ageString = StringUtils.getString(R.string.module_core_age_30);
break;
case '4':
ageString = "40后";
// ageString = "40后";
ageString = StringUtils.getString(R.string.module_core_age_40);
break;
case '5':
ageString = "50后";
// ageString = "50后";
ageString = StringUtils.getString(R.string.module_core_age_50);
break;
case '6':
ageString = "60后";
// ageString = "60后";
ageString = StringUtils.getString(R.string.module_core_age_60);
break;
case '7':
ageString = "70后";
// ageString = "70后";
ageString = StringUtils.getString(R.string.module_core_age_70);
break;
case '8':
ageString = "80后";
// ageString = "80后";
ageString = StringUtils.getString(R.string.module_core_age_80);
break;
case '9':
ageString = "90后";
// ageString = "90后";
ageString = StringUtils.getString(R.string.module_core_age_90);
break;
}
@@ -94,7 +108,8 @@ public class MarkerUserInfo implements Serializable {
public int getGenderValue() {
if (!TextUtils.isEmpty(gender)) {
if ("".equals(gender)) {
// if ("男".equals(gender)) {
if (TextUtils.equals(gender, StringUtils.getString(R.string.module_core_gender_men))) {
return 0;
}
return 1;
@@ -105,7 +120,8 @@ public class MarkerUserInfo implements Serializable {
public String getGender() {
if (TextUtils.isEmpty(gender)) {
return "未设置";
// return "未设置";
return StringUtils.getString(R.string.module_core_gender_unknown);
}
return gender;
}
@@ -116,9 +132,11 @@ public class MarkerUserInfo implements Serializable {
public void setGender(int gender) {
if (gender == 0) {
this.gender = "";
// this.gender = "男";
this.gender = StringUtils.getString(R.string.module_core_gender_men);
} else {
this.gender = "";
// this.gender = "女";
this.gender = StringUtils.getString(R.string.module_core_gender_women);
}
}
@@ -154,7 +172,8 @@ public class MarkerUserInfo implements Serializable {
public String getUserName() {
if (TextUtils.isEmpty(userName)) {
return "用户未设置昵称";
// return "用户未设置昵称";
return StringUtils.getString(R.string.module_core_user_name_unknown);
}
return userName;
}

View File

@@ -1,7 +1,10 @@
package com.mogo.eagle.core.data.map.entity;
import android.text.TextUtils;
import com.mogo.eagle.core.data.R;
import com.mogo.eagle.core.data.enums.EventTypeEnumNew;
import com.mogo.eagle.core.utilcode.util.StringUtils;
import java.io.Serializable;
import java.util.Objects;
@@ -60,13 +63,16 @@ public class V2XRoadEventEntity implements Serializable {
tts = EventTypeEnumNew.GHOST_PROBE.getTts();
return tts;
}
tts = "前方#" + (int) getDistance() + "米#";
// tts = "前方#" + (int) getDistance() + "米#";
tts = StringUtils.getString(R.string.module_core_top) +"#" + (int) getDistance() + StringUtils.getString(R.string.module_och_m)+"#";
tts += EventTypeEnumNew.getTts(getPoiType());
if (haveLiveCar) {
tts += ",查看实况请说确定。";
// tts += ",查看实况请说确定。";
tts += StringUtils.getString(R.string.module_core_say_confirm_to_view_live_situation);
setShowEventButton(true);
} else {
tts += ",请注意躲避。";
// tts += ",请注意躲避。";
tts += StringUtils.getString(R.string.module_core_please_note_to_avoid);
setShowEventButton(false);
}
return tts;
@@ -76,9 +82,11 @@ public class V2XRoadEventEntity implements Serializable {
* 检测到附近#道路施工#,确认该信息是否正确?您可以说“正确”或“错误”帮助其他车友。
*/
public String getTtsWithFeedback() {
tts = "检测到附近";
// tts = "检测到附近";
tts = StringUtils.getString(R.string.module_core_detect_nearby);
tts += EventTypeEnumNew.getTtsWithFeedback(getPoiType());
tts += ",确认该信息是否正确?您可以说“正确”或“错误”帮助其他车友。";
// tts += ",确认该信息是否正确?您可以说“正确”或“错误”帮助其他车友。";
tts += StringUtils.getString(R.string.module_core_confirm_information);
return tts;
}

View File

@@ -1,6 +1,8 @@
package com.mogo.eagle.core.data.map.entity;
import com.mogo.eagle.core.data.R;
import com.mogo.eagle.core.data.map.MogoLatLng;
import com.mogo.eagle.core.utilcode.util.StringUtils;
import java.io.Serializable;
import java.util.List;
@@ -71,13 +73,16 @@ public class V2XWarningEntity implements Serializable {
switch (type) {
case 1:
case 11:
this.tts = "注意行人";
// this.tts = "注意行人";
this.tts = StringUtils.getString(R.string.module_core_watch_pedestrians);
break;
case 2:
this.tts = "注意自行车";
// this.tts = "注意自行车";
this.tts = StringUtils.getString(R.string.module_core_watch_bicycle);
break;
case 4:
this.tts = "注意摩托车";
// this.tts = "注意摩托车";
this.tts = StringUtils.getString(R.string.module_core_watch_motorbike);
break;
default:
break;

View File

@@ -1,5 +1,8 @@
package com.mogo.eagle.core.data.msgbox
import com.mogo.eagle.core.data.R
import com.mogo.eagle.core.utilcode.util.StringUtils
/**
* FM信息对照表
*/
@@ -15,19 +18,54 @@ class MsgFmData{
val faultLevel: Int//故障处理级别
){
//请求平行驾驶接管
FM_ACT_NEED_PARALLEL_DERVING_TAKEOVER("恢复策略","请求平行驾驶,请注意随时接管","FM_ACT_NEED_PARALLEL_DERVING_TAKEOVER","如planing出站时规划失败",3),
// FM_ACT_NEED_PARALLEL_DERVING_TAKEOVER("恢复策略","请求平行驾驶,请注意随时接管","FM_ACT_NEED_PARALLEL_DERVING_TAKEOVER","如planing出站时规划失败",3),
FM_ACT_NEED_PARALLEL_DERVING_TAKEOVER(
StringUtils.getString(R.string.module_core_recovery_strategy),
StringUtils.getString(R.string.module_core_need_parallel_derving_takeover_action),
"FM_ACT_NEED_PARALLEL_DERVING_TAKEOVER",
StringUtils.getString(R.string.module_core_need_parallel_derving_takeover_action_desc),3),
//请求人工驾驶接管
FM_ACT_NEED_MANNUAL_DERVING("恢复策略","请求人工驾驶接管","FM_ACT_NEED_MANNUAL_DERVING","如planing规划失败且存在弱网判断",0),
// FM_ACT_NEED_MANNUAL_DERVING("恢复策略","请求人工驾驶接管","FM_ACT_NEED_MANNUAL_DERVING","如planing规划失败且存在弱网判断",0),
FM_ACT_NEED_MANNUAL_DERVING(
StringUtils.getString(R.string.module_core_recovery_strategy),
StringUtils.getString(R.string.module_core_need_mannual_derving_action),
"FM_ACT_NEED_MANNUAL_DERVING",
StringUtils.getString(R.string.module_core_need_mannual_derving_action_desc),0),
//系统重启
FM_ACT_NEED_RESTART_SYSTEM("恢复策略","请进行系统软重启","FM_ACT_NEED_RESTART_SYSTEM","如检测到出现多个节点奔溃",2),
// FM_ACT_NEED_RESTART_SYSTEM("恢复策略","请进行系统软重启","FM_ACT_NEED_RESTART_SYSTEM","如检测到出现多个节点奔溃",2),
FM_ACT_NEED_RESTART_SYSTEM(
StringUtils.getString(R.string.module_core_recovery_strategy),
StringUtils.getString(R.string.module_core_need_restart_system_action),
"FM_ACT_NEED_RESTART_SYSTEM",
StringUtils.getString(R.string.module_core_need_restart_system_action_desc),2),
//整车下电重启
FM_ACT_MUST_VEHICLE_POWER_RESET("恢复策略","请进行整车下电重启","FM_ACT_MUST_VEHICLE_POWER_RESET","如底盘无数据,需要下电重启",1),
// FM_ACT_MUST_VEHICLE_POWER_RESET("恢复策略","请进行整车下电重启","FM_ACT_MUST_VEHICLE_POWER_RESET","如底盘无数据,需要下电重启",1),
FM_ACT_MUST_VEHICLE_POWER_RESET(
StringUtils.getString(R.string.module_core_recovery_strategy),
StringUtils.getString(R.string.module_core_must_vehicle_power_reset_action),
"FM_ACT_MUST_VEHICLE_POWER_RESET",
StringUtils.getString(R.string.module_core_must_vehicle_power_reset_action_desc),1),
//请联系硬件工程师
FM_ACT_CONTACT_HARDWARE_ENGINEER("人工处理","请联系硬件工程师","FM_ACT_CONTACT_HARDWARE_ENGINEER","硬件接线,域控启动等故障",4),
// FM_ACT_CONTACT_HARDWARE_ENGINEER("人工处理","请联系硬件工程师","FM_ACT_CONTACT_HARDWARE_ENGINEER","硬件接线,域控启动等故障",4),
FM_ACT_CONTACT_HARDWARE_ENGINEER(
StringUtils.getString(R.string.module_core_manual_processing),
StringUtils.getString(R.string.module_core_contact_hardware_engineer_action),
"FM_ACT_CONTACT_HARDWARE_ENGINEER",
StringUtils.getString(R.string.module_core_contact_hardware_engineer_action_desc),4),
//请联系运维工程师
FM_ACT_CONTACT_OPERATIONS_ENGINEER("人工处理","请联系运维工程师","FM_ACT_CONTACT_OPERATIONS_ENGINEER","系统配置不对,网络等故障",4),
// FM_ACT_CONTACT_OPERATIONS_ENGINEER("人工处理","请联系运维工程师","FM_ACT_CONTACT_OPERATIONS_ENGINEER","系统配置不对,网络等故障",4),
FM_ACT_CONTACT_OPERATIONS_ENGINEER(
StringUtils.getString(R.string.module_core_manual_processing),
StringUtils.getString(R.string.module_core_contact_operations_engineer_action),
"FM_ACT_CONTACT_OPERATIONS_ENGINEER",
StringUtils.getString(R.string.module_core_contact_operations_engineer_action_desc),4),
//请联系软件工程师
FM_ACT_CONTACT_SOFTWARE_ENGINEER("人工处理","请联系软件工程师","FM_ACT_CONTACT_SOFTWARE_ENGINEER","节点挂掉,无法启动等故障",4);
// FM_ACT_CONTACT_SOFTWARE_ENGINEER("人工处理","请联系软件工程师","FM_ACT_CONTACT_SOFTWARE_ENGINEER","节点挂掉,无法启动等故障",4);
FM_ACT_CONTACT_SOFTWARE_ENGINEER(
StringUtils.getString(R.string.module_core_manual_processing),
StringUtils.getString(R.string.module_core_contact_software_engineer_action),
"FM_ACT_CONTACT_SOFTWARE_ENGINEER",
StringUtils.getString(R.string.module_core_contact_software_engineer_action_desc),4);
companion object{
@@ -69,7 +107,8 @@ class MsgFmData{
FM_ACT_CONTACT_OPERATIONS_ENGINEER.faultLevel ->FM_ACT_CONTACT_OPERATIONS_ENGINEER.faultAction
//请联系软件工程师
FM_ACT_CONTACT_SOFTWARE_ENGINEER.faultLevel -> FM_ACT_CONTACT_SOFTWARE_ENGINEER.faultAction
else -> "暂无建议操作,请视实际情况注意接管"
// else -> "暂无建议操作,请视实际情况注意接管"
else -> StringUtils.getString(R.string.module_core_no_suggested_operations_available1)
}
}
@@ -89,7 +128,8 @@ class MsgFmData{
FM_ACT_CONTACT_OPERATIONS_ENGINEER.faultLevel ->FM_ACT_CONTACT_OPERATIONS_ENGINEER.faultAction
//请联系软件工程师
FM_ACT_CONTACT_SOFTWARE_ENGINEER.faultLevel -> FM_ACT_CONTACT_SOFTWARE_ENGINEER.faultAction
else -> "暂无建议操作"
// else -> "暂无建议操作"
else -> StringUtils.getString(R.string.module_core_no_suggested_operations_available)
}
}
@@ -126,17 +166,47 @@ class MsgFmData{
val resultDesc: String//后果对应的处理描述
){
//无法作业
FM_RST_FUNCTION_LOST("功能影响","无法作业","FM_RST_FUNCTION_LOST","需要禁止作业,如扫盘故障,清扫车无法清扫作业"),
// FM_RST_FUNCTION_LOST("功能影响","无法作业","FM_RST_FUNCTION_LOST","需要禁止作业,如扫盘故障,清扫车无法清扫作业"),
FM_RST_FUNCTION_LOST(
StringUtils.getString(R.string.module_core_function_impact),
StringUtils.getString(R.string.module_core_unable_job),
"FM_RST_FUNCTION_LOST",
StringUtils.getString(R.string.module_core_function_lost_desc)),
//无法开放运营
FM_RST_FORBID_OPEN_WORK("功能影响","无法开放运营","FM_RST_FORBID_OPEN_WORK","需要禁止运营,如安全带故障,可以自驾,不能载人"),
// FM_RST_FORBID_OPEN_WORK("功能影响","无法开放运营","FM_RST_FORBID_OPEN_WORK","需要禁止运营,如安全带故障,可以自驾,不能载人"),
FM_RST_FORBID_OPEN_WORK(
StringUtils.getString(R.string.module_core_function_impact),
StringUtils.getString(R.string.module_core_unable_operation),
"FM_RST_FORBID_OPEN_WORK",
StringUtils.getString(R.string.module_core_forbid_open_work_desc)),
//无法平行驾驶
FM_RST_FORBID_PARALLEL_DERVING("驾驶影响","无法平行驾驶","FM_RST_FORBID_PARALLEL_DERVING","需要禁止平行驾驶"),
// FM_RST_FORBID_PARALLEL_DERVING("驾驶影响","无法平行驾驶","FM_RST_FORBID_PARALLEL_DERVING","需要禁止平行驾驶"),
FM_RST_FORBID_PARALLEL_DERVING(
StringUtils.getString(R.string.module_core_driving_impact),
StringUtils.getString(R.string.module_core_unable_parallel_drive),
"FM_RST_FORBID_PARALLEL_DERVING",
StringUtils.getString(R.string.module_core_forbid_parallel_derving_desc)),
//无法自动驾驶
FM_RST_FORBID_AUTOPILOT_DERVING("驾驶影响","无法自动驾驶","FM_RST_FORBID_AUTOPILOT_DERVING","需要禁止自驾"),
// FM_RST_FORBID_AUTOPILOT_DERVING("驾驶影响","无法自动驾驶","FM_RST_FORBID_AUTOPILOT_DERVING","需要禁止自驾"),
FM_RST_FORBID_AUTOPILOT_DERVING(
StringUtils.getString(R.string.module_core_driving_impact),
StringUtils.getString(R.string.module_core_unable_auto_drive),
"FM_RST_FORBID_AUTOPILOT_DERVING",
StringUtils.getString(R.string.module_core_forbid_autopilot_derving_desc)),
//无法手动驾驶
FM_RST_FORBID_MANNUAL_DERVING("驾驶影响","无法手动驾驶","FM_RST_FORBID_MANNUAL_DERVING","需要禁止行车,如底盘存在故障,需要通知出来"),
// FM_RST_FORBID_MANNUAL_DERVING("驾驶影响","无法手动驾驶","FM_RST_FORBID_MANNUAL_DERVING","需要禁止行车,如底盘存在故障,需要通知出来"),
FM_RST_FORBID_MANNUAL_DERVING(
StringUtils.getString(R.string.module_core_driving_impact),
StringUtils.getString(R.string.module_core_unable_manual_drive),
"FM_RST_FORBID_MANNUAL_DERVING",
StringUtils.getString(R.string.module_core_forbid_mannual_derving_desc)),
//失控,无法策略停车
FM_RST_OUT_OF_CONTROL("安全影响","失控,无法策略停车","FM_RST_OUT_OF_CONTROL","需要立即紧急通知到人车辆失控如驾驶中controller挂掉发送102重启");
// FM_RST_OUT_OF_CONTROL("安全影响","失控,无法策略停车","FM_RST_OUT_OF_CONTROL","需要立即紧急通知到人车辆失控如驾驶中controller挂掉发送102重启");
FM_RST_OUT_OF_CONTROL(
StringUtils.getString(R.string.module_core_safety_impact),
StringUtils.getString(R.string.module_core_unable_strategic_parking),
"FM_RST_OUT_OF_CONTROL",
StringUtils.getString(R.string.module_core_out_of_control_desc));
companion object{
//获取结果原因描述
@@ -170,15 +240,24 @@ class MsgFmData{
@JvmStatic
fun getFmPolicyName(policyCode: String?): String{
return when(policyCode){
"FM_DP_NO_ACTION" -> "报告"
"FM_DP_ONLY_WARNING" -> "警示"
"FM_DP_SPEED_LIMIT1" -> "一级降速"
"FM_DP_SPEED_LIMIT2" -> "二级降速"
"FM_DP_SPEED_LIMIT3" -> "三级降速"
"FM_DP_PNC_CHOOSE_STOP" -> "择机靠边停车"
"FM_DP_COMFORTABLE_STOP" -> "立刻舒适停车"
"FM_DP_EMERGENCY_STOP" -> "就地紧急停车"
else -> "暂无"
// "FM_DP_NO_ACTION" -> "报告"
"FM_DP_NO_ACTION" -> StringUtils.getString(R.string.module_core_fm_dp_no_action)
// "FM_DP_ONLY_WARNING" -> "警示"
"FM_DP_ONLY_WARNING" -> StringUtils.getString(R.string.module_core_fm_dp_only_warning)
// "FM_DP_SPEED_LIMIT1" -> "一级降速"
"FM_DP_SPEED_LIMIT1" -> StringUtils.getString(R.string.module_core_fm_dp_speed_limit1)
// "FM_DP_SPEED_LIMIT2" -> "二级降速"
"FM_DP_SPEED_LIMIT2" -> StringUtils.getString(R.string.module_core_fm_dp_speed_limit2)
// "FM_DP_SPEED_LIMIT3" -> "三级降速"
"FM_DP_SPEED_LIMIT3" -> StringUtils.getString(R.string.module_core_fm_dp_speed_limit3)
// "FM_DP_PNC_CHOOSE_STOP" -> "择机靠边停车"
"FM_DP_PNC_CHOOSE_STOP" -> StringUtils.getString(R.string.module_core_fm_dp_comfortable_stop)
// "FM_DP_COMFORTABLE_STOP" -> "立刻舒适停车"
"FM_DP_COMFORTABLE_STOP" -> StringUtils.getString(R.string.module_core_fm_dp_pnc_choose_stop)
// "FM_DP_EMERGENCY_STOP" -> "就地紧急停车"
"FM_DP_EMERGENCY_STOP" -> StringUtils.getString(R.string.module_core_fm_dp_emergency_stop)
// else -> "暂无"
else -> StringUtils.getString(R.string.module_core_no_available)
}
}

View File

@@ -828,5 +828,349 @@
<string name="module_core_certificate_downloading_please_try_later">正在下载证书,请稍后再试</string>
<string name="module_core_certificate_download_failed">证书下载失败</string>
<string name="module_core_current_environment_does_not_support_key_download">当前环境id%s 不支持密钥下载</string>
<string name="module_core_left_top">左前方</string>
<string name="module_core_top">前方</string>
<string name="module_core_right_top">右前方</string>
<string name="module_core_right1">右侧</string>
<string name="module_core_right_bottom">右后方</string>
<string name="module_core_bottom">后方</string>
<string name="module_core_left_bottom">左后方</string>
<string name="module_core_left1">左侧</string>
<string name="module_core_following_vehicle_driving">正在跟随车辆行驶</string>
<string name="module_core_waiting_for_red_light">正在等红灯</string>
<string name="module_core_changing_lane_to_left">正在向左变道</string>
<string name="module_core_completing_lane_change">正在完成变道</string>
<string name="module_core_changing_lane_to_right">正在向右变道</string>
<string name="module_core_bypassing_obstacle">正在绕过障碍物</string>
<string name="module_core_change_canceled">变道取消</string>
<string name="module_core_avoiding_obstacle">正在避让障碍物</string>
<string name="module_core_changing_lane_to_left_to_avoid_road_construction_ahead">正在向左变道避让前方道路施工</string>
<string name="module_core_changing_lane_to_right_to_avoid_road_construction_ahead">正在向右变道避让前方道路施工</string>
<string name="module_core_turning_left_to_bypass_road_construction_ahead">正在向左绕行避让前方道路施工</string>
<string name="module_core_bypass_canceled">绕行取消</string>
<string name="module_core_turning_right_to_bypass_road_construction_ahead">正在向右绕行避让前方道路施工</string>
<string name="module_core_changing_lane_to_left_to_avoid_stationary_obstacle_ahead">正在向左变道避让前方静止障碍物</string>
<string name="module_core_changing_lane_to_right_to_avoid_stationary_obstacle_ahead">正在向右变道避让前方静止障碍物</string>
<string name="module_core_turning_left_to_bypass_stationary_obstacle_ahead">正在向左绕行避让前方静止障碍物</string>
<string name="module_core_turning_right_to_bypass_stationary_obstacle_ahead">正在向右绕行避让前方静止障碍物</string>
<string name="module_core_changing_lane_to_left_to_avoid_road_accident_ahead">正在向左变道避让前方道路事故</string>
<string name="module_core_changing_lane_to_right_to_avoid_road_accident_ahead">正在向右变道避让前方道路事故</string>
<string name="module_core_turning_left_to_bypass_road_accident_ahead">正在向左绕行避让前方道路事故</string>
<string name="module_core_turning_right_to_bypass_road_accident_ahead">正在向右绕行避让前方道路事故</string>
<string name="module_core_leaving_the_station">正在出站</string>
<string name="module_core_waiting_to_leave_the_station">正在等待出站</string>
<string name="module_core_entering_the_station">正在进站</string>
<string name="module_core_waiting_to_enter_the_station">正在等待进站</string>
<string name="module_core_bypassing_road_event_ahead">正在绕过前方道路事件</string>
<string name="module_core_avoiding_road_event_ahead">正在避让前方道路事件</string>
<string name="module_core_attempting_to_bypass_road_event_ahead">正在尝试绕过前方道路事件</string>
<string name="module_core_requesting_remote_assistance">正在请求远程协助</string>
<string name="module_core_avoiding_oncoming_vehicles_from_behind">正在避让后方来车</string>
<string name="module_core_following_the_vehicle_ahead">正在跟车行驶</string>
<string name="module_core_changing_lane_left_avoid_vehicle_queue_ahead">正在向左变道避让前方车龙</string>
<string name="module_core_changing_lane_right_avoid_vehicle_queue_ahead">正在向右变道避让前方车龙</string>
<string name="module_core_traffic_check">交通检查</string>
<string name="module_core_ahead_traffic_check">前方交通检查</string>
<string name="module_core_road_closed">封路</string>
<string name="module_core_ahead_road_closed">前方封路</string>
<string name="module_core_road_closure">道路封路</string>
<string name="module_core_fours_road_work">注意施工占道</string>
<string name="module_core_ahead_congestion">前方拥堵</string>
<string name="module_core_ahead_road_congestion">前方道路拥堵</string>
<string name="module_core_road_ponding">道路积水</string>
<string name="module_core_ahead_road_ponding">前方道路积水</string>
<string name="module_core_road_icing">路面结冰</string>
<string name="module_core_ahead_road_icing">前方路面结冰</string>
<string name="module_core_ahead_traffic_accident">前方交通事故</string>
<string name="module_core_real_time_traffic">实时路况</string>
<string name="module_core_ahead_blind_spot_pedestrian_warning">前方盲区路人预警</string>
<string name="module_core_ahead_blind_spot_pedestrian_passing_please_attention">前方盲区路人通行,请注意</string>
<string name="module_core_ahead_blind_spot_pedestrian_approaching_please_slow_down">前方盲区即将有路人通过,请减速慢行</string>
<string name="module_core_take_over">接管</string>
<string name="module_core_attention_surroundings_immediate_takeover">注意周围、立即接管</string>
<string name="module_core_autonomous_driving_exit_please_take_over_immediately">自动驾驶退出请立即接管</string>
<string name="module_core_parallel_driving_exited_due_to_weak_network_attention_to_take_over_at_any_time">平行驾驶遇弱网已退出,注意随时接管</string>
<string name="module_core_autonomous_driving_judgment_troubled">自驾判定遇困</string>
<string name="module_core_parallel_driving_requested_please_wait_a_moment">已请求平行驾驶,请稍作等待</string>
<string name="module_core_ahead_warning">前方预警</string>
<string name="module_core_traffic_light">红绿灯</string>
<string name="module_core_broken_down_vehicle">故障车辆</string>
<string name="module_core_optimal_lane">最优车道</string>
<string name="module_core_forward_collision_warning">前向碰撞预警</string>
<string name="module_core_front_collision_warning">前车碰撞预警</string>
<string name="module_core_beware_of_front_vehicle">小心前车</string>
<string name="module_core_intersection_collision_warning">交叉路口碰撞预警</string>
<string name="module_core_pay_attention_to_intersection_vehicles">注意交叉路口车辆</string>
<string name="module_core_left_turn_assist">左转辅助</string>
<string name="module_core_left_turn_collision_warning">左转碰撞预警</string>
<string name="module_core_pay_attention_to_oncoming_vehicles_at_intersection">注意路口对向来车</string>
<string name="module_core_rear_blind_spot_warning">%s后盲区预警</string>
<string name="module_core_pay_attention_to_vehicles_behind">注意%s后车辆</string>
<string name="module_core_lane_change_warning">变道预警</string>
<string name="module_core_lane_change_warning1">%s向变道预警</string>
<string name="module_core_dnpw">逆向超车预警</string>
<string name="module_core_pay_attention_to_oncoming_vehicles">注意对向来车</string>
<string name="module_core_ebw">紧急制动预警</string>
<string name="module_core_front_vehicle_sudden_braking">前车急刹车</string>
<string name="module_core_avw">异常车辆提醒</string>
<string name="module_core_avw_content">%s车异常</string>
<string name="module_core_avw_tts">小心%s异常车辆</string>
<string name="module_core_clw">车辆失控预警</string>
<string name="module_core_clw_content">前%s失控预警</string>
<string name="module_core_clw_tts">小心%s失控车辆</string>
<string name="module_core_evw">紧急车辆提醒</string>
<string name="module_core_evw_content">注意特种车辆通行</string>
<string name="module_core_evw_tts">请避让特种车辆</string>
<string name="module_core_vrucw_motor_vehicles">碰撞预警</string>
<string name="module_core_vrucw_motor_vehicles_content">前方机动车闯入</string>
<string name="module_core_vrucw_not_motor_vehicles_content">前方非机动车闯入</string>
<string name="module_core_vrucw_person_content">前方路人闯入</string>
<string name="module_core_error_weakness">未知障碍物</string>
<string name="module_core_error_weakness_content">前方未知障碍物闯入</string>
<string name="module_core_ivp_red">闯红灯预警</string>
<string name="module_core_ivp_red_content">前方路口有闯红灯风险</string>
<string name="module_core_ivp_red_tts">有路口闯红灯风险,建议降低车速</string>
<string name="module_core_ivp_green">绿波通行</string>
<string name="module_core_ivp_green_content">建议车速 %s KM/H</string>
<string name="module_core_ivp_green_tts">建议车速 %s 千米每小时</string>
<string name="module_core_breakdown_warning">车辆故障</string>
<string name="module_core_breakdown_warning_content">前方%s米有故障车辆影响路段%s米</string>
<string name="module_core_breakdown_warning_tts">路侧提醒您,前方%s米有故障车辆影响路段%s米</string>
<string name="module_core_fours_ponding">道路积水</string>
<string name="module_core_fours_ponding_content">前方%s米道路积水影响路段%s米</string>
<string name="module_core_fours_ponding_tts">路侧提醒您,前方%s米道路积水影响路段%s米</string>
<string name="module_core_road_parking">异常停车</string>
<string name="module_core_road_parking_content">前方%s米异常停车影响路段%s米</string>
<string name="module_core_road_parking_tts">路侧提醒您,前方%s米异常停车影响路段%s米</string>
<string name="module_core_tjw">拥堵</string>
<string name="module_core_tjw_content">前方%s米拥堵影响路段%s米</string>
<string name="module_core_tjw_tts">路侧提醒您,前方%s米拥堵影响路段%s米</string>
<string name="module_core_slw">超速行驶</string>
<string name="module_core_slw_content">%s有车辆超速行驶</string>
<string name="module_core_slw_tts">路侧提醒您,%s有车辆超速行驶</string>
<string name="module_core_road_vehicle_retrograde">逆行车辆</string>
<string name="module_core_road_vehicle_retrograde_content">前方%s米逆行车辆影响路段%s米</string>
<string name="module_core_road_vehicle_retrograde_tts">路侧提醒您,前方%s米逆行车辆影响路段%s米</string>
<string name="module_core_road_speed_limit1">超速</string>
<string name="module_core_road_speed_limit1_content">当前路段限速 %s KM/H已超速</string>
<string name="module_core_road_speed_limit1_tts">当前路段限速 %s 千米每小时,已超速</string>
<string name="module_core_shapr_turns">急转弯</string>
<string name="module_core_shapr_turns_content">前方%s米急转弯</string>
<string name="module_core_shapr_turns_tts">前方%s米急转弯</string>
<string name="module_core_bridge">桥梁</string>
<string name="module_core_bridge_content">前方%s米桥梁</string>
<string name="module_core_pedestrian1">路人</string>
<string name="module_core_pedestrian1_content">前方%s米路人</string>
<string name="module_core_slippery_road">路滑</string>
<string name="module_core_slippery_road_content">前方%s米路滑</string>
<string name="module_core_tunnel">隧道</string>
<string name="module_core_tunnel_content">前方%s米隧道</string>
<string name="module_core_ferry">渡轮</string>
<string name="module_core_ferry_content">前方%s米渡轮</string>
<string name="module_core_uneven_road">路面不平</string>
<string name="module_core_uneven_road_content">前方%s米路面不平</string>
<string name="module_core_non_motor_vehicle_content">前方%s米有非机动车</string>
<string name="module_core_obstacle">障碍</string>
<string name="module_core_obstacle_content">前方%s米障碍</string>
<string name="module_core_road_work">施工</string>
<string name="module_core_road_work_content">前方%s米施工</string>
<string name="module_core_vehicle_queue">车队</string>
<string name="module_core_vehicle_queue_content">前方%s米车队</string>
<string name="module_core_no_passing">道路不通</string>
<string name="module_core_no_passing_content">前方%s米不通</string>
<string name="module_core_no_turning_around">禁止掉头</string>
<string name="module_core_no_turning_around_content">前方%s米禁止掉头</string>
<string name="module_core_road_no_parking">禁止停车</string>
<string name="module_core_road_no_parking_content">前方%s米有禁停路段</string>
<string name="module_core_road_no_tooting">禁止鸣笛</string>
<string name="module_core_road_no_tooting_content">前方%s米禁止鸣笛</string>
<string name="module_core_bus_warning">公交提醒</string>
<string name="module_core_bus_warning_content">前方%s米公交提醒</string>
<string name="module_core_narrow_right">右侧变窄/车道数减少</string>
<string name="module_core_narrow_right_content">前方%s米右侧变窄/车道数减少</string>
<string name="module_core_gas_station">加油站</string>
<string name="module_core_gas_station_content">前方%s米加油站</string>
<string name="module_core_school">学校</string>
<string name="module_core_school_content">前方%s米学校</string>
<string name="module_core_accident">交通事故</string>
<string name="module_core_accident_content">前方%s米交通事故</string>
<string name="module_core_bus_station">通过公交站</string>
<string name="module_core_bus_station_content">前方%s米有公交站</string>
<string name="module_core_attention_confluence">前方车辆汇流</string>
<string name="module_core_attention_confluence_content">前方%s米注意车辆汇入</string>
<string name="module_core_pedestrian_crossing">人行横道</string>
<string name="module_core_pedestrian_crossing_content">前方%s米人行横道</string>
<string name="module_core_socket_road_end_tts">提醒您注意观察小心通过</string>
<string name="module_core_socket_road_congestion">交通拥堵</string>
<string name="module_core_socket_road_congestion_content">前方%s米交通拥堵</string>
<string name="module_core_socket_road_congestion_tts">前方%s米交通拥堵, </string>
<string name="module_core_road_jingzhi">静止障碍物占道</string>
<string name="module_core_road_jingzhi_content">前方%s米静止障碍物占道</string>
<string name="module_core_road_jingzhi_tts">前方%s米静止障碍物占道, </string>
<string name="module_core_road_shigu_content">前方%s米道路事故</string>
<string name="module_core_road_shigu_tts">前方%s米道路事故,</string>
<string name="module_core_road_shigong_content">前方%s米道路施工</string>
<string name="module_core_road_shigong_tts">前方%s米道路施工,</string>
<string name="module_core_road_other_retrograde_vehicle">他车倒车/逆行</string>
<string name="module_core_road_other_retrograde_vehicle_content">前方%s米有他车倒车或逆行</string>
<string name="module_core_road_other_retrograde_vehicle_tts">前方有异常车辆</string>
<string name="module_core_road_gree_wave">绿波通行</string>
<string name="module_core_road_gree_wave_content">保持当前车速即可通过路口,好丝滑!</string>
<string name="module_core_road_people_cross">行人横穿</string>
<string name="module_core_road_people_cross_content">前方%s米有行人/非机动车横穿</string>
<string name="module_core_road_people_cross_tts">前方有行人或非机动车横穿</string>
<string name="module_core_socket_error">未知/错误/异常</string>
<string name="module_core_unable_takeover">平行驾驶无法接管</string>
<string name="module_core_unable_takeover_content">远程无法介入,注意随时接管!可尝试重启app</string>
<string name="module_core_exception_exit_sync">同步异常结束</string>
<string name="module_core_exception_exit_sync_content">远程介入失败,注意随时接管!</string>
<string name="module_core_parallel_exception_manual_driving">异常请人工驾驶</string>
<string name="module_core_parallel_exception_manual_driving_content">即将靠边停车,注意随时接管!</string>
<string name="module_core_exception_exit_parallel_driving">平行驾驶异常结束</string>
<string name="module_core_exception_exit_parallel_driving_content">可能应急停车,注意随时接管!</string>
<string name="module_core_verification_successful">验票成功</string>
<string name="module_core_verification_successful_content">%s张%s票如全程票</string>
<string name="module_core_abnormal_verification">核销失败</string>
<string name="module_core_device_status_normal">核销设备正常</string>
<string name="module_core_device_status_normal_content">详情%s</string>
<string name="module_core_device_status_abnormal">核销设备异常</string>
<string name="module_core_power_off_tip">一键停服</string>
<string name="module_core_power_off_tip_content">请等待1分钟再执行车辆下电</string>
<string name="module_core_vip_identification_pass">VIP通行</string>
<string name="module_core_vip_identification_pass_content">VIP车辆优先通行已为您变为绿灯</string>
<string name="module_core_vip_identification_extend_content">VIP车辆优先通行已为您延长绿灯</string>
<string name="module_core_vip_error_identification_content">请求失败,</string>
<string name="module_core_vip_error_identification_tts">请求失败,稍后重试</string>
<string name="module_core_optimal_route_recommend">路线推荐</string>
<string name="module_core_optimal_route_recommend_content">为您推荐最优路线</string>
<string name="module_core_optimal_route_recommend_tts">已为您选择最优路线</string>
<string name="module_core_ipc_disconnect_for_mo_fang">连接异常</string>
<string name="module_core_ipc_disconnect_for_mo_fang_content">工控机连接异常,无法执行魔方命令</string>
<string name="module_core_cloud_green_wave_speed">绿波车速引导</string>
<string name="module_core_cloud_suggest_drive_lane">行驶车道建议</string>
<string name="module_core_cloud_traffic_remind">交通拥堵提醒</string>
<string name="module_core_cloud_priority_vehicle">紧急车辆优先通行</string>
<string name="module_core_cloud_dangerous_road_warn">道路危险状况</string>
<string name="module_core_cloud_limit_speed">动态限速信息</string>
<string name="module_core_cloud_beyond_visual_range">弱势交通参与者提醒</string>
<string name="module_core_cloud_other_vehicle_red_light_warn">路口他车闯红灯</string>
<string name="module_core_cloud_obstacle_warn">障碍物预警</string>
<string name="module_core_cloud_visibility_warn">能见度预警</string>
<string name="module_core_cloud_abnormal_vehicle_warn">异常车辆预警</string>
<string name="module_core_other_road_event">其它道路事件</string>
<string name="module_core_road_event">道路事件</string>
<string name="module_core_event_notification">事件通知</string>
<string name="module_core_vrucw_person_content1">路人逆行预警</string>
<string name="module_core_unknown_data">未知数据</string>
<string name="module_core_people"></string>
<string name="module_core_bicycle">自行车</string>
<string name="module_core_ta_che">他车</string>
<string name="module_core_moto">摩托</string>
<string name="module_core_bus">大巴</string>
<string name="module_core_truck">卡车</string>
<string name="module_core_camera">摄像头</string>
<string name="module_core_special_vehicle">特殊车辆</string>
<string name="module_core_cone">三角锥</string>
<string name="module_core_luce_ta_che">路侧他车</string>
<string name="module_core_luce_bus">路侧大巴</string>
<string name="module_core_luce_truck">路侧卡车</string>
<string name="module_core_ta_che_retrograde">他车逆行</string>
<string name="module_core_people_cross">行人横穿</string>
<string name="module_core_alert_warning_non">关闭红色边框预警</string>
<string name="module_core_alert_warning_top">正前方</string>
<string name="module_core_alert_warning_right">正右边</string>
<string name="module_core_alert_warning_bottom">正后方</string>
<string name="module_core_alert_warning_left">正左方</string>
<string name="module_core_alert_warning_all">周边</string>
<string name="module_core_unknown_road">未知道路</string>
<string name="module_core_age_unknown">未设置</string>
<string name="module_core_age_00">00后</string>
<string name="module_core_age_10">10后</string>
<string name="module_core_age_20">20后</string>
<string name="module_core_age_30">30后</string>
<string name="module_core_age_40">40后</string>
<string name="module_core_age_50">50后</string>
<string name="module_core_age_60">60后</string>
<string name="module_core_age_70">70后</string>
<string name="module_core_age_80">80后</string>
<string name="module_core_age_90">90后</string>
<string name="module_core_gender_unknown">未设置</string>
<string name="module_core_gender_men"></string>
<string name="module_core_gender_women"></string>
<string name="module_core_user_name_unknown">用户未设置昵称</string>
<string name="module_core_say_confirm_to_view_live_situation">,查看实况请说确定。</string>
<string name="module_core_please_note_to_avoid">,请注意躲避。</string>
<string name="module_core_detect_nearby">检测到附近</string>
<string name="module_core_confirm_information">,确认该信息是否正确?您可以说“正确”或“错误”帮助其他车友。</string>
<string name="module_core_recovery_strategy">恢复策略</string>
<string name="module_core_manual_processing">人工处理</string>
<string name="module_core_need_parallel_derving_takeover_action">请求平行驾驶,请注意随时接管</string>
<string name="module_core_need_parallel_derving_takeover_action_desc">如Planing出站时规划失败</string>
<string name="module_core_need_mannual_derving_action">请求人工驾驶接管</string>
<string name="module_core_need_mannual_derving_action_desc">如Planing规划失败且存在弱网判断</string>
<string name="module_core_need_restart_system_action">请进行系统软重启</string>
<string name="module_core_need_restart_system_action_desc">如检测到出现多个节点崩溃</string>
<string name="module_core_must_vehicle_power_reset_action">请进行整车下电重启</string>
<string name="module_core_must_vehicle_power_reset_action_desc">如底盘无数据,需要下电重启</string>
<string name="module_core_contact_hardware_engineer_action">请联系硬件工程师</string>
<string name="module_core_contact_hardware_engineer_action_desc">硬件接线,域控启动等故障</string>
<string name="module_core_contact_operations_engineer_action">请联系运维工程师</string>
<string name="module_core_contact_operations_engineer_action_desc">系统配置不对,网络等故障</string>
<string name="module_core_contact_software_engineer_action">请联系软件工程师</string>
<string name="module_core_contact_software_engineer_action_desc">节点挂掉,无法启动等故障</string>
<string name="module_core_no_suggested_operations_available">暂无建议操作</string>
<string name="module_core_no_suggested_operations_available1">暂无建议操作,请视实际情况注意接管</string>
<string name="module_core_function_impact">功能影响</string>
<string name="module_core_driving_impact">驾驶影响</string>
<string name="module_core_safety_impact">安全影响</string>
<string name="module_core_unable_job">无法作业</string>
<string name="module_core_unable_operation">无法开放运营</string>
<string name="module_core_unable_parallel_drive">无法平行驾驶</string>
<string name="module_core_unable_auto_drive">无法自动驾驶</string>
<string name="module_core_unable_manual_drive">无法手动驾驶</string>
<string name="module_core_unable_strategic_parking">失控,无法策略停车</string>
<string name="module_core_function_lost_desc">需要禁止作业,如扫盘故障,清扫车无法清扫作业</string>
<string name="module_core_forbid_open_work_desc">需要禁止运营,如安全带故障,可以自驾,不能载人</string>
<string name="module_core_forbid_parallel_derving_desc">需要禁止平行驾驶</string>
<string name="module_core_forbid_autopilot_derving_desc">需要禁止自驾</string>
<string name="module_core_forbid_mannual_derving_desc">需要禁止行车,如底盘存在故障,需要通知出来</string>
<string name="module_core_out_of_control_desc">需要立即紧急通知到人车辆失控如驾驶中controller挂掉发送102重启</string>
<string name="module_core_no_available">暂无</string>
<string name="module_core_fm_dp_no_action">报告</string>
<string name="module_core_fm_dp_only_warning">警示</string>
<string name="module_core_fm_dp_speed_limit1">一级降速</string>
<string name="module_core_fm_dp_speed_limit2">二级降速</string>
<string name="module_core_fm_dp_speed_limit3">三级降速</string>
<string name="module_core_fm_dp_comfortable_stop">择机靠边停车</string>
<string name="module_core_fm_dp_pnc_choose_stop">立刻舒适停车</string>
<string name="module_core_fm_dp_emergency_stop">就地紧急停车</string>
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="_content"></string>-->
<!-- <string name="_tts"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="_content"></string>-->
<!-- <string name="_tts"></string>-->
<!-- <string name="module_core_"></string>-->
<!-- <string name="_content"></string>-->
<!-- <string name="_tts"></string>-->
</resources>