pull/1625/head
kunfei 3 years ago
parent bffd93d51f
commit cc0cb1b8e6
  1. 4
      app/src/main/java/io/legado/app/ui/about/AboutFragment.kt
  2. 2
      app/src/main/res/values-es-rES/strings.xml
  3. 2
      app/src/main/res/values-ja-rJP/strings.xml
  4. 2
      app/src/main/res/values-pt-rBR/strings.xml
  5. 2
      app/src/main/res/values-zh-rHK/strings.xml
  6. 2
      app/src/main/res/values-zh-rTW/strings.xml
  7. 2
      app/src/main/res/values-zh/strings.xml
  8. 2
      app/src/main/res/values/strings.xml
  9. 6
      app/src/main/res/xml/about.xml

@ -32,6 +32,9 @@ class AboutFragment : PreferenceFragmentCompat() {
Pair("(QQ群10)812720266", "oW9ksY0sAWUEq0hfM5irN5aOdvKVgMEE")
)
private val qqChannel =
"https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=25d870&from=246610&biz=ka"
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
addPreferencesFromResource(R.xml.about)
findPreference<Preference>("update_log")?.summary =
@ -60,6 +63,7 @@ class AboutFragment : PreferenceFragmentCompat() {
"qq" -> showQqGroups()
"gzGzh" -> requireContext().sendToClip(getString(R.string.legado_gzh))
"crashLog" -> showCrashLogs()
"qqChannel" -> context?.openUrl(qqChannel)
"tg" -> openUrl(R.string.tg_url)
"discord" -> openUrl(R.string.discord_url)
}

@ -932,5 +932,7 @@
<string name="use_replace">使用替换</string>
<string name="scope_title">作用于标题</string>
<string name="scope_content">作用于正文</string>
<string name="qq_channel">QQ频道</string>
<string name="qq_channel_summary">点击加入阅读QQ频道</string>
<!-- string end -->
</resources>

@ -935,5 +935,7 @@
<string name="use_replace">使用替换</string>
<string name="scope_title">作用于标题</string>
<string name="scope_content">作用于正文</string>
<string name="qq_channel">QQ频道</string>
<string name="qq_channel_summary">点击加入阅读QQ频道</string>
<!-- string end -->
</resources>

@ -935,5 +935,7 @@
<string name="use_replace">使用替换</string>
<string name="scope_title">作用于标题</string>
<string name="scope_content">作用于正文</string>
<string name="qq_channel">QQ频道</string>
<string name="qq_channel_summary">点击加入阅读QQ频道</string>
<!-- string end -->
</resources>

@ -932,5 +932,7 @@
<string name="use_replace">使用替换</string>
<string name="scope_title">作用于标题</string>
<string name="scope_content">作用于正文</string>
<string name="qq_channel">QQ频道</string>
<string name="qq_channel_summary">点击加入阅读QQ频道</string>
<!-- string end -->
</resources>

@ -934,5 +934,7 @@
<string name="use_replace">使用替换</string>
<string name="scope_title">作用于标题</string>
<string name="scope_content">作用于正文</string>
<string name="qq_channel">QQ频道</string>
<string name="qq_channel_summary">点击加入阅读QQ频道</string>
<!-- string end -->
</resources>

@ -934,5 +934,7 @@
<string name="use_replace">使用替换</string>
<string name="scope_title">作用于标题</string>
<string name="scope_content">作用于正文</string>
<string name="qq_channel">QQ频道</string>
<string name="qq_channel_summary">点击加入阅读QQ频道</string>
<!-- string end -->
</resources>

@ -935,5 +935,7 @@
<string name="use_replace">Use replace</string>
<string name="scope_title">作用于标题</string>
<string name="scope_content">作用于正文</string>
<string name="qq_channel">QQ频道</string>
<string name="qq_channel_summary">点击加入阅读QQ频道</string>
<!-- string end -->
</resources>

@ -35,6 +35,12 @@
android:title="@string/follow_official_account"
app:iconSpaceReserved="false" />
<io.legado.app.ui.widget.prefs.Preference
android:key="qqChannel"
android:title="@string/qq_channel"
android:summary="@string/qq_channel_summary"
app:iconSpaceReserved="false" />
<io.legado.app.ui.widget.prefs.Preference
android:key="qq"
android:summary="@string/click_to_apply"

Loading…
Cancel
Save