Skip to content

Commit 4e837e8

Browse files
Theta-DevAudricV
andauthored
fix docs in app/src/main/java/org/schabi/newpipe/util/Localization.java
Co-authored-by: Audric V. <74829229+AudricV@users.noreply.github.com>
1 parent c377ffb commit 4e837e8

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

app/src/main/java/org/schabi/newpipe/util/Localization.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,17 @@ public static String localizeDuration(final Context context, final int durationI
266266

267267
/**
268268
* Get the localized name of an audio track.
269-
* <p>Example:</p>
270-
* <p>English (original)</p>
271-
* <p>English (descriptive)</p>
272-
* <p>Spanish (dubbed)</p>
273269
*
274-
* @param context used to get app language
275-
* @param track a {@link AudioStream} of the track
276-
* @return localized track name
270+
* <p>Examples of results returned by this method:</p>
271+
* <ul>
272+
* <li>English (original)</li>
273+
* <li>English (descriptive)</li>
274+
* <li>Spanish (dubbed)</li>
275+
* </ul>
276+
*
277+
* @param context the context used to get the app language
278+
* @param track an {@link AudioStream} of the track
279+
* @return the localized name of the audio track
277280
*/
278281
public static String audioTrackName(final Context context, final AudioStream track) {
279282
final String name;

0 commit comments

Comments
 (0)