Allow ErrorInfo messages with formatArgs

- ErrorInfo.getMessage() now returns an ErrorMessage instance that can be formatted into a string using a context (this allows the construction of an ErrorInfo to remain independent of a Context)
- now the service ID is used in ErrorInfo.getMessage() to customize some messages based on the currently selected service
- player HTTP invalid statuses are now included in the message
- building a custom error message for AccountTerminatedException was moved from ErrorPanelHelper to ErrorInfo
This commit is contained in:
Stypox 2025-08-30 14:33:04 +02:00
parent 1bde2dcd9f
commit a369deeef4
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
72 changed files with 154 additions and 146 deletions

View file

@ -573,7 +573,6 @@
<string name="no_appropriate_file_manager_message_android_10">Enginn viðeigandi skráarstjóri fannst fyrir þessa aðgerð.
\nVinsamlegast settu upp skráarstjóra sem styður Geymsluaðgangsramma (SAF)</string>
<string name="georestricted_content">Þetta efni er ekki fáanlegt í þínu landi.</string>
<string name="service_provides_reason">%s gefur þessa ástæðu:</string>
<string name="paid_content">Þetta efni er aðeins í boði fyrir notendur sem hafa greitt — það er ekki hægt að streyma því eða sækja með NewPipe.</string>
<string name="auto_device_theme_title">Sjálfvirk (þema tækis)</string>
<string name="night_theme_summary">Veldu uppáhalds næturþemu þína — %s</string>