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

@ -602,7 +602,6 @@
<string name="description_select_disable">Tắt chọn văn bản trong mô tả</string>
<string name="description_select_enable">Bật chọn văn bản trong mô tả</string>
<string name="description_select_note">Bây giờ bạn có thể chọn văn bản trong mô tả. Lưu ý rằng trang có thể nhấp nháy và các liên kết có thể không nhấn vào được trong khi ở chế độ chọn.</string>
<string name="service_provides_reason">%s cung cấp lý do này:</string>
<string name="account_terminated">Tài khoản đã bị chấm dứt</string>
<string name="feed_load_error_fast_unknown">Chế độ nạp nhanh không cung cấp thêm thông tin về điều này.</string>
<string name="feed_load_error_terminated">Tài khoản của tác giả đã bị chấm dứt.