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 28218408cc
commit fc567dae55
72 changed files with 154 additions and 146 deletions

View file

@ -599,7 +599,6 @@
<string name="description_select_enable">启用简介中的文本选择功能</string>
<string name="description_select_note">你现在可以选择简介中的文本,注意,在选择模式下,页面可能会闪烁,链接可能无法点击。</string>
<string name="open_website_license">打开网站</string>
<string name="service_provides_reason">%s 提供这个原因:</string>
<string name="account_terminated">账号被终止</string>
<string name="feed_load_error_fast_unknown">快速 Feed 模式不提供关于这个的更多信息。</string>
<string name="feed_load_error_terminated">作者账号已被终止。