mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Use display name instead of only the language
This commit is contained in:
		| @@ -308,7 +308,7 @@ public final class Localization { | ||||
|      * <ul> | ||||
|      *     <li>English (original)</li> | ||||
|      *     <li>English (descriptive)</li> | ||||
|      *     <li>Spanish (dubbed)</li> | ||||
|      *     <li>Spanish (Spain) (dubbed)</li> | ||||
|      * </ul> | ||||
|      * | ||||
|      * @param context the context used to get the app language | ||||
| @@ -318,7 +318,7 @@ public final class Localization { | ||||
|     public static String audioTrackName(@NonNull final Context context, final AudioStream track) { | ||||
|         final String name; | ||||
|         if (track.getAudioLocale() != null) { | ||||
|             name = track.getAudioLocale().getDisplayLanguage(getAppLocale(context)); | ||||
|             name = track.getAudioLocale().getDisplayName(); | ||||
|         } else if (track.getAudioTrackName() != null) { | ||||
|             name = track.getAudioTrackName(); | ||||
|         } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Miles Krell
					Miles Krell