[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

@@ -166,7 +166,8 @@ public class PadTTS implements IMogoTTS, VoiceClient.VoiceCmdCallBack {
initDUILiteSDK(onlineBuilder, echoConfig);
} catch (Exception e) {
e.printStackTrace();
ToastUtils.showShort("PadTTS 模块初始化异常");
// ToastUtils.showShort("PadTTS 模块初始化异常");
ToastUtils.showShort(R.string.module_tts_init_fail);
}
}

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="module_tts_init_fail">PadTTS 模块初始化异常</string>
</resources>

View File

@@ -66,7 +66,8 @@ public class ZhiTTS implements IMogoTTS, OnTtsListener {
if(initStatus.get()){
ActionExecutor.getInstance().action("mos.action.config.trigger", null);
}else {
ToastUtils.showShort("请稍后在试试吧");
// ToastUtils.showShort("请稍后在试试吧");
ToastUtils.showShort(R.string.please_later_again);
}
}

View File

@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="product_id">278586132</string>
<string name="please_later_again">请稍后在试试吧</string>
</resources>