Change Similar manga settings layout (#228)

* convert Credit string to strings_sy element

* remove redundant similar screen title in Similar Manga settings
This commit is contained in:
curche 2021-02-26 01:22:44 +05:30 committed by GitHub
parent c88de1ab1b
commit f78836dac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -100,7 +100,6 @@ class SettingsMangaDexController :
preference { preference {
key = "pref_similar_screen" key = "pref_similar_screen"
titleRes = R.string.similar_screen
summaryRes = R.string.similar_screen_summary_message summaryRes = R.string.similar_screen_summary_message
isIconSpaceReserved = true isIconSpaceReserved = true
} }
@ -156,7 +155,7 @@ class SettingsMangaDexController :
preference { preference {
key = "similar_credits" key = "similar_credits"
title = "Credits" titleRes = R.string.similar_credit
val url = "https://github.com/goldbattle/MangadexRecomendations" val url = "https://github.com/goldbattle/MangadexRecomendations"
summary = context.getString(R.string.similar_credit_message, url) summary = context.getString(R.string.similar_credit_message, url)
onClick { onClick {

View File

@ -624,6 +624,7 @@
demographics, content type, themes, and then using term frequencyinverse document frequency (tfidf) to get the demographics, content type, themes, and then using term frequencyinverse document frequency (tfidf) to get the
similarity of two manga\'s descriptions. When enabled this file will download immediately!! The file is about 9 MB in size. similarity of two manga\'s descriptions. When enabled this file will download immediately!! The file is about 9 MB in size.
</string> </string>
<string name="similar_credit">Credits</string>
<string name="similar_credit_message"> <string name="similar_credit_message">
For more information and to view the source code:\n%s For more information and to view the source code:\n%s
</string> </string>
@ -660,5 +661,4 @@
</plurals> </plurals>
<string name="humanize_fallback">moments ago</string> <string name="humanize_fallback">moments ago</string>
</resources> </resources>