Fixes a couple of Strings - Anime (#459)

* Remove redundant History mapping in Anime Database

* Fix Anime Sources (Pinned, Last Used and Disabled)

* Fix Extension Updates (+ naming consistency)

* Replace Tachi icon with Ani icon

* Fix a couple of strings

* Fix a couple of strings
This commit is contained in:
Quickdesh 2022-03-27 01:14:53 +09:00 committed by GitHub
parent 171772a0a8
commit b53bc48e0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 8 deletions

View file

@ -336,7 +336,7 @@ class AnimeDownloader(
download.source.fetchVideoList(download.episode).map { it.first() } download.source.fetchVideoList(download.episode).map { it.first() }
.doOnNext { video -> .doOnNext { video ->
if (video == null) { if (video == null) {
throw Exception(context.getString(R.string.page_list_empty_error)) throw Exception(context.getString(R.string.video_list_empty_error))
} }
download.video = video download.video = video
} }

View file

@ -55,7 +55,7 @@ class AnimeExtensionDetailsHeaderAdapter(private val presenter: AnimeExtensionDe
if (extension.isUnofficial) { if (extension.isUnofficial) {
binding.warningBanner.isVisible = true binding.warningBanner.isVisible = true
binding.warningBanner.setText(R.string.unofficial_extension_message) binding.warningBanner.setText(R.string.unofficial_extension_message_aniyomi)
} }
} }
} }

View file

@ -55,7 +55,7 @@ class ExtensionDetailsHeaderAdapter(private val presenter: ExtensionDetailsPrese
if (extension.isUnofficial) { if (extension.isUnofficial) {
binding.warningBanner.isVisible = true binding.warningBanner.isVisible = true
binding.warningBanner.setText(R.string.unofficial_extension_message) binding.warningBanner.setText(R.string.unofficial_extension_message_tachiyomi)
} }
} }
} }

View file

@ -299,9 +299,10 @@
<string name="ext_uninstall">Uninstall</string> <string name="ext_uninstall">Uninstall</string>
<string name="ext_app_info">App info</string> <string name="ext_app_info">App info</string>
<string name="untrusted_extension">Untrusted extension</string> <string name="untrusted_extension">Untrusted extension</string>
<string name="untrusted_extension_message">This extension was signed with an untrusted certificate and wasn\'t activated.\n\nA malicious extension could read any login credentials stored in Tachiyomi or execute arbitrary code.\n\nBy trusting this certificate you accept these risks.</string> <string name="untrusted_extension_message">This extension was signed with an untrusted certificate and wasn\'t activated.\n\nA malicious extension could read any login credentials stored in Aniyomi or execute arbitrary code.\n\nBy trusting this certificate you accept these risks.</string>
<string name="obsolete_extension_message">This extension is no longer available.</string> <string name="obsolete_extension_message">This extension is no longer available.</string>
<string name="unofficial_extension_message">This extension is not from the official Tachiyomi extensions list.</string> <string name="unofficial_extension_message_tachiyomi">This extension is not from the official Tachiyomi extensions list.</string>
<string name="unofficial_extension_message_aniyomi">This extension is not from the official Aniyomi extensions list.</string>
<string name="extension_api_error">Failed to get extensions list</string> <string name="extension_api_error">Failed to get extensions list</string>
<string name="ext_version_info">Version: %1$s</string> <string name="ext_version_info">Version: %1$s</string>
<string name="ext_language_info">Language: %1$s</string> <string name="ext_language_info">Language: %1$s</string>
@ -813,8 +814,9 @@
<!-- Downloads activity and service --> <!-- Downloads activity and service -->
<string name="download_queue_error">Couldn\'t download chapters. You can try again in the downloads section</string> <string name="download_queue_error">Couldn\'t download chapters. You can try again in the downloads section</string>
<string name="download_insufficient_space">Couldn\'t download chapters due to low storage space</string> <string name="download_insufficient_space">Couldn\'t download due to low storage space</string>
<string name="download_queue_size_warning">Warning: large bulk downloads may lead to sources becoming slower and/or blocking Tachiyomi</string> <string name="download_queue_size_warning">Warning: large bulk downloads may lead to sources becoming slower and/or blocking Aniyomi</string>
<string name="video_list_empty_error">No video found</string>
<!-- Library update service notifications --> <!-- Library update service notifications -->
<string name="notification_check_updates">Checking for new chapters</string> <string name="notification_check_updates">Checking for new chapters</string>
@ -897,7 +899,7 @@
<string name="information_empty_category_dialog">You don\'t have any categories yet.</string> <string name="information_empty_category_dialog">You don\'t have any categories yet.</string>
<string name="information_cloudflare_bypass_failure">Failed to bypass Cloudflare</string> <string name="information_cloudflare_bypass_failure">Failed to bypass Cloudflare</string>
<!-- Do not translate "WebView" --> <!-- Do not translate "WebView" -->
<string name="information_webview_required">WebView is required for Tachiyomi</string> <string name="information_webview_required">WebView is required for Aniyomi</string>
<!-- Do not translate "WebView" --> <!-- Do not translate "WebView" -->
<string name="information_webview_outdated">Please update the WebView app for better compatibility</string> <string name="information_webview_outdated">Please update the WebView app for better compatibility</string>
<string name="chapter_settings_updated">Updated default chapter settings</string> <string name="chapter_settings_updated">Updated default chapter settings</string>