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
1bde2dcd9f
commit
a369deeef4
72 changed files with 154 additions and 146 deletions
|
|
@ -431,7 +431,6 @@
|
|||
<string name="feed_load_error_account_info">Неуспешно вчитување на новинска лента за „%s“.</string>
|
||||
<string name="feed_show_hide_streams">Прикажи / скриј стримови</string>
|
||||
<string name="private_content">Оваа содржина е приватна, така што не може да биде емитувана или преземена од страна на NewPipe.</string>
|
||||
<string name="service_provides_reason">%s ја посочува следната причина:</string>
|
||||
<string name="featured">Истакнато</string>
|
||||
<string name="radio">Радио</string>
|
||||
<string name="auto_device_theme_title">Автоматски (режим на уредот)</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue