Make error panel and error activity exception message URLs clickable via extension method
Change ErrorMessage.getString to getText and return CharSequence, and use getText with formatArgs to preserve styling (i.e. URLs)
(cherry picked from commit e173bf4252)
Currently translated at 97.9% (749 of 765 strings)
Translated using Weblate (Latvian)
Currently translated at 97.9% (749 of 765 strings)
Translated using Weblate (Latvian)
Currently translated at 18.8% (17 of 90 strings)
Translated using Weblate (Latvian)
Currently translated at 96.9% (742 of 765 strings)
Translated using Weblate (Latvian)
Currently translated at 97.3% (745 of 765 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Latvian)
Currently translated at 17.7% (16 of 90 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Armenian)
Currently translated at 31.6% (242 of 765 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Slovak)
Currently translated at 76.6% (69 of 90 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Japanese)
Currently translated at 13.3% (12 of 90 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (90 of 90 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (French)
Currently translated at 98.8% (89 of 90 strings)
Translated using Weblate (Japanese)
Currently translated at 95.5% (731 of 765 strings)
Translated using Weblate (Polish)
Currently translated at 56.6% (51 of 90 strings)
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (90 of 90 strings)
Translated using Weblate (Tamil)
Currently translated at 48.8% (44 of 90 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (German)
Currently translated at 100.0% (765 of 765 strings)
Translated using Weblate (German)
Currently translated at 100.0% (90 of 90 strings)
Co-authored-by: 439JBYL80IGQTF25UXNR0X1BG <439jbyl80igqtf25uxnr0x1bg@users.noreply.hosted.weblate.org>
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Davit Mayilyan <davit.mayilyan@protonmail.ch>
Co-authored-by: Erenay <erenaydev@proton.me>
Co-authored-by: Femini <nizamismidov4@gmail.com>
Co-authored-by: Fjuro <fjuro@users.noreply.hosted.weblate.org>
Co-authored-by: Ghost of Sparta <makesocialfoss32@keemail.me>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Mickaël Binos <mickaelbinos@outlook.com>
Co-authored-by: Milan <mobrcian@hotmail.com>
Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org>
Co-authored-by: Trunars <trunars@abv.bg>
Co-authored-by: VfBFan <vfbfan@users.noreply.hosted.weblate.org>
Co-authored-by: justcontributor <kty5663@gmail.com>
Co-authored-by: kuragehime <kuragehime641@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: தமிழ்நேரம் <tamilneram247@gmail.com>
Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) <coool@mail.lv>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ja/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/lv/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ta/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
Translation: NewPipe/Metadata
`getQuantity()` was being called in a couple of places with `zeroCaseStringId=0`, but that wasn't documented anywhere, and if `count==0` then `getString(zeroCaseStringId /* == 0 */)` would be returned which doesn't make sense
../../src/main/res/layout/activity_player_queue_control.xml:208: Must use app:tint instead of android:tint
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
../../src/main/java/org/schabi/newpipe/local/subscription/dialog/FeedGroupDialog.kt:509: Must be one or more of: InputMethodManager.HIDE_IMPLICIT_ONLY, InputMethodManager.HIDE_NOT_ALWAYS
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
../../src/main/java/us/shandian/giga/get/sqlite/FinishedMissionStore.java:105: Value must be ≥ 0 but getColumnIndex can be -1
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Notifications can be disabled manually even after permission has been granted once.
Always check if they are enabled before notifying the user.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Dutch)
Currently translated at 57.3% (51 of 89 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Somali)
Currently translated at 72.1% (551 of 764 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.2% (59 of 89 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.2% (59 of 89 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Dutch)
Currently translated at 99.8% (763 of 764 strings)
Translated using Weblate (Latvian)
Currently translated at 97.6% (746 of 764 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 99.8% (763 of 764 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.9% (48 of 89 strings)
Translated using Weblate (Spanish)
Currently translated at 99.8% (763 of 764 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (764 of 764 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (89 of 89 strings)
Translated using Weblate (Marathi)
Currently translated at 30.4% (233 of 764 strings)
Translated using Weblate (Portuguese)
Currently translated at 99.8% (763 of 764 strings)
Translated using Weblate (Polish)
Currently translated at 56.1% (50 of 89 strings)
Co-authored-by: 439JBYL80IGQTF25UXNR0X1BG <439JBYL80IGQTF25UXNR0X1BG@users.noreply.hosted.weblate.org>
Co-authored-by: AMOL GHORPADE <amolghorpade4u@gmail.com>
Co-authored-by: Daria Szatan <bla_ke@tuta.io>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kairos <private.snazzy673@simplelogin.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Miq Maq <maqdishi@gmail.com>
Co-authored-by: Nicolás Pérez <nicoperez241@proton.me>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: delvani <del.cidrak@gmail.com>
Co-authored-by: igoroliveira-letras <igoroliveiradasilvaofc@gmail.com>
Co-authored-by: ojppe <ojppe@users.noreply.hosted.weblate.org>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) <coool@mail.lv>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/nl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
Translation: NewPipe/Metadata
Previously, TtmlConverter.process() caught all exceptions during TTML
to SRT conversion and returned opaque error codes (1 for IOException,
8 for other exceptions). These error codes were then wrapped by
Postprocessing.run() into a generic RuntimeException with the message
'post-processing algorithm returned N', losing the original exception
and its stack trace.
This made it impossible for users and developers to diagnose the root
cause of subtitle download failures, as reported in #13206.
Now, IOExceptions are re-thrown directly, and other exceptions are
wrapped in an IOException with the original exception as the cause.
This allows DownloadMission.doPostprocessing() to properly catch and
report the actual error, including the full stack trace in the crash
report.
Fixes#13206
Signed-off-by: pierreeurope <pierre.europe@pm.me>