[8.2.8][i18n] 所有吐司 中文抽取
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
4
tts/tts-pad/src/main/res/values/string.xml
Normal file
4
tts/tts-pad/src/main/res/values/string.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="module_tts_init_fail">PadTTS 模块初始化异常</string>
|
||||
</resources>
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user