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:
parent
28218408cc
commit
fc567dae55
72 changed files with 154 additions and 146 deletions
|
|
@ -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">作者的帳號已被終止。
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue