Show detailed error message when an account has been terminated by the service
This commit is contained in:
parent
6ad4b425e4
commit
ccc46971b4
4 changed files with 60 additions and 1 deletions
|
|
@ -15,7 +15,29 @@
|
|||
android:text="@string/general_error"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
tools:text="Network error" />
|
||||
tools:text="Account terminated" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_message_service_info_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="@string/general_error"
|
||||
android:textSize="16sp"
|
||||
tools:text="YouTube provides this reason:" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_message_service_explenation_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="@string/general_error"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="italic"
|
||||
tools:text="This account has been terminated because we received multiple third-party claims of copyright infringement regarding material that the user posted." />
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/error_button_action"
|
||||
|
|
|
|||
|
|
@ -714,6 +714,8 @@
|
|||
<string name="soundcloud_go_plus_content">This is a SoundCloud Go+ track, at least in your country, so it cannot be streamed or downloaded by NewPipe.</string>
|
||||
<string name="private_content">This content is private, so it cannot be streamed or downloaded by NewPipe.</string>
|
||||
<string name="youtube_music_premium_content">This video is available only to YouTube Music Premium members, so it cannot be streamed or downloaded by NewPipe.</string>
|
||||
<string name="account_terminated">Account terminated</string>
|
||||
<string name="service_provides_reason">%s provides this reason:</string>
|
||||
<string name="paid_content">This content is only available to users who have paid, so it cannot be streamed or downloaded by NewPipe.</string>
|
||||
<string name="featured">Featured</string>
|
||||
<string name="radio">Radio</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue