mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-03 14:00:32 +00:00
fix docs in app/src/main/java/org/schabi/newpipe/util/Localization.java
Co-authored-by: Audric V. <74829229+AudricV@users.noreply.github.com>
This commit is contained in:
parent
c377ffbce8
commit
4e837e838d
@ -266,14 +266,17 @@ public final class Localization {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the localized name of an audio track.
|
* Get the localized name of an audio track.
|
||||||
* <p>Example:</p>
|
|
||||||
* <p>English (original)</p>
|
|
||||||
* <p>English (descriptive)</p>
|
|
||||||
* <p>Spanish (dubbed)</p>
|
|
||||||
*
|
*
|
||||||
* @param context used to get app language
|
* <p>Examples of results returned by this method:</p>
|
||||||
* @param track a {@link AudioStream} of the track
|
* <ul>
|
||||||
* @return localized track name
|
* <li>English (original)</li>
|
||||||
|
* <li>English (descriptive)</li>
|
||||||
|
* <li>Spanish (dubbed)</li>
|
||||||
|
* </ul>
|
||||||
|
*
|
||||||
|
* @param context the context used to get the app language
|
||||||
|
* @param track an {@link AudioStream} of the track
|
||||||
|
* @return the localized name of the audio track
|
||||||
*/
|
*/
|
||||||
public static String audioTrackName(final Context context, final AudioStream track) {
|
public static String audioTrackName(final Context context, final AudioStream track) {
|
||||||
final String name;
|
final String name;
|
||||||
|
Loading…
Reference in New Issue
Block a user