[8.2.8][i18n] data center 中文抽取
This commit is contained in:
@@ -53,6 +53,7 @@ import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_
|
|||||||
import com.mogo.eagle.core.utilcode.util.DeviceUtils
|
import com.mogo.eagle.core.utilcode.util.DeviceUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.GsonUtils
|
import com.mogo.eagle.core.utilcode.util.GsonUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.ParseVersionUtils
|
import com.mogo.eagle.core.utilcode.util.ParseVersionUtils
|
||||||
|
import com.mogo.eagle.core.utilcode.util.StringUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.ThreadUtils
|
import com.mogo.eagle.core.utilcode.util.ThreadUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
||||||
@@ -172,7 +173,8 @@ class MoGoAutopilotControlProvider :
|
|||||||
msgHandler.synMsgToAllClients()
|
msgHandler.synMsgToAllClients()
|
||||||
}
|
}
|
||||||
}, 1000, 10000)
|
}, 1000, 10000)
|
||||||
invokeNettyConnResult("司机端服务启动成功!")
|
// invokeNettyConnResult("司机端服务启动成功!")
|
||||||
|
invokeNettyConnResult(StringUtils.getString(R.string.module_mogo_core_function_datacenter_driver_service_started_successfully))
|
||||||
CallerTelematicStatusListenerManager.invokeServerStatusChanged(true)
|
CallerTelematicStatusListenerManager.invokeServerStatusChanged(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -181,7 +183,8 @@ class MoGoAutopilotControlProvider :
|
|||||||
ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_driver_service_stop)
|
ToastUtils.showLong(R.string.module_mogo_core_function_datacenter_driver_service_stop)
|
||||||
timer?.cancel()
|
timer?.cancel()
|
||||||
timer = null
|
timer = null
|
||||||
invokeNettyConnResult("司机端服务停止!")
|
// invokeNettyConnResult("司机端服务停止!")
|
||||||
|
invokeNettyConnResult(StringUtils.getString(R.string.module_mogo_core_function_datacenter_driver_service_stop))
|
||||||
CallerTelematicStatusListenerManager.invokeServerStatusChanged(false)
|
CallerTelematicStatusListenerManager.invokeServerStatusChanged(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,7 +198,8 @@ class MoGoAutopilotControlProvider :
|
|||||||
|
|
||||||
override fun onReceiveClientSign(channel: Channel?, sn: String?) {
|
override fun onReceiveClientSign(channel: Channel?, sn: String?) {
|
||||||
sn?.let {
|
sn?.let {
|
||||||
invokeNettyConnResult("连接成功的乘客屏sn为:$it")
|
// invokeNettyConnResult("连接成功的乘客屏sn为:$it")
|
||||||
|
invokeNettyConnResult("${StringUtils.getString(R.string.module_core_connected_passenger_sn)}$it")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, SharedPrefsMgr.getInstance().sn)
|
}, SharedPrefsMgr.getInstance().sn)
|
||||||
@@ -1198,7 +1202,8 @@ class MoGoAutopilotControlProvider :
|
|||||||
carConfigResp.macAddress,
|
carConfigResp.macAddress,
|
||||||
SharedPrefsMgr.getInstance().sn
|
SharedPrefsMgr.getInstance().sn
|
||||||
)
|
)
|
||||||
invokeNettyConnResult("乘客屏车牌号:${carConfigResp.plateNumber},Mac地址为:${carConfigResp.macAddress}")
|
// invokeNettyConnResult("乘客屏车牌号:${carConfigResp.plateNumber},Mac地址为:${carConfigResp.macAddress}")
|
||||||
|
invokeNettyConnResult("${StringUtils.getString(R.string.module_core_passenger_plate)}${carConfigResp.plateNumber},${StringUtils.getString(R.string.module_core_mac_address)}${carConfigResp.macAddress}")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (carConfigResp.dockVersion.isNotEmpty() && !isRainModeInit) {
|
if (carConfigResp.dockVersion.isNotEmpty() && !isRainModeInit) {
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
|||||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||||
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_D_C
|
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_D_C
|
||||||
import com.mogo.eagle.core.utilcode.util.AppUtils
|
import com.mogo.eagle.core.utilcode.util.AppUtils
|
||||||
|
import com.mogo.eagle.core.utilcode.util.StringUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
||||||
import com.zhidao.support.adas.high.AdasManager
|
import com.zhidao.support.adas.high.AdasManager
|
||||||
import com.zhidao.support.adas.high.OnAdasConnectStatusListener
|
import com.zhidao.support.adas.high.OnAdasConnectStatusListener
|
||||||
@@ -365,27 +366,35 @@ class MoGoAdasMsgConnectStatusListenerImpl :
|
|||||||
|
|
||||||
AdasConstants.IpcConnectionStatus.DISCONNECTED -> {
|
AdasConstants.IpcConnectionStatus.DISCONNECTED -> {
|
||||||
if (isFirstDisconnected) {
|
if (isFirstDisconnected) {
|
||||||
title = "连接异常"
|
// title = "连接异常"
|
||||||
content = "域控未连接或主动断开连接"
|
title = StringUtils.getString(R.string.module_core_msg_box_connection_error)
|
||||||
|
// content = "域控未连接或主动断开连接"
|
||||||
|
content = StringUtils.getString(R.string.module_core_msg_box_connection_error_desc)
|
||||||
isFirstDisconnected = false
|
isFirstDisconnected = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AdasConstants.IpcConnectionStatus.CONNECT_EXCEPTION -> {
|
AdasConstants.IpcConnectionStatus.CONNECT_EXCEPTION -> {
|
||||||
title = "域控连接异常"
|
// title = "域控连接异常"
|
||||||
content = "建议检查WiFi连接情况及域控是否开机"
|
title = StringUtils.getString(R.string.module_core_msg_box_ipc_connection_error)
|
||||||
|
// content = "建议检查WiFi连接情况及域控是否开机"
|
||||||
|
content = StringUtils.getString(R.string.module_core_msg_box_ipc_connection_error_desc)
|
||||||
}
|
}
|
||||||
|
|
||||||
AdasConstants.IpcConnectionStatus.NOT_FOUND_ADDRESS -> {
|
AdasConstants.IpcConnectionStatus.NOT_FOUND_ADDRESS -> {
|
||||||
if (isFirstException) {
|
if (isFirstException) {
|
||||||
title = "找不到域控可用地址"
|
// title = "找不到域控可用地址"
|
||||||
content = "建议检查车载路由器及域控是否开机"
|
title = StringUtils.getString(R.string.module_core_msg_box_not_find_address)
|
||||||
|
// content = "建议检查车载路由器及域控是否开机"
|
||||||
|
content = StringUtils.getString(R.string.module_core_msg_box_not_find_address_desc)
|
||||||
isFirstException = false
|
isFirstException = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AdasConstants.IpcConnectionStatus.HEARTBEAT_TIMEOUT -> {
|
AdasConstants.IpcConnectionStatus.HEARTBEAT_TIMEOUT -> {
|
||||||
title = "域控心跳超时"
|
// title = "域控心跳超时"
|
||||||
content = "建议检查车载路由器连接是否正常"
|
title = StringUtils.getString(R.string.module_core_msg_box_ipc_heartbeat_timeout)
|
||||||
|
// content = "建议检查车载路由器连接是否正常"
|
||||||
|
content = StringUtils.getString(R.string.module_core_msg_box_ipc_heartbeat_timeout_desc)
|
||||||
}
|
}
|
||||||
|
|
||||||
else -> {}
|
else -> {}
|
||||||
|
|||||||
@@ -21,11 +21,13 @@ import com.mogo.eagle.core.function.call.map.*
|
|||||||
import com.mogo.eagle.core.function.call.obu.*
|
import com.mogo.eagle.core.function.call.obu.*
|
||||||
import com.mogo.eagle.core.function.call.v2x.CallerLimitingVelocityListenerManager
|
import com.mogo.eagle.core.function.call.v2x.CallerLimitingVelocityListenerManager
|
||||||
import com.mogo.eagle.core.function.call.v2x.CallerTrafficLightListenerManager
|
import com.mogo.eagle.core.function.call.v2x.CallerTrafficLightListenerManager
|
||||||
|
import com.mogo.eagle.core.function.datacenter.R
|
||||||
import com.mogo.eagle.core.function.datacenter.obu.drawer.*
|
import com.mogo.eagle.core.function.datacenter.obu.drawer.*
|
||||||
import com.mogo.eagle.core.function.datacenter.obu.utils.TrafficDataConvertUtilsNew
|
import com.mogo.eagle.core.function.datacenter.obu.utils.TrafficDataConvertUtilsNew
|
||||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||||
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_OBU
|
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_OBU
|
||||||
import com.mogo.eagle.core.utilcode.util.ConvertUtils
|
import com.mogo.eagle.core.utilcode.util.ConvertUtils
|
||||||
|
import com.mogo.eagle.core.utilcode.util.StringUtils
|
||||||
import com.mogo.support.obu.ObuScene
|
import com.mogo.support.obu.ObuScene
|
||||||
import com.zhidao.support.obu.constants.MogoObuShowConstants
|
import com.zhidao.support.obu.constants.MogoObuShowConstants
|
||||||
import kotlin.math.roundToInt
|
import kotlin.math.roundToInt
|
||||||
@@ -629,11 +631,14 @@ class MogoObuDcCombineManager private constructor() : IMoGoObuWarningRsiListener
|
|||||||
if (currentSpeed > 0) {
|
if (currentSpeed > 0) {
|
||||||
ttsContentNew =
|
ttsContentNew =
|
||||||
if ((currentSpeed * 3.6).roundToInt() in (minSpeedTemp + 1) until maxSpeedTemp) {
|
if ((currentSpeed * 3.6).roundToInt() in (minSpeedTemp + 1) until maxSpeedTemp) {
|
||||||
"建议保持当前车速通过路口"
|
// "建议保持当前车速通过路口"
|
||||||
|
StringUtils.getString(R.string.module_core_suggest_keep_current_speed_pass_intersection)
|
||||||
} else {
|
} else {
|
||||||
"推荐保持车速10-30KM/H通过路口"
|
// "推荐保持车速10-30KM/H通过路口"
|
||||||
|
StringUtils.getString(R.string.module_core_suggest_keep_speed_10_30kmh_pass_intersection)
|
||||||
}
|
}
|
||||||
alertContentNew = "推荐车速$minSpeedTemp - $maxSpeedTemp KM/H"
|
// alertContentNew = "推荐车速$minSpeedTemp - $maxSpeedTemp KM/H"
|
||||||
|
alertContentNew = "${StringUtils.getString(R.string.module_core_suggest_speed)}$minSpeedTemp - $maxSpeedTemp KM/H"
|
||||||
}
|
}
|
||||||
saveObuToDcData(
|
saveObuToDcData(
|
||||||
EventTypeEnumNew.TYPE_USECASE_ID_IVP_GREEN.poiType,
|
EventTypeEnumNew.TYPE_USECASE_ID_IVP_GREEN.poiType,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import com.mogo.eagle.core.function.call.map.CallerVisualAngleManager
|
|||||||
import com.mogo.eagle.core.function.call.obu.*
|
import com.mogo.eagle.core.function.call.obu.*
|
||||||
import com.mogo.eagle.core.function.call.v2x.CallerLimitingVelocityListenerManager
|
import com.mogo.eagle.core.function.call.v2x.CallerLimitingVelocityListenerManager
|
||||||
import com.mogo.eagle.core.function.call.v2x.CallerTrafficLightListenerManager
|
import com.mogo.eagle.core.function.call.v2x.CallerTrafficLightListenerManager
|
||||||
|
import com.mogo.eagle.core.function.datacenter.R
|
||||||
import com.mogo.eagle.core.function.datacenter.obu.drawer.*
|
import com.mogo.eagle.core.function.datacenter.obu.drawer.*
|
||||||
import com.mogo.eagle.core.function.datacenter.obu.utils.TrafficDataConvertUtilsNew
|
import com.mogo.eagle.core.function.datacenter.obu.utils.TrafficDataConvertUtilsNew
|
||||||
import com.mogo.eagle.core.utilcode.download.Config
|
import com.mogo.eagle.core.utilcode.download.Config
|
||||||
@@ -24,6 +25,7 @@ import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
|||||||
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_OBU
|
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_OBU
|
||||||
import com.mogo.eagle.core.utilcode.util.ConvertUtils
|
import com.mogo.eagle.core.utilcode.util.ConvertUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.FileUtils
|
import com.mogo.eagle.core.utilcode.util.FileUtils
|
||||||
|
import com.mogo.eagle.core.utilcode.util.StringUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
||||||
import com.mogo.support.obu.ObuBase
|
import com.mogo.support.obu.ObuBase
|
||||||
import com.mogo.support.obu.ObuScene
|
import com.mogo.support.obu.ObuScene
|
||||||
@@ -817,8 +819,10 @@ class MogoPrivateObuNewManager private constructor() : OnUpgradeListener {
|
|||||||
//前向碰撞预警
|
//前向碰撞预警
|
||||||
MogoObuShowConstants.V2X_WARNING_TYPE.FCW.toString() -> {
|
MogoObuShowConstants.V2X_WARNING_TYPE.FCW.toString() -> {
|
||||||
if (FunctionBuildConfig.isObuWarningFusionUnion && level == 3) {
|
if (FunctionBuildConfig.isObuWarningFusionUnion && level == 3) {
|
||||||
alertContent = "前车距离过近"
|
// alertContent = "前车距离过近"
|
||||||
ttsContent = "前车距离过近"
|
alertContent = StringUtils.getString(R.string.module_core_warning_vehicle_ahead_distance_too_close)
|
||||||
|
// ttsContent = "前车距离过近"
|
||||||
|
ttsContent = alertContent
|
||||||
} else {
|
} else {
|
||||||
alertContent =
|
alertContent =
|
||||||
EventTypeEnumNew.getWarningContent(EventTypeEnumNew.TYPE_USECASE_ID_FCW.poiType)
|
EventTypeEnumNew.getWarningContent(EventTypeEnumNew.TYPE_USECASE_ID_FCW.poiType)
|
||||||
@@ -858,18 +862,24 @@ class MogoPrivateObuNewManager private constructor() : OnUpgradeListener {
|
|||||||
direction == WarningDirectionEnum.ALERT_WARNING_TOP_LEFT ||
|
direction == WarningDirectionEnum.ALERT_WARNING_TOP_LEFT ||
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_LEFT
|
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_LEFT
|
||||||
) { //左后
|
) { //左后
|
||||||
ttsContent = String.format(ttsContent, "左")
|
// ttsContent = String.format(ttsContent, "左")
|
||||||
alertContent = String.format(alertContent, "左")
|
ttsContent = String.format(ttsContent, StringUtils.getString(R.string.module_core_left))
|
||||||
|
// alertContent = String.format(alertContent, "左")
|
||||||
|
alertContent = String.format(alertContent, StringUtils.getString(R.string.module_core_left))
|
||||||
} else if (
|
} else if (
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_RIGHT ||
|
direction == WarningDirectionEnum.ALERT_WARNING_RIGHT ||
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_TOP_RIGHT ||
|
direction == WarningDirectionEnum.ALERT_WARNING_TOP_RIGHT ||
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_RIGHT
|
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_RIGHT
|
||||||
) { //右后
|
) { //右后
|
||||||
ttsContent = String.format(ttsContent, "右")
|
// ttsContent = String.format(ttsContent, "右")
|
||||||
alertContent = String.format(alertContent, "右")
|
ttsContent = String.format(ttsContent, StringUtils.getString(R.string.module_core_right))
|
||||||
|
// alertContent = String.format(alertContent, "右")
|
||||||
|
alertContent = String.format(alertContent, StringUtils.getString(R.string.module_core_right))
|
||||||
} else{
|
} else{
|
||||||
ttsContent = "注意周围车辆"
|
// ttsContent = "注意周围车辆"
|
||||||
alertContent = "盲区预警"
|
ttsContent = StringUtils.getString(R.string.module_core_warning_pay_attention_to_surrounding_vehicles)
|
||||||
|
// alertContent = "盲区预警"
|
||||||
|
alertContent = StringUtils.getString(R.string.module_core_warning_blind_spot)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -885,15 +895,19 @@ class MogoPrivateObuNewManager private constructor() : OnUpgradeListener {
|
|||||||
direction == WarningDirectionEnum.ALERT_WARNING_TOP_LEFT ||
|
direction == WarningDirectionEnum.ALERT_WARNING_TOP_LEFT ||
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_LEFT
|
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_LEFT
|
||||||
) {
|
) {
|
||||||
ttsContent = String.format(ttsContent, "左")
|
// ttsContent = String.format(ttsContent, "左")
|
||||||
alertContent = String.format(alertContent, "左")
|
ttsContent = String.format(ttsContent, StringUtils.getString(R.string.module_core_left))
|
||||||
|
// alertContent = String.format(alertContent, "左")
|
||||||
|
alertContent = String.format(alertContent, StringUtils.getString(R.string.module_core_left))
|
||||||
} else if (
|
} else if (
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_RIGHT ||
|
direction == WarningDirectionEnum.ALERT_WARNING_RIGHT ||
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_TOP_RIGHT ||
|
direction == WarningDirectionEnum.ALERT_WARNING_TOP_RIGHT ||
|
||||||
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_RIGHT
|
direction == WarningDirectionEnum.ALERT_WARNING_BOTTOM_RIGHT
|
||||||
) {
|
) {
|
||||||
ttsContent = String.format(ttsContent, "右")
|
// ttsContent = String.format(ttsContent, "右")
|
||||||
alertContent = String.format(alertContent, "右")
|
ttsContent = String.format(ttsContent, StringUtils.getString(R.string.module_core_right))
|
||||||
|
// alertContent = String.format(alertContent, "右")
|
||||||
|
alertContent = String.format(alertContent, StringUtils.getString(R.string.module_core_right))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1111,11 +1125,14 @@ class MogoPrivateObuNewManager private constructor() : OnUpgradeListener {
|
|||||||
if (currentSpeed > 0) {
|
if (currentSpeed > 0) {
|
||||||
ttsContentNew =
|
ttsContentNew =
|
||||||
if ((currentSpeed * 3.6).roundToInt() in (minSpeedTemp + 1) until maxSpeedTemp) {
|
if ((currentSpeed * 3.6).roundToInt() in (minSpeedTemp + 1) until maxSpeedTemp) {
|
||||||
"建议保持当前车速通过路口"
|
// "建议保持当前车速通过路口"
|
||||||
|
StringUtils.getString(R.string.module_core_suggest_keep_current_speed_pass_intersection)
|
||||||
} else {
|
} else {
|
||||||
"推荐保持车速10-30KM/H通过路口"
|
// "推荐保持车速10-30KM/H通过路口"
|
||||||
|
StringUtils.getString(R.string.module_core_suggest_keep_speed_10_30kmh_pass_intersection)
|
||||||
}
|
}
|
||||||
alertContentNew = "推荐车速$minSpeedTemp - $maxSpeedTemp KM/H"
|
// alertContentNew = "推荐车速$minSpeedTemp - $maxSpeedTemp KM/H"
|
||||||
|
alertContentNew = "${StringUtils.getString(R.string.module_core_suggest_speed)}$minSpeedTemp - $maxSpeedTemp KM/H"
|
||||||
}
|
}
|
||||||
saveObuData(
|
saveObuData(
|
||||||
EventTypeEnumNew.TYPE_USECASE_ID_IVP_GREEN.poiType,
|
EventTypeEnumNew.TYPE_USECASE_ID_IVP_GREEN.poiType,
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
|||||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||||
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
|
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
|
||||||
import com.mogo.eagle.core.utilcode.util.GsonUtils
|
import com.mogo.eagle.core.utilcode.util.GsonUtils
|
||||||
|
import com.mogo.eagle.core.utilcode.util.StringUtils
|
||||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
||||||
import com.mogo.skin.utils.SkinResources
|
import com.mogo.skin.utils.SkinResources
|
||||||
import com.zhjt.mogo.adas.common.cloud.AstFuncTlmPhaseStateLightState
|
import com.zhjt.mogo.adas.common.cloud.AstFuncTlmPhaseStateLightState
|
||||||
@@ -246,7 +247,8 @@ class TrafficLightDispatcher : IMoGoAutopilotIdentifyListener, IMoGoTrafficLight
|
|||||||
if((light.state == FusionTrafficLightOuterClass.FusionLightState.STATE_YELLOW_FUSION || light.state ==FusionTrafficLightOuterClass.FusionLightState.STATE_RED_FUSION)
|
if((light.state == FusionTrafficLightOuterClass.FusionLightState.STATE_YELLOW_FUSION || light.state ==FusionTrafficLightOuterClass.FusionLightState.STATE_RED_FUSION)
|
||||||
&& light.duration < 5 && light.nextState == FusionTrafficLightOuterClass.FusionLightState.STATE_GREEN_FUSION){
|
&& light.duration < 5 && light.nextState == FusionTrafficLightOuterClass.FusionLightState.STATE_GREEN_FUSION){
|
||||||
//语音播放:红灯即将变绿
|
//语音播放:红灯即将变绿
|
||||||
AIAssist.getInstance(mContext).speakTTSVoiceWithLevel("红灯即将变绿", NEW_LEVEL_2)
|
// AIAssist.getInstance(mContext).speakTTSVoiceWithLevel("红灯即将变绿", NEW_LEVEL_2)
|
||||||
|
AIAssist.getInstance(mContext).speakTTSVoiceWithLevel(StringUtils.getString(R.string.module_core_hint_red_light_about_to_turn_green), NEW_LEVEL_2)
|
||||||
isTurnGreen = true
|
isTurnGreen = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -335,7 +335,6 @@
|
|||||||
<string name="module_och_empty_task">暂无班次</string>
|
<string name="module_och_empty_task">暂无班次</string>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<string name="module_tts_init_fail">PadTTS 模块初始化异常</string>
|
<string name="module_tts_init_fail">PadTTS 模块初始化异常</string>
|
||||||
|
|
||||||
<string name="module_core_ipc_connection_status_connected">域控已连接</string>
|
<string name="module_core_ipc_connection_status_connected">域控已连接</string>
|
||||||
@@ -384,5 +383,55 @@
|
|||||||
<string name="module_core_drive_into_left_lane">驶入左%d车道</string>
|
<string name="module_core_drive_into_left_lane">驶入左%d车道</string>
|
||||||
<string name="module_core_drive_into_right_lane">驶入右%d车道</string>
|
<string name="module_core_drive_into_right_lane">驶入右%d车道</string>
|
||||||
<string name="module_core_drive_into_center_lane">驶入中间车道</string>
|
<string name="module_core_drive_into_center_lane">驶入中间车道</string>
|
||||||
|
<string name="module_core_connected_passenger_sn">连接成功的乘客屏SN为:</string>
|
||||||
|
<string name="module_core_passenger_plate">乘客屏车牌号:</string>
|
||||||
|
<string name="module_core_mac_address">Mac地址为:</string>
|
||||||
|
<!-- <string name="module_core_authentication_not_enabled">未开启认证</string>-->
|
||||||
|
<!-- <string name="module_core_certificate_authentication_timeout">证书认证超时</string>-->
|
||||||
|
<!-- <string name="module_core_successful_verification_ipc_certificate">成功校验域控证书</string>-->
|
||||||
|
<!-- <string name="module_core_get_root_certificate_failed">获取ROOT证书异常</string>-->
|
||||||
|
<!-- <string name="module_core_get_ipc_certificate_failed">获取域控证书异常</string>-->
|
||||||
|
<!-- <string name="module_core_ipc_certificate_verification_failed">域控证书校验失败</string>-->
|
||||||
|
<string name="module_core_msg_box_connection_error">连接异常</string>
|
||||||
|
<string name="module_core_msg_box_connection_error_desc">域控未连接或主动断开连接</string>
|
||||||
|
<string name="module_core_msg_box_ipc_connection_error">域控连接异常</string>
|
||||||
|
<string name="module_core_msg_box_ipc_connection_error_desc">建议检查WiFi连接情况及域控是否开机</string>
|
||||||
|
<string name="module_core_msg_box_not_find_address">找不到域控可用地址</string>
|
||||||
|
<string name="module_core_msg_box_not_find_address_desc">建议检查车载路由器及域控是否开机</string>
|
||||||
|
<string name="module_core_msg_box_ipc_heartbeat_timeout">域控心跳超时</string>
|
||||||
|
<string name="module_core_msg_box_ipc_heartbeat_timeout_desc">建议检查车载路由器连接是否正常</string>
|
||||||
|
<string name="module_core_suggest_keep_current_speed_pass_intersection">建议保持当前车速通过路口</string>
|
||||||
|
<string name="module_core_suggest_keep_speed_10_30kmh_pass_intersection">推荐保持车速10–30KM/H通过路口</string>
|
||||||
|
<string name="module_core_suggest_speed">推荐车速</string>
|
||||||
|
<string name="module_core_warning_vehicle_ahead_distance_too_close">前车距离过近</string>
|
||||||
|
<string name="module_core_left">左</string>
|
||||||
|
<string name="module_core_right">右</string>
|
||||||
|
<string name="module_core_warning_pay_attention_to_surrounding_vehicles">注意周围车辆</string>
|
||||||
|
<string name="module_core_warning_blind_spot">盲区预警</string>
|
||||||
|
<string name="module_core_hint_red_light_about_to_turn_green">红灯即将变绿</string>
|
||||||
|
<string name="module_core_fault_stop_takeover">识别故障即将停车,请注意观察,小心接管</string>
|
||||||
|
<string name="module_core_takeover_restore_vehicle">请接管恢复车辆状态</string>
|
||||||
|
<string name="module_core_bag_record_success">bag录制成功</string>
|
||||||
|
<string name="module_core_bag_record_fail">bag录制失败</string>
|
||||||
|
<string name="module_core_normal">正常</string>
|
||||||
|
<string name="module_core_error">异常</string>
|
||||||
|
<string name="module_core_trace_route_calc">寻迹算路</string>
|
||||||
|
<string name="module_core_cloud_socket">云Socket连接</string>
|
||||||
|
<string name="module_core_time">时间:</string>
|
||||||
|
<!-- <string name="module_core_safety_officer">安全员</string>-->
|
||||||
|
<!-- <string name="module_core_qa_dev">QA、研发</string>-->
|
||||||
|
<!-- <string name="module_core_product">产品、运营、演示</string>-->
|
||||||
|
<string name="module_core_custom">自定义</string>
|
||||||
|
<string name="module_core_selected_bag_count_total">已选%d个包,共</string>
|
||||||
|
<string name="module_core_date">%s月%s日</string>
|
||||||
|
<string name="module_core_update_bag_upload">共计%d个包 (%sG) 已上传%d个包 (%sG) 剩余%d个包 (%sG)</string>
|
||||||
|
<string name="module_core_custom_a">自定义A</string>
|
||||||
|
<string name="module_core_reporting">上报中…</string>
|
||||||
|
<string name="module_core_report">上报</string>
|
||||||
|
<string name="module_core_artificial">人工</string>
|
||||||
|
<string name="module_core_gather">采集</string>
|
||||||
|
<string name="module_core_auto">自动</string>
|
||||||
|
<string name="module_core_recording_failed">录包失败</string>
|
||||||
|
<string name="module_core_reported">已上报</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
Reference in New Issue
Block a user