mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-05 01:26:23 +00:00
Add ability to translate YouTube Music search options
This commit is contained in:
parent
63e489f134
commit
41a100613f
@ -136,7 +136,7 @@ dependencies {
|
|||||||
exclude module: 'support-annotations'
|
exclude module: 'support-annotations'
|
||||||
})
|
})
|
||||||
|
|
||||||
implementation 'com.github.XiangRongLin:NewPipeExtractor:34073527498a22e1f7c1feb18132bf62fb544825'
|
implementation 'com.github.wb9688:NewPipeExtractor:3b4fca8133456cc8839c465341cf185eb2d276be'
|
||||||
testImplementation 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
testImplementation 'org.mockito:mockito-core:2.23.0'
|
testImplementation 'org.mockito:mockito-core:2.23.0'
|
||||||
|
|
||||||
|
@ -61,6 +61,16 @@ public final class ServiceHelper {
|
|||||||
return c.getString(R.string.conferences);
|
return c.getString(R.string.conferences);
|
||||||
case "events":
|
case "events":
|
||||||
return c.getString(R.string.events);
|
return c.getString(R.string.events);
|
||||||
|
case "music_songs":
|
||||||
|
return c.getString(R.string.music_songs);
|
||||||
|
case "music_videos":
|
||||||
|
return c.getString(R.string.music_videos);
|
||||||
|
case "music_albums":
|
||||||
|
return c.getString(R.string.music_albums);
|
||||||
|
case "music_playlists":
|
||||||
|
return c.getString(R.string.music_playlists);
|
||||||
|
case "music_artists":
|
||||||
|
return c.getString(R.string.music_artists);
|
||||||
default:
|
default:
|
||||||
return filter;
|
return filter;
|
||||||
}
|
}
|
||||||
|
@ -596,4 +596,9 @@
|
|||||||
<string name="drawer_header_description">Toggle service, momenteel geselecteerd:</string>
|
<string name="drawer_header_description">Toggle service, momenteel geselecteerd:</string>
|
||||||
<string name="most_liked">Meest geliked</string>
|
<string name="most_liked">Meest geliked</string>
|
||||||
<string name="error_postprocessing_stopped">NewPipe werd gesloten terwijl het bezig was met het bestand</string>
|
<string name="error_postprocessing_stopped">NewPipe werd gesloten terwijl het bezig was met het bestand</string>
|
||||||
|
<string name="music_songs">Music/Nummers</string>
|
||||||
|
<string name="music_videos">Music/Video\'s</string>
|
||||||
|
<string name="music_albums">Music/Albums</string>
|
||||||
|
<string name="music_playlists">Music/Afspeellijsten</string>
|
||||||
|
<string name="music_artists">Music/Artiesten</string>
|
||||||
</resources>
|
</resources>
|
@ -150,6 +150,11 @@
|
|||||||
<string name="tracks">Tracks</string>
|
<string name="tracks">Tracks</string>
|
||||||
<string name="users">Users</string>
|
<string name="users">Users</string>
|
||||||
<string name="events">Events</string>
|
<string name="events">Events</string>
|
||||||
|
<string name="music_songs">Music/Songs</string>
|
||||||
|
<string name="music_videos">Music/Videos</string>
|
||||||
|
<string name="music_albums">Music/Albums</string>
|
||||||
|
<string name="music_playlists">Music/Playlists</string>
|
||||||
|
<string name="music_artists">Music/Artists</string>
|
||||||
<string name="yes">Yes</string>
|
<string name="yes">Yes</string>
|
||||||
<string name="later">Later</string>
|
<string name="later">Later</string>
|
||||||
<string name="disabled">Disabled</string>
|
<string name="disabled">Disabled</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user