[8.2.8][i18n] 所有吐司 中文抽取

This commit is contained in:
xinfengkun
2025-11-12 19:35:55 +08:00
parent 08a5352df5
commit 8f6e8de77e
119 changed files with 1217 additions and 430 deletions

View File

@@ -40,6 +40,7 @@ import com.mogo.eagle.core.function.call.map.CallerMapRomaListener
import com.mogo.eagle.core.function.call.map.CallerMapRomaListener.invokeRomaViewStatus
import com.mogo.eagle.core.function.call.map.CallerMapUIServiceManager
import com.mogo.eagle.core.function.call.map.CallerVisualAngleManager
import com.mogo.eagle.core.function.map.R
import com.mogo.eagle.core.function.utils.MapRomaTrace
import com.mogo.eagle.core.function.utils.MapRomaTrace.Companion.getCurrentCNode
import com.mogo.eagle.core.utilcode.mogo.logger.Logger
@@ -117,7 +118,8 @@ class RomaManager() : IMoGoPlanningRottingListener,
)
Logger.d(TAG, "H_ERROR_MAP msg=地图漫游模式启动失败,原因:${it.obj}")
if (DebugConfig.isDebug()) {
ToastUtils.showShort("进入漫游模式失败, code:${it.obj}")
// ToastUtils.showShort("进入漫游模式失败, code:${it.obj}")
ToastUtils.showShort(R.string.module_mogo_core_function_map_roam_starting_fail, "${it.obj}")
}
}
true
@@ -127,7 +129,8 @@ class RomaManager() : IMoGoPlanningRottingListener,
if (CallerMapIdentifyManager.roam.first.isNotEmpty()
&& CallerMapIdentifyManager.roam.first!= TAG
&& CallerMapIdentifyManager.roam.second) {
ToastUtils.showLong("正在展示路口漫游,请稍后重试")
// ToastUtils.showLong("正在展示路口漫游,请稍后重试")
ToastUtils.showLong(R.string.module_mogo_core_function_map_crossing_roam)
MapRomaTrace.log(
"",
CHAIN_CODE_ROMA_REJECT,
@@ -240,7 +243,8 @@ class RomaManager() : IMoGoPlanningRottingListener,
CallerMapRomaListener.invokeMapRoma(false)
CallerMapIdentifyManager.updateRoam("", false)
if (DebugConfig.isDebug()) {
ToastUtils.showShort("漫游请求异常msg:$errorMsg")
// ToastUtils.showShort("漫游请求异常msg:$errorMsg")
ToastUtils.showShort(R.string.module_mogo_core_function_roam_fail, errorMsg)
}
return
}

View File

@@ -208,7 +208,8 @@ class RoadCrossRoamView @JvmOverloads constructor(
// 处于漫游模式下不做处理
if (CallerMapIdentifyManager.roam.second) {
if (CallerMapIdentifyManager.roam.first != TAG) {
ToastUtils.showLong("正在漫游中,不展示路口漫游")
// ToastUtils.showLong("正在漫游中,不展示路口漫游")
ToastUtils.showLong(R.string.module_mogo_core_function_roam_now)
}
CallerLogger.d("$M_MAP$TAG", "正在漫游中,不展示路口漫游")
return