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:
ThetaDev 2023-05-01 00:02:37 +02:00 committed by GitHub
parent c377ffbce8
commit 4e837e838d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 7 deletions

View File

@ -266,14 +266,17 @@ public final class Localization {
/**
* 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
* @param track a {@link AudioStream} of the track
* @return localized track name
* <p>Examples of results returned by this method:</p>
* <ul>
* <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) {
final String name;