Add link to help translate in about

Replacing the "Help translate" link to J2K's project and adding another button to go to the website (since the website only links to main tachi its useless for j2k)

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
This commit is contained in:
Jays2Kings 2021-09-12 21:53:31 -04:00
parent c91fe25e88
commit b37a010a77
2 changed files with 18 additions and 0 deletions

View file

@ -90,6 +90,22 @@ class AboutController : SettingsController() {
}
preferenceCategory {
preference {
key = "pref_about_help_translate"
titleRes = R.string.help_translate
onClick {
openInBrowser("https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/")
}
}
preference {
key = "pref_about_helpful_translation_links"
titleRes = R.string.helpful_translation_links
onClick {
openInBrowser("https://tachiyomi.org/help/contribution/#translation")
}
}
preference {
key = "pref_about_website"
titleRes = R.string.website

View file

@ -821,6 +821,8 @@
<string name="helps_fix_bugs">Helps fix any bugs. No sensitive data will be sent</string>
<string name="whats_new">What\'s new</string>
<string name="whats_new_this_release">What\'s new in this release</string>
<string name="help_translate">Help translate</string>
<string name="helpful_translation_links">Helpful translation links</string>
<string name="website">Website</string>
<string name="open_source_licenses">Open source licenses</string>