pull/1625/head
kunfei 3 years ago
parent 02daa1a525
commit b427666f08
  1. 11
      app/src/main/java/io/legado/app/ui/document/HandleFileActivity.kt
  2. 1
      app/src/main/res/values-es-rES/strings.xml
  3. 1
      app/src/main/res/values-ja-rJP/strings.xml
  4. 1
      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

@ -97,7 +97,16 @@ class HandleFileActivity :
)
}
}
HandleFileContract.FILE -> selectDoc.launch(typesOfExtensions(allowExtensions))
HandleFileContract.FILE -> kotlin.runCatching {
selectDoc.launch(typesOfExtensions(allowExtensions))
}.onFailure {
toastOnUi(R.string.open_sys_dir_picker_error)
FilePickerDialog.show(
supportFragmentManager,
mode = HandleFileContract.FILE,
allowExtensions = allowExtensions
)
}
10 -> checkPermissions {
FilePickerDialog.show(
supportFragmentManager,

@ -911,6 +911,7 @@
<string name="tts_speech_reduce">语速减</string>
<string name="tts_speech_add">语速加</string>
<string name="open_sys_dir_picker_error">打开系统文件夹选择器出错,自动打开应用文件夹选择器</string>
<string name="open_sys_doc_picker_error">打开系统文件选择器出错,自动打开应用文件选择器</string>
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>

@ -914,6 +914,7 @@
<string name="tts_speech_reduce">语速减</string>
<string name="tts_speech_add">语速加</string>
<string name="open_sys_dir_picker_error">打开系统文件夹选择器出错,自动打开应用文件夹选择器</string>
<string name="open_sys_doc_picker_error">打开系统文件选择器出错,自动打开应用文件选择器</string>
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>

@ -912,6 +912,7 @@
<string name="tts_speech_reduce">语速减</string>
<string name="tts_speech_add">语速加</string>
<string name="open_sys_dir_picker_error">打开系统文件夹选择器出错,自动打开应用文件夹选择器</string>
<string name="open_sys_doc_picker_error">打开系统文件选择器出错,自动打开应用文件选择器</string>
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>

@ -911,6 +911,7 @@
<string name="tts_speech_reduce">語速减</string>
<string name="tts_speech_add">語速加</string>
<string name="open_sys_dir_picker_error">打开系统文件夹选择器出错,自动打开应用文件夹选择器</string>
<string name="open_sys_doc_picker_error">打开系统文件选择器出错,自动打开应用文件选择器</string>
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>

@ -911,6 +911,7 @@
<string name="tts_speech_reduce">語速減</string>
<string name="tts_speech_add">語速加</string>
<string name="open_sys_dir_picker_error">打開系統資料夾選擇器出錯,自動打開應用程式資料夾選擇器</string>
<string name="open_sys_doc_picker_error">打开系统文件选择器出错,自动打开应用文件选择器</string>
<string name="expand_text_menu">展開文字選擇選單</string>
<string name="search_content_size">搜尋結果</string>
<string name="search_content_empty">搜尋結果为空</string>

@ -913,6 +913,7 @@
<string name="tts_speech_reduce">语速减</string>
<string name="tts_speech_add">语速加</string>
<string name="open_sys_dir_picker_error">打开系统文件夹选择器出错,自动打开应用文件夹选择器</string>
<string name="open_sys_doc_picker_error">打开系统文件选择器出错,自动打开应用文件选择器</string>
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>

@ -914,6 +914,7 @@
<string name="tts_speech_reduce">语速减</string>
<string name="tts_speech_add">语速加</string>
<string name="open_sys_dir_picker_error">打开系统文件夹选择器出错,自动打开应用文件夹选择器</string>
<string name="open_sys_doc_picker_error">打开系统文件选择器出错,自动打开应用文件选择器</string>
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>

Loading…
Cancel
Save