添加单独设置书籍tts

pull/1604/head
kunfei 3 years ago
parent a5d64f9425
commit 7cd8bfa9b4
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/config/SpeakEngineDialog.kt
  2. 1
      app/src/main/res/values-es-rES/strings.xml
  3. 1
      app/src/main/res/values-ja-rJP/strings.xml
  4. 3
      app/src/main/res/values-pt-rBR/strings.xml
  5. 1
      app/src/main/res/values-zh-rHK/strings.xml
  6. 1
      app/src/main/res/values-zh-rTW/strings.xml
  7. 1
      app/src/main/res/values-zh/strings.xml
  8. 1
      app/src/main/res/values/strings.xml

@ -106,6 +106,7 @@ class SpeakEngineDialog : BaseDialogFragment(R.layout.dialog_recycler_view),
ReadBook.book?.setTtsEngine(ttsEngine) ReadBook.book?.setTtsEngine(ttsEngine)
dismissAllowingStateLoss() dismissAllowingStateLoss()
} }
tvOk.setText(R.string.general)
tvOk.visible() tvOk.visible()
tvOk.setOnClickListener { tvOk.setOnClickListener {
ReadBook.book?.setTtsEngine(null) ReadBook.book?.setTtsEngine(null)

@ -928,5 +928,6 @@
<string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string> <string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string>
<string name="record_debug_log">记录调试日志</string> <string name="record_debug_log">记录调试日志</string>
<string name="sub_dir">子文件夹</string> <string name="sub_dir">子文件夹</string>
<string name="general">全局</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -931,5 +931,6 @@
<string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string> <string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string>
<string name="record_debug_log">记录调试日志</string> <string name="record_debug_log">记录调试日志</string>
<string name="sub_dir">子文件夹</string> <string name="sub_dir">子文件夹</string>
<string name="general">全局</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -918,6 +918,8 @@
<string name="select_book_folder">选择保存书籍的文件夹</string> <string name="select_book_folder">选择保存书籍的文件夹</string>
<string name="user_agent">用户代理</string> <string name="user_agent">用户代理</string>
<string name="bg_alpha">背景透明度</string> <string name="bg_alpha">背景透明度</string>
<string name="limit_content_length">限制正文长度</string>
<string name="need_more_time_load_content">正文长度过长时,加载正文可能会花费更多时间</string>
<!-- check source config string --> <!-- check source config string -->
<string name="check_source_config">校验设置</string> <string name="check_source_config">校验设置</string>
@ -929,5 +931,6 @@
<string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string> <string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string>
<string name="record_debug_log">记录调试日志</string> <string name="record_debug_log">记录调试日志</string>
<string name="sub_dir">子文件夹</string> <string name="sub_dir">子文件夹</string>
<string name="general">全局</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -928,5 +928,6 @@
<string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string> <string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string>
<string name="record_debug_log">记录调试日志</string> <string name="record_debug_log">记录调试日志</string>
<string name="sub_dir">子文件夹</string> <string name="sub_dir">子文件夹</string>
<string name="general">全局</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -930,5 +930,6 @@
<string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string> <string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string>
<string name="record_debug_log">记录调试日志</string> <string name="record_debug_log">记录调试日志</string>
<string name="sub_dir">子文件夹</string> <string name="sub_dir">子文件夹</string>
<string name="general">全局</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -930,5 +930,6 @@
<string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string> <string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string>
<string name="record_debug_log">记录调试日志</string> <string name="record_debug_log">记录调试日志</string>
<string name="sub_dir">子文件夹</string> <string name="sub_dir">子文件夹</string>
<string name="general">全局</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

@ -931,5 +931,6 @@
<string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string> <string name="check_source_config_summary">校验超时: %1$s秒\n校验项目:%2$s</string>
<string name="record_debug_log">记录调试日志</string> <string name="record_debug_log">记录调试日志</string>
<string name="sub_dir">Sub dir</string> <string name="sub_dir">Sub dir</string>
<string name="general">全局</string>
<!-- string end --> <!-- string end -->
</resources> </resources>

Loading…
Cancel
Save