mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 21:09:29 +01:00
feat(youtube): add options to disable toasts on connection error (#2159)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
b8ab180f0b
commit
99916aefaa
@ -54,8 +54,7 @@ class DebuggingPatch : ResourcePatch {
|
||||
StringResource("revanced_debug_toast_on_error_summary_off", "Toast not shown if error occurs"),
|
||||
StringResource("revanced_debug_toast_on_error_user_dialog_message",
|
||||
"Turning off error toasts hides all ReVanced error notifications."
|
||||
+ "\\n\\nThis includes hiding normal network connection timeouts, "
|
||||
+ "but also hides notification of any unexpected and more serious errors."
|
||||
+ "\\n\\nYou will not be notified of any unexpected events."
|
||||
)
|
||||
),
|
||||
),
|
||||
|
@ -25,9 +25,13 @@
|
||||
<string name="revanced_ryd_compact_layout_summary_on">Like button styled for minimum width</string>
|
||||
<string name="revanced_ryd_compact_layout_summary_off">Like button styled for best appearance</string>
|
||||
|
||||
<string name="ryd_toast_on_connection_error_title">Show toast if API not available</string>
|
||||
<string name="ryd_toast_on_connection_error_summary_on">Toast shown if ReturnYouTubeDislike API is not available</string>
|
||||
<string name="ryd_toast_on_connection_error_summary_off">Toast not shown if ReturnYouTubeDislike API is not available</string>
|
||||
|
||||
<string name="revanced_ryd_about">About</string>
|
||||
<string name="revanced_ryd_attribution_title">ReturnYouTubeDislike.com</string>
|
||||
<string name="revanced_ryd_attribution_summary">Dislike data is provided by the Return YouTube Dislike API. Tap here to learn more.</string>
|
||||
<string name="revanced_ryd_attribution_summary">Data is provided by the Return YouTube Dislike API. Tap here to learn more.</string>
|
||||
|
||||
|
||||
<string name="revanced_ryd_statistics_category_title">ReturnYouTubeDislike API statistics of this device</string>
|
||||
|
@ -35,6 +35,9 @@
|
||||
<string name="sb_guidelines_popup_open">Show me</string>
|
||||
|
||||
<string name="sb_general">General</string>
|
||||
<string name="sb_toast_on_connection_error_title">Show toast if API is not available</string>
|
||||
<string name="sb_toast_on_connection_error_summary_on">Toast shown if SponsorBlock API is not available</string>
|
||||
<string name="sb_toast_on_connection_error_summary_off">Toast not shown if SponsorBlock API is not available</string>
|
||||
<string name="sb_general_skipcount">Enable skip count tracking</string>
|
||||
<string name="sb_general_skipcount_sum_on">Lets the SponsorBlock leaderboard know how much time is saved. A message is sent to the leaderboard each time a segment is skipped</string>
|
||||
<string name="sb_general_skipcount_sum_off">Skip count tracking is not enabled</string>
|
||||
@ -117,10 +120,10 @@
|
||||
<string name="sb_skip_seekbaronly">Show in seek bar</string>
|
||||
<string name="sb_skip_ignore">Disable</string>
|
||||
|
||||
<string name="sb_submit_failed_invalid" formatted="false">Can\'t submit the segment: %s</string>
|
||||
<string name="sb_submit_failed_timeout">Unable to submit segments (API timed out)</string>
|
||||
<string name="sb_submit_failed_unknown_error" formatted="false">Unable to submit segments (status: %d %s)</string>
|
||||
<string name="sb_submit_failed_rate_limit">Can\'t submit the segment.\nRate Limited (too many from the same user or IP)</string>
|
||||
<string name="sb_submit_failed_invalid" formatted="false">Unable to submit segment: %s</string>
|
||||
<string name="sb_submit_failed_timeout">SponsorBlock is temporarily down</string>
|
||||
<string name="sb_submit_failed_unknown_error" formatted="false">Unable to submit segment (status: %d %s)</string>
|
||||
<string name="sb_submit_failed_rate_limit">Unable to submit segment.\nRate Limited (too many from the same user or IP)</string>
|
||||
<string name="sb_submit_failed_forbidden" formatted="false">Can\'t submit the segment: %s</string>
|
||||
<string name="sb_submit_failed_duplicate">Can\'t submit the segment.\nAlready exists</string>
|
||||
<string name="sb_submit_succeeded">Segment submitted successfully</string>
|
||||
|
Loading…
Reference in New Issue
Block a user