From 6ac252843ec990ff32acb30429f2173ea44b73c9 Mon Sep 17 00:00:00 2001 From: olly Date: Thu, 26 Apr 2018 03:36:12 -0700 Subject: [PATCH] Move TrackSelectionHelper to UI module ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194373357 --- .../android/exoplayer2/demo/DemoUtil.java | 86 ----- .../exoplayer2/demo/DownloadActivity.java | 23 +- .../exoplayer2/demo/PlayerActivity.java | 21 +- .../exoplayer2/demo/TrackSelectionHelper.java | 253 ------------- .../ui/DefaultTrackNameProvider.java | 115 ++++++ .../exoplayer2/ui/TrackNameProvider.java | 25 ++ .../exoplayer2/ui/TrackSelectionView.java | 354 ++++++++++++++++++ .../src/main/res/layout/exo_list_divider.xml | 0 .../res/layout/exo_track_selection_dialog.xml | 2 +- library/ui/src/main/res/values-af/strings.xml | 11 +- library/ui/src/main/res/values-am/strings.xml | 11 +- library/ui/src/main/res/values-ar/strings.xml | 11 +- library/ui/src/main/res/values-az/strings.xml | 11 +- .../src/main/res/values-b+sr+Latn/strings.xml | 19 +- library/ui/src/main/res/values-be/strings.xml | 23 +- library/ui/src/main/res/values-bg/strings.xml | 11 +- library/ui/src/main/res/values-bn/strings.xml | 15 +- library/ui/src/main/res/values-bs/strings.xml | 11 +- library/ui/src/main/res/values-ca/strings.xml | 21 +- library/ui/src/main/res/values-cs/strings.xml | 23 +- library/ui/src/main/res/values-da/strings.xml | 17 +- library/ui/src/main/res/values-de/strings.xml | 15 +- library/ui/src/main/res/values-el/strings.xml | 23 +- .../ui/src/main/res/values-en-rAU/strings.xml | 11 +- .../ui/src/main/res/values-en-rGB/strings.xml | 11 +- .../ui/src/main/res/values-en-rIN/strings.xml | 11 +- .../ui/src/main/res/values-es-rUS/strings.xml | 11 +- library/ui/src/main/res/values-es/strings.xml | 21 +- library/ui/src/main/res/values-et/strings.xml | 21 +- library/ui/src/main/res/values-eu/strings.xml | 23 +- library/ui/src/main/res/values-fa/strings.xml | 23 +- library/ui/src/main/res/values-fi/strings.xml | 11 +- .../ui/src/main/res/values-fr-rCA/strings.xml | 11 +- library/ui/src/main/res/values-fr/strings.xml | 11 +- library/ui/src/main/res/values-gl/strings.xml | 11 +- library/ui/src/main/res/values-gu/strings.xml | 15 +- library/ui/src/main/res/values-hi/strings.xml | 27 +- library/ui/src/main/res/values-hr/strings.xml | 11 +- library/ui/src/main/res/values-hu/strings.xml | 23 +- library/ui/src/main/res/values-hy/strings.xml | 23 +- library/ui/src/main/res/values-in/strings.xml | 11 +- library/ui/src/main/res/values-is/strings.xml | 23 +- library/ui/src/main/res/values-it/strings.xml | 11 +- library/ui/src/main/res/values-iw/strings.xml | 23 +- library/ui/src/main/res/values-ja/strings.xml | 11 +- library/ui/src/main/res/values-ka/strings.xml | 11 +- library/ui/src/main/res/values-kk/strings.xml | 23 +- library/ui/src/main/res/values-km/strings.xml | 11 +- library/ui/src/main/res/values-kn/strings.xml | 15 +- library/ui/src/main/res/values-ko/strings.xml | 11 +- library/ui/src/main/res/values-ky/strings.xml | 23 +- library/ui/src/main/res/values-lo/strings.xml | 23 +- library/ui/src/main/res/values-lt/strings.xml | 23 +- library/ui/src/main/res/values-lv/strings.xml | 19 +- library/ui/src/main/res/values-mk/strings.xml | 11 +- library/ui/src/main/res/values-ml/strings.xml | 11 +- library/ui/src/main/res/values-mn/strings.xml | 11 +- library/ui/src/main/res/values-mr/strings.xml | 15 +- library/ui/src/main/res/values-ms/strings.xml | 19 +- library/ui/src/main/res/values-my/strings.xml | 11 +- library/ui/src/main/res/values-nb/strings.xml | 21 +- library/ui/src/main/res/values-ne/strings.xml | 15 +- library/ui/src/main/res/values-nl/strings.xml | 11 +- library/ui/src/main/res/values-pa/strings.xml | 15 +- library/ui/src/main/res/values-pl/strings.xml | 23 +- .../ui/src/main/res/values-pt-rPT/strings.xml | 11 +- library/ui/src/main/res/values-pt/strings.xml | 11 +- library/ui/src/main/res/values-ro/strings.xml | 11 +- library/ui/src/main/res/values-ru/strings.xml | 23 +- library/ui/src/main/res/values-si/strings.xml | 23 +- library/ui/src/main/res/values-sk/strings.xml | 11 +- library/ui/src/main/res/values-sl/strings.xml | 23 +- library/ui/src/main/res/values-sq/strings.xml | 19 +- library/ui/src/main/res/values-sr/strings.xml | 23 +- library/ui/src/main/res/values-sv/strings.xml | 11 +- library/ui/src/main/res/values-sw/strings.xml | 21 +- library/ui/src/main/res/values-ta/strings.xml | 15 +- library/ui/src/main/res/values-te/strings.xml | 11 +- library/ui/src/main/res/values-th/strings.xml | 11 +- library/ui/src/main/res/values-tl/strings.xml | 11 +- library/ui/src/main/res/values-tr/strings.xml | 11 +- library/ui/src/main/res/values-uk/strings.xml | 11 +- library/ui/src/main/res/values-ur/strings.xml | 27 +- library/ui/src/main/res/values-uz/strings.xml | 11 +- library/ui/src/main/res/values-vi/strings.xml | 11 +- .../ui/src/main/res/values-zh-rCN/strings.xml | 23 +- .../ui/src/main/res/values-zh-rHK/strings.xml | 23 +- .../ui/src/main/res/values-zh-rTW/strings.xml | 23 +- library/ui/src/main/res/values-zu/strings.xml | 11 +- library/ui/src/main/res/values/strings.xml | 20 +- 90 files changed, 1545 insertions(+), 638 deletions(-) delete mode 100644 demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoUtil.java delete mode 100644 demos/main/src/main/java/com/google/android/exoplayer2/demo/TrackSelectionHelper.java create mode 100644 library/ui/src/main/java/com/google/android/exoplayer2/ui/DefaultTrackNameProvider.java create mode 100644 library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackNameProvider.java create mode 100644 library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java rename demos/main/src/main/res/layout/list_divider.xml => library/ui/src/main/res/layout/exo_list_divider.xml (100%) rename demos/main/src/main/res/layout/track_selection_dialog.xml => library/ui/src/main/res/layout/exo_track_selection_dialog.xml (90%) diff --git a/demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoUtil.java b/demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoUtil.java deleted file mode 100644 index 2692bc4531..0000000000 --- a/demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoUtil.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2017 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.android.exoplayer2.demo; - -import android.text.TextUtils; -import com.google.android.exoplayer2.Format; -import com.google.android.exoplayer2.util.MimeTypes; -import java.util.Locale; - -/** - * Utility methods for demo application. - */ -/* package */ final class DemoUtil { - - /** - * Builds a track name for display. - * - * @param format {@link Format} of the track. - * @return a generated name specific to the track. - */ - public static String buildTrackName(Format format) { - String trackName; - if (MimeTypes.isVideo(format.sampleMimeType)) { - trackName = joinWithSeparator(joinWithSeparator(joinWithSeparator( - buildResolutionString(format), buildBitrateString(format)), buildTrackIdString(format)), - buildSampleMimeTypeString(format)); - } else if (MimeTypes.isAudio(format.sampleMimeType)) { - trackName = joinWithSeparator(joinWithSeparator(joinWithSeparator(joinWithSeparator( - buildLanguageString(format), buildAudioPropertyString(format)), - buildBitrateString(format)), buildTrackIdString(format)), - buildSampleMimeTypeString(format)); - } else { - trackName = joinWithSeparator(joinWithSeparator(joinWithSeparator(buildLanguageString(format), - buildBitrateString(format)), buildTrackIdString(format)), - buildSampleMimeTypeString(format)); - } - return trackName.length() == 0 ? "unknown" : trackName; - } - - private static String buildResolutionString(Format format) { - return format.width == Format.NO_VALUE || format.height == Format.NO_VALUE - ? "" : format.width + "x" + format.height; - } - - private static String buildAudioPropertyString(Format format) { - return format.channelCount == Format.NO_VALUE || format.sampleRate == Format.NO_VALUE - ? "" : format.channelCount + "ch, " + format.sampleRate + "Hz"; - } - - private static String buildLanguageString(Format format) { - return TextUtils.isEmpty(format.language) || "und".equals(format.language) ? "" - : format.language; - } - - private static String buildBitrateString(Format format) { - return format.bitrate == Format.NO_VALUE ? "" - : String.format(Locale.US, "%.2fMbit", format.bitrate / 1000000f); - } - - private static String joinWithSeparator(String first, String second) { - return first.length() == 0 ? second : (second.length() == 0 ? first : first + ", " + second); - } - - private static String buildTrackIdString(Format format) { - return format.id == null ? "" : ("id:" + format.id); - } - - private static String buildSampleMimeTypeString(Format format) { - return format.sampleMimeType == null ? "" : format.sampleMimeType; - } - - private DemoUtil() {} -} diff --git a/demos/main/src/main/java/com/google/android/exoplayer2/demo/DownloadActivity.java b/demos/main/src/main/java/com/google/android/exoplayer2/demo/DownloadActivity.java index 194e6b6f43..dc2efc911e 100644 --- a/demos/main/src/main/java/com/google/android/exoplayer2/demo/DownloadActivity.java +++ b/demos/main/src/main/java/com/google/android/exoplayer2/demo/DownloadActivity.java @@ -45,6 +45,8 @@ import com.google.android.exoplayer2.source.hls.playlist.RenditionKey; import com.google.android.exoplayer2.source.smoothstreaming.manifest.TrackKey; import com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloadAction; import com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader; +import com.google.android.exoplayer2.ui.DefaultTrackNameProvider; +import com.google.android.exoplayer2.ui.TrackNameProvider; import com.google.android.exoplayer2.util.ParcelableArray; import com.google.android.exoplayer2.util.Util; import java.io.IOException; @@ -60,7 +62,7 @@ public class DownloadActivity extends Activity { private Intent playerIntent; private String sampleName; - @SuppressWarnings("rawtypes") + private TrackNameProvider trackNameProvider; private AsyncTask manifestDownloaderTask; private DownloadUtilMethods downloadUtilMethods; @@ -71,6 +73,7 @@ public class DownloadActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.downloader_activity); + trackNameProvider = new DefaultTrackNameProvider(getResources()); Intent intent = getIntent(); playerIntent = intent.getParcelableExtra(PLAYER_INTENT); @@ -216,7 +219,7 @@ public class DownloadActivity extends Activity { @Override protected List doInBackground(Void... ignore) { try { - return downloadUtilMethods.getRepresentationItems(); + return downloadUtilMethods.getRepresentationItems(trackNameProvider); } catch (IOException | InterruptedException e) { return null; } @@ -247,8 +250,8 @@ public class DownloadActivity extends Activity { this.constructorHelper = constructorHelper; } - public abstract List getRepresentationItems() - throws IOException, InterruptedException; + public abstract List getRepresentationItems( + TrackNameProvider trackNameProvider) throws IOException, InterruptedException; public abstract DownloadAction getDownloadAction( String sampleName, ArrayList representationKeys); @@ -263,7 +266,7 @@ public class DownloadActivity extends Activity { } @Override - public List getRepresentationItems() + public List getRepresentationItems(TrackNameProvider trackNameProvider) throws IOException, InterruptedException { DashDownloader downloader = new DashDownloader(manifestUri, constructorHelper); ArrayList items = new ArrayList<>(); @@ -282,7 +285,7 @@ public class DownloadActivity extends Activity { .get(key.adaptationSetIndex) .representations .get(key.representationIndex); - String trackName = DemoUtil.buildTrackName(representation.format); + String trackName = trackNameProvider.getTrackName(representation.format); items.add(new RepresentationItem(key, trackName, downloader.getDownloadPercentage())); } return items; @@ -309,7 +312,7 @@ public class DownloadActivity extends Activity { } @Override - public List getRepresentationItems() + public List getRepresentationItems(TrackNameProvider trackNameProvider) throws IOException, InterruptedException { HlsDownloader downloader = new HlsDownloader(manifestUri, constructorHelper); ArrayList items = new ArrayList<>(); @@ -345,7 +348,7 @@ public class DownloadActivity extends Activity { } @Override - public List getRepresentationItems() + public List getRepresentationItems(TrackNameProvider trackNameProvider) throws IOException, InterruptedException { SsDownloader downloader = new SsDownloader(manifestUri, constructorHelper); ArrayList items = new ArrayList<>(); @@ -358,7 +361,7 @@ public class DownloadActivity extends Activity { } Format format = downloader.getManifest().streamElements[key.streamElementIndex].formats[key.trackIndex]; - String trackName = DemoUtil.buildTrackName(format); + String trackName = trackNameProvider.getTrackName(format); items.add(new RepresentationItem(key, trackName, downloader.getDownloadPercentage())); } return items; @@ -385,7 +388,7 @@ public class DownloadActivity extends Activity { } @Override - public List getRepresentationItems() { + public List getRepresentationItems(TrackNameProvider trackNameProvider) { ProgressiveDownloader downloader = new ProgressiveDownloader(manifestUri, null, constructorHelper); ArrayList items = new ArrayList<>(); diff --git a/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java b/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java index e3f4c01810..383159cca8 100644 --- a/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java +++ b/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java @@ -16,6 +16,7 @@ package com.google.android.exoplayer2.demo; import android.app.Activity; +import android.app.AlertDialog; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; @@ -24,6 +25,7 @@ import android.os.Handler; import android.os.Parcelable; import android.support.annotation.NonNull; import android.support.annotation.Nullable; +import android.util.Pair; import android.view.KeyEvent; import android.view.View; import android.view.View.OnClickListener; @@ -76,6 +78,7 @@ import com.google.android.exoplayer2.trackselection.TrackSelectionArray; import com.google.android.exoplayer2.ui.DebugTextViewHelper; import com.google.android.exoplayer2.ui.PlayerControlView; import com.google.android.exoplayer2.ui.PlayerView; +import com.google.android.exoplayer2.ui.TrackSelectionView; import com.google.android.exoplayer2.upstream.DataSource; import com.google.android.exoplayer2.upstream.DefaultBandwidthMeter; import com.google.android.exoplayer2.upstream.HttpDataSource; @@ -141,7 +144,6 @@ public class PlayerActivity extends Activity private MediaSource mediaSource; private DefaultTrackSelector trackSelector; private DefaultTrackSelector.Parameters trackSelectorParameters; - private TrackSelectionHelper trackSelectionHelper; private DebugTextViewHelper debugViewHelper; private boolean inErrorState; private TrackGroupArray lastSeenTrackGroupArray; @@ -274,8 +276,19 @@ public class PlayerActivity extends Activity if (view.getParent() == debugRootView) { MappedTrackInfo mappedTrackInfo = trackSelector.getCurrentMappedTrackInfo(); if (mappedTrackInfo != null) { - trackSelectionHelper.showSelectionDialog( - this, ((Button) view).getText(), mappedTrackInfo, (int) view.getTag()); + CharSequence title = ((Button) view).getText(); + int rendererIndex = (int) view.getTag(); + int rendererType = mappedTrackInfo.getRendererType(rendererIndex); + boolean allowAdaptiveSelections = + rendererType == C.TRACK_TYPE_VIDEO + || (rendererType == C.TRACK_TYPE_AUDIO + && mappedTrackInfo.getTypeSupport(C.TRACK_TYPE_VIDEO) + == MappedTrackInfo.RENDERER_SUPPORT_NO_TRACKS); + Pair dialogPair = + TrackSelectionView.getDialog(this, title, trackSelector, rendererIndex); + dialogPair.second.setShowDisableOption(true); + dialogPair.second.setAllowAdaptiveSelections(allowAdaptiveSelections); + dialogPair.first.show(); } } } @@ -388,7 +401,6 @@ public class PlayerActivity extends Activity trackSelector = new DefaultTrackSelector(trackSelectionFactory); trackSelector.setParameters(trackSelectorParameters); - trackSelectionHelper = new TrackSelectionHelper(trackSelector); lastSeenTrackGroupArray = null; player = @@ -512,7 +524,6 @@ public class PlayerActivity extends Activity player = null; mediaSource = null; trackSelector = null; - trackSelectionHelper = null; } } diff --git a/demos/main/src/main/java/com/google/android/exoplayer2/demo/TrackSelectionHelper.java b/demos/main/src/main/java/com/google/android/exoplayer2/demo/TrackSelectionHelper.java deleted file mode 100644 index 9ff70d0492..0000000000 --- a/demos/main/src/main/java/com/google/android/exoplayer2/demo/TrackSelectionHelper.java +++ /dev/null @@ -1,253 +0,0 @@ -/* - * Copyright (C) 2016 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.android.exoplayer2.demo; - -import android.annotation.SuppressLint; -import android.app.Activity; -import android.app.AlertDialog; -import android.content.Context; -import android.content.DialogInterface; -import android.content.res.TypedArray; -import android.util.Pair; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.widget.CheckedTextView; -import com.google.android.exoplayer2.RendererCapabilities; -import com.google.android.exoplayer2.source.TrackGroup; -import com.google.android.exoplayer2.source.TrackGroupArray; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride; -import com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo; -import java.util.Arrays; - -/** - * Helper class for displaying track selection dialogs. - */ -/* package */ final class TrackSelectionHelper implements View.OnClickListener, - DialogInterface.OnClickListener { - - private final DefaultTrackSelector selector; - - private MappedTrackInfo trackInfo; - private int rendererIndex; - private TrackGroupArray trackGroups; - private boolean[] trackGroupsAdaptive; - private boolean isDisabled; - private SelectionOverride override; - - private CheckedTextView disableView; - private CheckedTextView defaultView; - private CheckedTextView[][] trackViews; - - /** @param selector The track selector. */ - public TrackSelectionHelper(DefaultTrackSelector selector) { - this.selector = selector; - } - - /** - * Shows the selection dialog for a given renderer. - * - * @param activity The parent activity. - * @param title The dialog's title. - * @param trackInfo The current track information. - * @param rendererIndex The index of the renderer. - */ - public void showSelectionDialog(Activity activity, CharSequence title, MappedTrackInfo trackInfo, - int rendererIndex) { - this.trackInfo = trackInfo; - this.rendererIndex = rendererIndex; - - trackGroups = trackInfo.getTrackGroups(rendererIndex); - trackGroupsAdaptive = new boolean[trackGroups.length]; - for (int i = 0; i < trackGroups.length; i++) { - trackGroupsAdaptive[i] = - trackInfo.getAdaptiveSupport(rendererIndex, i, false) - != RendererCapabilities.ADAPTIVE_NOT_SUPPORTED - && trackGroups.get(i).length > 1; - } - Parameters parameters = selector.getParameters(); - isDisabled = parameters.getRendererDisabled(rendererIndex); - override = parameters.getSelectionOverride(rendererIndex, trackGroups); - - AlertDialog.Builder builder = new AlertDialog.Builder(activity); - builder.setTitle(title) - .setView(buildView(builder.getContext())) - .setPositiveButton(android.R.string.ok, this) - .setNegativeButton(android.R.string.cancel, null) - .create() - .show(); - } - - @SuppressLint("InflateParams") - private View buildView(Context context) { - LayoutInflater inflater = LayoutInflater.from(context); - View view = inflater.inflate(R.layout.track_selection_dialog, null); - ViewGroup root = view.findViewById(R.id.root); - - TypedArray attributeArray = context.getTheme().obtainStyledAttributes( - new int[] {android.R.attr.selectableItemBackground}); - int selectableItemBackgroundResourceId = attributeArray.getResourceId(0, 0); - attributeArray.recycle(); - - // View for disabling the renderer. - disableView = (CheckedTextView) inflater.inflate( - android.R.layout.simple_list_item_single_choice, root, false); - disableView.setBackgroundResource(selectableItemBackgroundResourceId); - disableView.setText(R.string.exo_track_selection_none); - disableView.setFocusable(true); - disableView.setOnClickListener(this); - root.addView(disableView); - - // View for clearing the override to allow the selector to use its default selection logic. - defaultView = (CheckedTextView) inflater.inflate( - android.R.layout.simple_list_item_single_choice, root, false); - defaultView.setBackgroundResource(selectableItemBackgroundResourceId); - defaultView.setText(R.string.exo_track_selection_auto); - defaultView.setFocusable(true); - defaultView.setOnClickListener(this); - root.addView(inflater.inflate(R.layout.list_divider, root, false)); - root.addView(defaultView); - - // Per-track views. - trackViews = new CheckedTextView[trackGroups.length][]; - for (int groupIndex = 0; groupIndex < trackGroups.length; groupIndex++) { - TrackGroup group = trackGroups.get(groupIndex); - boolean groupIsAdaptive = trackGroupsAdaptive[groupIndex]; - trackViews[groupIndex] = new CheckedTextView[group.length]; - for (int trackIndex = 0; trackIndex < group.length; trackIndex++) { - if (trackIndex == 0) { - root.addView(inflater.inflate(R.layout.list_divider, root, false)); - } - int trackViewLayoutId = groupIsAdaptive ? android.R.layout.simple_list_item_multiple_choice - : android.R.layout.simple_list_item_single_choice; - CheckedTextView trackView = (CheckedTextView) inflater.inflate( - trackViewLayoutId, root, false); - trackView.setBackgroundResource(selectableItemBackgroundResourceId); - trackView.setText(DemoUtil.buildTrackName(group.getFormat(trackIndex))); - if (trackInfo.getTrackSupport(rendererIndex, groupIndex, trackIndex) - == RendererCapabilities.FORMAT_HANDLED) { - trackView.setFocusable(true); - trackView.setTag(Pair.create(groupIndex, trackIndex)); - trackView.setOnClickListener(this); - } else { - trackView.setFocusable(false); - trackView.setEnabled(false); - } - trackViews[groupIndex][trackIndex] = trackView; - root.addView(trackView); - } - } - - updateViews(); - return view; - } - - private void updateViews() { - disableView.setChecked(isDisabled); - defaultView.setChecked(!isDisabled && override == null); - for (int i = 0; i < trackViews.length; i++) { - for (int j = 0; j < trackViews[i].length; j++) { - trackViews[i][j].setChecked(override != null && override.groupIndex == i - && override.containsTrack(j)); - } - } - } - - // DialogInterface.OnClickListener - - @Override - public void onClick(DialogInterface dialog, int which) { - ParametersBuilder parametersBuilder = selector.buildUponParameters(); - parametersBuilder.setRendererDisabled(rendererIndex, isDisabled); - if (override != null) { - parametersBuilder.setSelectionOverride(rendererIndex, trackGroups, override); - } else { - parametersBuilder.clearSelectionOverrides(rendererIndex); - } - selector.setParameters(parametersBuilder); - } - - // View.OnClickListener - - @Override - public void onClick(View view) { - if (view == disableView) { - isDisabled = true; - override = null; - } else if (view == defaultView) { - isDisabled = false; - override = null; - } else { - isDisabled = false; - @SuppressWarnings("unchecked") - Pair tag = (Pair) view.getTag(); - int groupIndex = tag.first; - int trackIndex = tag.second; - if (!trackGroupsAdaptive[groupIndex] || override == null - || override.groupIndex != groupIndex) { - setOverride(groupIndex, trackIndex); - } else { - // The group being modified is adaptive and we already have a non-null override. - boolean isEnabled = ((CheckedTextView) view).isChecked(); - int overrideLength = override.length; - if (isEnabled) { - // Remove the track from the override. - if (overrideLength == 1) { - // The last track is being removed, so the override becomes empty. - override = null; - isDisabled = true; - } else { - setOverride(groupIndex, getTracksRemoving(override, trackIndex)); - } - } else { - // Add the track to the override. - setOverride(groupIndex, getTracksAdding(override, trackIndex)); - } - } - } - // Update the views with the new state. - updateViews(); - } - - private void setOverride(int group, int... tracks) { - override = new SelectionOverride(group, tracks); - } - - // Track array manipulation. - - private static int[] getTracksAdding(SelectionOverride override, int addedTrack) { - int[] tracks = override.tracks; - tracks = Arrays.copyOf(tracks, tracks.length + 1); - tracks[tracks.length - 1] = addedTrack; - return tracks; - } - - private static int[] getTracksRemoving(SelectionOverride override, int removedTrack) { - int[] tracks = new int[override.length - 1]; - int trackCount = 0; - for (int i = 0; i < tracks.length + 1; i++) { - int track = override.tracks[i]; - if (track != removedTrack) { - tracks[trackCount++] = track; - } - } - return tracks; - } - -} diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/DefaultTrackNameProvider.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/DefaultTrackNameProvider.java new file mode 100644 index 0000000000..fb54ca1bed --- /dev/null +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/DefaultTrackNameProvider.java @@ -0,0 +1,115 @@ +/* + * Copyright (C) 2018 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.android.exoplayer2.ui; + +import android.content.res.Resources; +import android.text.TextUtils; +import com.google.android.exoplayer2.C; +import com.google.android.exoplayer2.Format; +import com.google.android.exoplayer2.util.Assertions; +import com.google.android.exoplayer2.util.MimeTypes; +import com.google.android.exoplayer2.util.Util; + +import java.util.Locale; + +/** A default {@link TrackNameProvider}. */ +public class DefaultTrackNameProvider implements TrackNameProvider { + + private final Resources resources; + + /** @param resources Resources from which to obtain strings. */ + public DefaultTrackNameProvider(Resources resources) { + this.resources = Assertions.checkNotNull(resources); + } + + @Override + public String getTrackName(Format format) { + String trackName; + if (MimeTypes.isVideo(format.sampleMimeType)) { + trackName = joinWithSeparator(buildResolutionString(format), buildBitrateString(format)); + } else if (MimeTypes.isAudio(format.sampleMimeType)) { + trackName = + joinWithSeparator( + buildLanguageString(format), + buildAudioChannelString(format), + buildBitrateString(format)); + } else { + trackName = buildLanguageString(format); + } + return trackName.length() == 0 ? resources.getString(R.string.exo_track_unknown) : trackName; + } + + private String buildResolutionString(Format format) { + int width = format.width; + int height = format.height; + return width == Format.NO_VALUE || height == Format.NO_VALUE + ? "" + : resources.getString(R.string.exo_track_resolution, width, height); + } + + private String buildBitrateString(Format format) { + int bitrate = format.bitrate; + return bitrate == Format.NO_VALUE + ? "" + : resources.getString(R.string.exo_track_bitrate, bitrate / 1000000f); + } + + private String buildAudioChannelString(Format format) { + int channelCount = format.channelCount; + if (channelCount == Format.NO_VALUE || channelCount < 1) { + return ""; + } + switch (channelCount) { + case 1: + return resources.getString(R.string.exo_track_mono); + case 2: + return resources.getString(R.string.exo_track_stereo); + case 6: + case 7: + return resources.getString(R.string.exo_track_surround_5_point_1); + case 8: + return resources.getString(R.string.exo_track_surround_7_point_1); + default: + return resources.getString(R.string.exo_track_surround); + } + } + + private String buildLanguageString(Format format) { + String language = format.language; + return TextUtils.isEmpty(language) || C.LANGUAGE_UNDETERMINED.equals(language) + ? "" + : buildLanguageString(language); + } + + private String buildLanguageString(String language) { + Locale locale = Util.SDK_INT >= 21 ? Locale.forLanguageTag(language) : new Locale(language); + return locale.getDisplayLanguage(); + } + + private String joinWithSeparator(String... items) { + String itemList = ""; + for (String item : items) { + if (item.length() > 0) { + if (TextUtils.isEmpty(itemList)) { + itemList = item; + } else { + itemList = resources.getString(R.string.exo_item_list, itemList, item); + } + } + } + return itemList; + } +} diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackNameProvider.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackNameProvider.java new file mode 100644 index 0000000000..1b2b66010c --- /dev/null +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackNameProvider.java @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2018 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.android.exoplayer2.ui; + +import com.google.android.exoplayer2.Format; + +/** Converts {@link Format}s to user readable track names. */ +public interface TrackNameProvider { + + /** Returns a user readable track name for the given {@link Format}. */ + String getTrackName(Format format); +} diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java new file mode 100644 index 0000000000..45ccd783e7 --- /dev/null +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java @@ -0,0 +1,354 @@ +/* + * Copyright (C) 2018 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.android.exoplayer2.ui; + +import android.app.Activity; +import android.app.AlertDialog; +import android.app.Dialog; +import android.content.Context; +import android.content.DialogInterface; +import android.content.res.TypedArray; +import android.util.AttributeSet; +import android.util.Pair; +import android.view.LayoutInflater; +import android.view.View; +import android.widget.CheckedTextView; +import android.widget.LinearLayout; +import com.google.android.exoplayer2.RendererCapabilities; +import com.google.android.exoplayer2.source.TrackGroup; +import com.google.android.exoplayer2.source.TrackGroupArray; +import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; +import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride; +import com.google.android.exoplayer2.trackselection.MappingTrackSelector; +import com.google.android.exoplayer2.util.Assertions; +import java.util.Arrays; + +/** A view for making track selections. */ +public class TrackSelectionView extends LinearLayout { + + private final int selectableItemBackgroundResourceId; + private final LayoutInflater inflater; + private final CheckedTextView disableView; + private final CheckedTextView defaultView; + private final ComponentListener componentListener; + + private boolean allowAdaptiveSelections; + + private TrackNameProvider trackNameProvider; + private CheckedTextView[][] trackViews; + + private DefaultTrackSelector trackSelector; + private int rendererIndex; + private TrackGroupArray trackGroups; + private boolean isDisabled; + private SelectionOverride override; + + /** + * Gets a pair consisting of a dialog and the {@link TrackSelectionView} that will be shown by it. + * + * @param activity The parent activity. + * @param title The dialog's title. + * @param trackSelector The track selector. + * @param rendererIndex The index of the renderer. + * @return The dialog and the {@link TrackSelectionView} that will be shown by it. + */ + public static Pair getDialog( + Activity activity, + CharSequence title, + DefaultTrackSelector trackSelector, + int rendererIndex) { + AlertDialog.Builder builder = new AlertDialog.Builder(activity); + + // Inflate with the builder's context to ensure the correct style is used. + LayoutInflater dialogInflater = LayoutInflater.from(builder.getContext()); + View dialogView = dialogInflater.inflate(R.layout.exo_track_selection_dialog, null); + + final TrackSelectionView selectionView = dialogView.findViewById(R.id.exo_track_selection_view); + selectionView.init(trackSelector, rendererIndex); + Dialog.OnClickListener okClickListener = + new Dialog.OnClickListener() { + @Override + public void onClick(DialogInterface dialog, int which) { + selectionView.applySelection(); + } + }; + + AlertDialog dialog = + builder + .setTitle(title) + .setView(dialogView) + .setPositiveButton(android.R.string.ok, okClickListener) + .setNegativeButton(android.R.string.cancel, null) + .create(); + return Pair.create(dialog, selectionView); + } + + public TrackSelectionView(Context context) { + this(context, null); + } + + public TrackSelectionView(Context context, AttributeSet attrs) { + this(context, attrs, 0); + } + + public TrackSelectionView(Context context, AttributeSet attrs, int defStyleAttr) { + super(context, attrs, defStyleAttr); + TypedArray attributeArray = + context + .getTheme() + .obtainStyledAttributes(new int[] {android.R.attr.selectableItemBackground}); + selectableItemBackgroundResourceId = attributeArray.getResourceId(0, 0); + attributeArray.recycle(); + + inflater = LayoutInflater.from(context); + componentListener = new ComponentListener(); + trackNameProvider = new DefaultTrackNameProvider(getResources()); + + // View for disabling the renderer. + disableView = + (CheckedTextView) + inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); + disableView.setBackgroundResource(selectableItemBackgroundResourceId); + disableView.setText(R.string.exo_track_selection_none); + disableView.setEnabled(false); + disableView.setFocusable(true); + disableView.setOnClickListener(componentListener); + disableView.setVisibility(View.GONE); + addView(disableView); + // Divider view. + addView(inflater.inflate(R.layout.exo_list_divider, this, false)); + // View for clearing the override to allow the selector to use its default selection logic. + defaultView = + (CheckedTextView) + inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); + defaultView.setBackgroundResource(selectableItemBackgroundResourceId); + defaultView.setText(R.string.exo_track_selection_auto); + defaultView.setEnabled(false); + defaultView.setFocusable(true); + defaultView.setOnClickListener(componentListener); + addView(defaultView); + } + + /** + * Sets whether adaptive selections (consisting of more than one track) can be made using this + * selection view. + * + *

For the view to enable adaptive selection it is necessary both for this feature to be + * enabled, and for the target renderer to support adaptation between the available tracks. + * + * @param allowAdaptiveSelections Whether adaptive selection is enabled. + */ + public void setAllowAdaptiveSelections(boolean allowAdaptiveSelections) { + if (!this.allowAdaptiveSelections == allowAdaptiveSelections) { + this.allowAdaptiveSelections = allowAdaptiveSelections; + updateViews(); + } + } + + /** + * Sets whether an option is available for disabling the renderer. + * + * @param showDisableOption Whether the disable option is shown. + */ + public void setShowDisableOption(boolean showDisableOption) { + disableView.setVisibility(showDisableOption ? View.VISIBLE : View.GONE); + } + + /** + * Sets the {@link TrackNameProvider} used to generate the user visible name of each track. + * + * @param trackNameProvider The {@link TrackNameProvider} to use. + */ + public void setTrackNameProvider(TrackNameProvider trackNameProvider) { + this.trackNameProvider = Assertions.checkNotNull(trackNameProvider); + } + + /** + * Initialize the view to select tracks for a specified renderer using a {@link + * DefaultTrackSelector}. + * + * @param trackSelector The {@link DefaultTrackSelector}. + * @param rendererIndex The index of the renderer. + */ + public void init(DefaultTrackSelector trackSelector, int rendererIndex) { + this.trackSelector = trackSelector; + this.rendererIndex = rendererIndex; + updateViews(); + } + + // Private methods. + + private void updateViews() { + // Remove previous per-track views. + for (int i = getChildCount() - 1; i >= 3; i--) { + removeViewAt(i); + } + + if (trackSelector == null) { + // The view is not initialized. + disableView.setEnabled(false); + defaultView.setEnabled(false); + return; + } + disableView.setEnabled(true); + defaultView.setEnabled(true); + + MappingTrackSelector.MappedTrackInfo trackInfo = trackSelector.getCurrentMappedTrackInfo(); + trackGroups = trackInfo.getTrackGroups(rendererIndex); + + DefaultTrackSelector.Parameters parameters = trackSelector.getParameters(); + isDisabled = parameters.getRendererDisabled(rendererIndex); + override = parameters.getSelectionOverride(rendererIndex, trackGroups); + + // Add per-track views. + trackViews = new CheckedTextView[trackGroups.length][]; + for (int groupIndex = 0; groupIndex < trackGroups.length; groupIndex++) { + TrackGroup group = trackGroups.get(groupIndex); + boolean enableAdaptiveSelections = + allowAdaptiveSelections + && trackGroups.get(groupIndex).length > 1 + && trackInfo.getAdaptiveSupport(rendererIndex, groupIndex, false) + != RendererCapabilities.ADAPTIVE_NOT_SUPPORTED; + trackViews[groupIndex] = new CheckedTextView[group.length]; + for (int trackIndex = 0; trackIndex < group.length; trackIndex++) { + if (trackIndex == 0) { + addView(inflater.inflate(R.layout.exo_list_divider, this, false)); + } + int trackViewLayoutId = + enableAdaptiveSelections + ? android.R.layout.simple_list_item_multiple_choice + : android.R.layout.simple_list_item_single_choice; + CheckedTextView trackView = + (CheckedTextView) inflater.inflate(trackViewLayoutId, this, false); + trackView.setBackgroundResource(selectableItemBackgroundResourceId); + trackView.setText(trackNameProvider.getTrackName(group.getFormat(trackIndex))); + if (trackInfo.getTrackSupport(rendererIndex, groupIndex, trackIndex) + == RendererCapabilities.FORMAT_HANDLED) { + trackView.setFocusable(true); + trackView.setTag(Pair.create(groupIndex, trackIndex)); + trackView.setOnClickListener(componentListener); + } else { + trackView.setFocusable(false); + trackView.setEnabled(false); + } + trackViews[groupIndex][trackIndex] = trackView; + addView(trackView); + } + } + + updateViewStates(); + } + + private void updateViewStates() { + disableView.setChecked(isDisabled); + defaultView.setChecked(!isDisabled && override == null); + for (int i = 0; i < trackViews.length; i++) { + for (int j = 0; j < trackViews[i].length; j++) { + trackViews[i][j].setChecked( + override != null && override.groupIndex == i && override.containsTrack(j)); + } + } + } + + private void applySelection() { + DefaultTrackSelector.ParametersBuilder parametersBuilder = trackSelector.buildUponParameters(); + parametersBuilder.setRendererDisabled(rendererIndex, isDisabled); + if (override != null) { + parametersBuilder.setSelectionOverride(rendererIndex, trackGroups, override); + } else { + parametersBuilder.clearSelectionOverrides(rendererIndex); + } + trackSelector.setParameters(parametersBuilder); + } + + private void onClick(View view) { + if (view == disableView) { + onDisableViewClicked(); + } else if (view == defaultView) { + onDefaultViewClicked(); + } else { + onTrackViewClicked(view); + } + updateViewStates(); + } + + private void onDisableViewClicked() { + isDisabled = true; + override = null; + } + + private void onDefaultViewClicked() { + isDisabled = false; + override = null; + } + + private void onTrackViewClicked(View view) { + isDisabled = false; + @SuppressWarnings("unchecked") + Pair tag = (Pair) view.getTag(); + int groupIndex = tag.first; + int trackIndex = tag.second; + if (override == null || override.groupIndex != groupIndex || !allowAdaptiveSelections) { + // A new override is being started. + override = new SelectionOverride(groupIndex, trackIndex); + } else { + // An existing override is being modified. + boolean isEnabled = ((CheckedTextView) view).isChecked(); + int overrideLength = override.length; + if (isEnabled) { + // Remove the track from the override. + if (overrideLength == 1) { + // The last track is being removed, so the override becomes empty. + override = null; + isDisabled = true; + } else { + int[] tracks = getTracksRemoving(override.tracks, trackIndex); + override = new SelectionOverride(groupIndex, tracks); + } + } else { + int[] tracks = getTracksAdding(override.tracks, trackIndex); + override = new SelectionOverride(groupIndex, tracks); + } + } + } + + private static int[] getTracksAdding(int[] tracks, int addedTrack) { + tracks = Arrays.copyOf(tracks, tracks.length + 1); + tracks[tracks.length - 1] = addedTrack; + return tracks; + } + + private static int[] getTracksRemoving(int[] tracks, int removedTrack) { + int[] newTracks = new int[tracks.length - 1]; + int trackCount = 0; + for (int track : tracks) { + if (track != removedTrack) { + newTracks[trackCount++] = track; + } + } + return newTracks; + } + + // Internal classes. + + private class ComponentListener implements OnClickListener { + + @Override + public void onClick(View view) { + TrackSelectionView.this.onClick(view); + } + } +} diff --git a/demos/main/src/main/res/layout/list_divider.xml b/library/ui/src/main/res/layout/exo_list_divider.xml similarity index 100% rename from demos/main/src/main/res/layout/list_divider.xml rename to library/ui/src/main/res/layout/exo_list_divider.xml diff --git a/demos/main/src/main/res/layout/track_selection_dialog.xml b/library/ui/src/main/res/layout/exo_track_selection_dialog.xml similarity index 90% rename from demos/main/src/main/res/layout/track_selection_dialog.xml rename to library/ui/src/main/res/layout/exo_track_selection_dialog.xml index d7e9369e8b..2ad8e2ea9b 100644 --- a/demos/main/src/main/res/layout/track_selection_dialog.xml +++ b/library/ui/src/main/res/layout/exo_track_selection_dialog.xml @@ -17,7 +17,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent"> - diff --git a/library/ui/src/main/res/values-af/strings.xml b/library/ui/src/main/res/values-af/strings.xml index b6ce07d8c5..32abb6c97f 100644 --- a/library/ui/src/main/res/values-af/strings.xml +++ b/library/ui/src/main/res/values-af/strings.xml @@ -1,5 +1,5 @@ - + Vorige snit Volgende snit Onderbreek @@ -22,4 +22,13 @@ SMS Geen Outo + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-am/strings.xml b/library/ui/src/main/res/values-am/strings.xml index adc5154ed4..7a22c97795 100644 --- a/library/ui/src/main/res/values-am/strings.xml +++ b/library/ui/src/main/res/values-am/strings.xml @@ -1,5 +1,5 @@ - + ቀዳሚ ትራክ ቀጣይ ትራክ ላፍታ አቁም @@ -22,4 +22,13 @@ ጽሑፍ ምንም ራስ-ሰር + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ar/strings.xml b/library/ui/src/main/res/values-ar/strings.xml index 5a60833f6a..6c364f12fe 100644 --- a/library/ui/src/main/res/values-ar/strings.xml +++ b/library/ui/src/main/res/values-ar/strings.xml @@ -1,5 +1,5 @@ - + المقطع الصوتي السابق المقطع الصوتي التالي إيقاف مؤقت @@ -22,4 +22,13 @@ نص بدون اختيار تلقائي + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-az/strings.xml b/library/ui/src/main/res/values-az/strings.xml index a6ac950109..f04358534c 100644 --- a/library/ui/src/main/res/values-az/strings.xml +++ b/library/ui/src/main/res/values-az/strings.xml @@ -1,5 +1,5 @@ - + Əvvəlki trek Növbəti trek Pauza @@ -22,4 +22,13 @@ Mətn Yoxdur Avtomatik + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-b+sr+Latn/strings.xml b/library/ui/src/main/res/values-b+sr+Latn/strings.xml index edf607b099..d421cef9d5 100644 --- a/library/ui/src/main/res/values-b+sr+Latn/strings.xml +++ b/library/ui/src/main/res/values-b+sr+Latn/strings.xml @@ -1,5 +1,5 @@ - + Prethodna pesma Sledeća pesma Pauziraj @@ -12,14 +12,23 @@ Ponovi sve Pusti nasumično Režim celog ekrana - Download - Downloads - Downloading + Preuzmi + Preuzimanja + Preuzima se Preuzimanje je završeno Preuzimanje nije uspelo Video Audio - Text + Tekst Nijedna Automatski + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-be/strings.xml b/library/ui/src/main/res/values-be/strings.xml index eadc80da6d..b9c9787579 100644 --- a/library/ui/src/main/res/values-be/strings.xml +++ b/library/ui/src/main/res/values-be/strings.xml @@ -1,5 +1,5 @@ - + Папярэдні трэк Наступны трэк Паўза @@ -12,14 +12,23 @@ Паўтарыць усе Перамяшаць Поўнаэкранны рэжым - Download - Downloads - Downloading + Спампаваць + Спампоўкі + Спампоўваецца Спампоўка завершана Збой спампоўкі - Video - Audio - Text + Відэа + Аўдыя + Тэкст Няма Аўтаматычна + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-bg/strings.xml b/library/ui/src/main/res/values-bg/strings.xml index d349cf3dbf..9ca3ecaebd 100644 --- a/library/ui/src/main/res/values-bg/strings.xml +++ b/library/ui/src/main/res/values-bg/strings.xml @@ -1,5 +1,5 @@ - + Предишен запис Следващ запис Поставяне на пауза @@ -22,4 +22,13 @@ Текст Нищо Автоматично + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-bn/strings.xml b/library/ui/src/main/res/values-bn/strings.xml index efd0b52ac9..dbfe5ffa0a 100644 --- a/library/ui/src/main/res/values-bn/strings.xml +++ b/library/ui/src/main/res/values-bn/strings.xml @@ -1,5 +1,5 @@ - + আগের ট্র্যাক পরবর্তী ট্র্যাক পজ করুন @@ -20,6 +20,15 @@ Video Audio Text - None - Auto + কোনওটিই নয় + অটো + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-bs/strings.xml b/library/ui/src/main/res/values-bs/strings.xml index 50a877477b..f8b0b5455d 100644 --- a/library/ui/src/main/res/values-bs/strings.xml +++ b/library/ui/src/main/res/values-bs/strings.xml @@ -1,5 +1,5 @@ - + Prethodna numera Sljedeća numera Pauza @@ -22,4 +22,13 @@ Tekst Ništa Automatski + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ca/strings.xml b/library/ui/src/main/res/values-ca/strings.xml index 4bbabc2138..c8fbfbc038 100644 --- a/library/ui/src/main/res/values-ca/strings.xml +++ b/library/ui/src/main/res/values-ca/strings.xml @@ -1,5 +1,5 @@ - + Pista anterior Pista següent Posa en pausa @@ -12,14 +12,23 @@ Repeteix tot Reprodueix aleatòriament Mode de pantalla completa - Download - Downloads - Downloading + Baixa + Baixades + S\'està baixant S\'ha completat la baixada No s\'ha pogut baixar - Video - Audio + Vídeo + Àudio Text Cap Automàtica + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-cs/strings.xml b/library/ui/src/main/res/values-cs/strings.xml index 6c747a31f7..7fbe6afbf4 100644 --- a/library/ui/src/main/res/values-cs/strings.xml +++ b/library/ui/src/main/res/values-cs/strings.xml @@ -1,5 +1,5 @@ - + Předchozí skladba Další skladba Pozastavit @@ -12,14 +12,23 @@ Opakovat vše Náhodně Režim celé obrazovky - Download - Downloads - Downloading + Stáhnout + Stahování + Stahování Stahování bylo dokončeno Stažení se nezdařilo - Video - Audio - Text + Videa + Zvuk + SMS Žádné Automaticky + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-da/strings.xml b/library/ui/src/main/res/values-da/strings.xml index a0697cd457..33dd8380e3 100644 --- a/library/ui/src/main/res/values-da/strings.xml +++ b/library/ui/src/main/res/values-da/strings.xml @@ -1,5 +1,5 @@ - + Afspil forrige Afspil næste Sæt på pause @@ -14,12 +14,21 @@ Fuld skærm Download Downloads - Downloading + Downloader Downloaden er udført Download mislykkedes Video - Audio - Text + Lyd + Undertekst Ingen Automatisk + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-de/strings.xml b/library/ui/src/main/res/values-de/strings.xml index 27c6b55205..f25ab4e3b3 100644 --- a/library/ui/src/main/res/values-de/strings.xml +++ b/library/ui/src/main/res/values-de/strings.xml @@ -1,5 +1,5 @@ - + Vorheriger Titel Nächster Titel Pausieren @@ -12,9 +12,9 @@ Alle wiederholen Zufallsmix Vollbildmodus - Download + Herunterladen Downloads - Downloading + Wird heruntergeladen Download abgeschlossen Download fehlgeschlagen Video @@ -22,4 +22,13 @@ Text Keine Automatisch + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-el/strings.xml b/library/ui/src/main/res/values-el/strings.xml index 78904fc1d4..987d493804 100644 --- a/library/ui/src/main/res/values-el/strings.xml +++ b/library/ui/src/main/res/values-el/strings.xml @@ -1,5 +1,5 @@ - + Προηγούμενο κομμάτι Επόμενο κομμάτι Παύση @@ -12,14 +12,23 @@ Επανάληψη όλων Τυχαία αναπαραγωγή Λειτουργία πλήρους οθόνης - Download - Downloads - Downloading + Λήψη + Λήψεις + Λήψη Η λήψη ολοκληρώθηκε Η λήψη απέτυχε - Video - Audio - Text + Βίντεο + Ήχος + Κείμενο Κανένα Αυτόματο + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-en-rAU/strings.xml b/library/ui/src/main/res/values-en-rAU/strings.xml index c99584b2a0..274e2aa80e 100644 --- a/library/ui/src/main/res/values-en-rAU/strings.xml +++ b/library/ui/src/main/res/values-en-rAU/strings.xml @@ -1,5 +1,5 @@ - + Previous track Next track Pause @@ -22,4 +22,13 @@ Text None Auto + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-en-rGB/strings.xml b/library/ui/src/main/res/values-en-rGB/strings.xml index c99584b2a0..274e2aa80e 100644 --- a/library/ui/src/main/res/values-en-rGB/strings.xml +++ b/library/ui/src/main/res/values-en-rGB/strings.xml @@ -1,5 +1,5 @@ - + Previous track Next track Pause @@ -22,4 +22,13 @@ Text None Auto + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-en-rIN/strings.xml b/library/ui/src/main/res/values-en-rIN/strings.xml index c99584b2a0..274e2aa80e 100644 --- a/library/ui/src/main/res/values-en-rIN/strings.xml +++ b/library/ui/src/main/res/values-en-rIN/strings.xml @@ -1,5 +1,5 @@ - + Previous track Next track Pause @@ -22,4 +22,13 @@ Text None Auto + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-es-rUS/strings.xml b/library/ui/src/main/res/values-es-rUS/strings.xml index 8f47a0e867..5c7ea4df6e 100644 --- a/library/ui/src/main/res/values-es-rUS/strings.xml +++ b/library/ui/src/main/res/values-es-rUS/strings.xml @@ -1,5 +1,5 @@ - + Pista anterior Pista siguiente Pausar @@ -22,4 +22,13 @@ Texto Ninguna Automática + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-es/strings.xml b/library/ui/src/main/res/values-es/strings.xml index 2eef2157ac..38758af8ad 100644 --- a/library/ui/src/main/res/values-es/strings.xml +++ b/library/ui/src/main/res/values-es/strings.xml @@ -1,5 +1,5 @@ - + Pista anterior Siguiente pista Pausar @@ -12,14 +12,23 @@ Repetir todo Reproducir aleatoriamente Modo de pantalla completa - Download - Downloads - Downloading + Descargar + Descargas + Descargando Descarga de archivos completado No se ha podido descargar - Video + Vídeo Audio - Text + Texto Ninguna Automático + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-et/strings.xml b/library/ui/src/main/res/values-et/strings.xml index 953dd39843..c751756a19 100644 --- a/library/ui/src/main/res/values-et/strings.xml +++ b/library/ui/src/main/res/values-et/strings.xml @@ -1,5 +1,5 @@ - + Eelmine lugu Järgmine lugu Peata @@ -12,14 +12,23 @@ Korda kõiki Esita juhuslikus järjekorras Täisekraani režiim - Download - Downloads - Downloading + Allalaadimine + Allalaadimised + Allalaadimine Allalaadimine lõpetati Allalaadimine ebaõnnestus Video - Audio - Text + Heli + Tekst Ühtegi Automaatne + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-eu/strings.xml b/library/ui/src/main/res/values-eu/strings.xml index 571d5ff6b1..e9d28791a5 100644 --- a/library/ui/src/main/res/values-eu/strings.xml +++ b/library/ui/src/main/res/values-eu/strings.xml @@ -1,5 +1,5 @@ - + Aurreko pista Hurrengo pista Pausatu @@ -12,14 +12,23 @@ Errepikatu guztiak Erreproduzitu ausaz Pantaila osoko modua - Download - Downloads - Downloading + Deskargak + Deskargak + Deskargatzen Osatu da deskarga Ezin izan da deskargatu - Video - Audio - Text + Bideoa + Audioa + Testua Bat ere ez Automatikoa + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-fa/strings.xml b/library/ui/src/main/res/values-fa/strings.xml index 29f270d4a1..c3bfe49295 100644 --- a/library/ui/src/main/res/values-fa/strings.xml +++ b/library/ui/src/main/res/values-fa/strings.xml @@ -1,5 +1,5 @@ - + آهنگ قبلی آهنگ بعدی مکث @@ -12,14 +12,23 @@ تکرار همه درهم حالت تمام‌صفحه - Download - Downloads - Downloading + بارگیری + بارگیری‌ها + درحال بارگیری بارگیری کامل شد بارگیری نشد - Video - Audio - Text + ویدیو + صوتی + نوشتار هیچ‌کدام خودکار + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-fi/strings.xml b/library/ui/src/main/res/values-fi/strings.xml index c2d38e43b9..4418828548 100644 --- a/library/ui/src/main/res/values-fi/strings.xml +++ b/library/ui/src/main/res/values-fi/strings.xml @@ -1,5 +1,5 @@ - + Edellinen kappale Seuraava kappale Keskeytä @@ -22,4 +22,13 @@ Teksti Automaattinen + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-fr-rCA/strings.xml b/library/ui/src/main/res/values-fr-rCA/strings.xml index baedd6ab95..17a689d340 100644 --- a/library/ui/src/main/res/values-fr-rCA/strings.xml +++ b/library/ui/src/main/res/values-fr-rCA/strings.xml @@ -1,5 +1,5 @@ - + Chanson précédente Chanson suivante Pause @@ -22,4 +22,13 @@ Texte Aucun Auto + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-fr/strings.xml b/library/ui/src/main/res/values-fr/strings.xml index c2eeab1770..6daebe813b 100644 --- a/library/ui/src/main/res/values-fr/strings.xml +++ b/library/ui/src/main/res/values-fr/strings.xml @@ -1,5 +1,5 @@ - + Titre précédent Titre suivant Pause @@ -22,4 +22,13 @@ Texte Aucun Automatique + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-gl/strings.xml b/library/ui/src/main/res/values-gl/strings.xml index 3b50f86779..0a624ae54a 100644 --- a/library/ui/src/main/res/values-gl/strings.xml +++ b/library/ui/src/main/res/values-gl/strings.xml @@ -1,5 +1,5 @@ - + Pista anterior Pista seguinte Pausar @@ -22,4 +22,13 @@ Texto Ningunha pista Pista automática + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-gu/strings.xml b/library/ui/src/main/res/values-gu/strings.xml index bc2691b90d..6ae0f26273 100644 --- a/library/ui/src/main/res/values-gu/strings.xml +++ b/library/ui/src/main/res/values-gu/strings.xml @@ -1,5 +1,5 @@ - + પહેલાંનો ટ્રૅક આગલો ટ્રૅક થોભો @@ -20,6 +20,15 @@ Video Audio Text - None - Auto + એકપણ નહીં + આપમેળે + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-hi/strings.xml b/library/ui/src/main/res/values-hi/strings.xml index 2ca97822d4..9862e71714 100644 --- a/library/ui/src/main/res/values-hi/strings.xml +++ b/library/ui/src/main/res/values-hi/strings.xml @@ -1,5 +1,5 @@ - + पिछला ट्रैक अगला ट्रैक रोकें @@ -12,14 +12,23 @@ सभी को दोहराएं शफ़ल करें फ़ुलस्क्रीन मोड - Download - Downloads - Downloading + डाउनलोड करें + डाउनलोड की गई मीडिया फ़ाइलें + डाउनलोड हो रहा है डाउनलोड पूरा हुआ डाउनलोड नहीं हो सका - Video - Audio - Text - None - Auto + वीडियो + ऑडियो + लेख + कोई नहीं + अपने आप + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-hr/strings.xml b/library/ui/src/main/res/values-hr/strings.xml index 17f69efe8e..8c99e830d7 100644 --- a/library/ui/src/main/res/values-hr/strings.xml +++ b/library/ui/src/main/res/values-hr/strings.xml @@ -1,5 +1,5 @@ - + Prethodni zapis Sljedeći zapis Pauza @@ -22,4 +22,13 @@ Tekst Ništa Automatski + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-hu/strings.xml b/library/ui/src/main/res/values-hu/strings.xml index f466c3c712..7805860293 100644 --- a/library/ui/src/main/res/values-hu/strings.xml +++ b/library/ui/src/main/res/values-hu/strings.xml @@ -1,5 +1,5 @@ - + Előző szám Következő szám Szüneteltetés @@ -12,14 +12,23 @@ Összes szám ismétlése Keverés Teljes képernyős mód - Download - Downloads - Downloading + Letöltés + Letöltések + Letöltés folyamatban A letöltés befejeződött Nem sikerült a letöltés - Video - Audio - Text + Videó + Hang + Szöveg Nincs Automatikus + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-hy/strings.xml b/library/ui/src/main/res/values-hy/strings.xml index a69d84ff5c..49e254b3fe 100644 --- a/library/ui/src/main/res/values-hy/strings.xml +++ b/library/ui/src/main/res/values-hy/strings.xml @@ -1,5 +1,5 @@ - + Նախորդը Հաջորդը Դադարեցնել @@ -12,14 +12,23 @@ Կրկնել բոլորը Խառնել Լիաէկրան ռեժիմ - Download - Downloads - Downloading + Ներբեռնել + Ներբեռնումներ + Ներբեռնում Ներբեռնումն ավարտվեց Չհաջողվեց ներբեռնել - Video - Audio - Text + Տեսանյութ + Աուդիո + Տեքստ Ոչ մեկը Ավտոմատ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-in/strings.xml b/library/ui/src/main/res/values-in/strings.xml index 1cbbebc478..c5d4bd7306 100644 --- a/library/ui/src/main/res/values-in/strings.xml +++ b/library/ui/src/main/res/values-in/strings.xml @@ -1,5 +1,5 @@ - + Lagu sebelumnya Lagu berikutnya Jeda @@ -22,4 +22,13 @@ Teks Tidak ada Otomatis + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-is/strings.xml b/library/ui/src/main/res/values-is/strings.xml index c4534d43a1..2171a248fb 100644 --- a/library/ui/src/main/res/values-is/strings.xml +++ b/library/ui/src/main/res/values-is/strings.xml @@ -1,5 +1,5 @@ - + Fyrra lag Næsta lag Hlé @@ -12,14 +12,23 @@ Endurtaka allt Stokka Allur skjárinn - Download - Downloads - Downloading + Sækja + Niðurhal + Sækir Niðurhali lokið Niðurhal mistókst - Video - Audio - Text + Myndskeið + Hljóð + Texti Ekkert Sjálfvirkt + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-it/strings.xml b/library/ui/src/main/res/values-it/strings.xml index aa4df50d84..76cddbad30 100644 --- a/library/ui/src/main/res/values-it/strings.xml +++ b/library/ui/src/main/res/values-it/strings.xml @@ -1,5 +1,5 @@ - + Traccia precedente Traccia successiva Pausa @@ -22,4 +22,13 @@ Testo Nessuno Auto + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-iw/strings.xml b/library/ui/src/main/res/values-iw/strings.xml index 23f8bb91a9..4b73a52699 100644 --- a/library/ui/src/main/res/values-iw/strings.xml +++ b/library/ui/src/main/res/values-iw/strings.xml @@ -1,5 +1,5 @@ - + הרצועה הקודמת הרצועה הבאה השהיה @@ -12,14 +12,23 @@ חזור על הכול ערבוב מצב מסך מלא - Download - Downloads - Downloading + הורדה + הורדות + ההורדה מתבצעת ההורדה הושלמה ההורדה לא הושלמה - Video - Audio - Text + סרטון + אודיו + טקסט ללא אוטומטי + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ja/strings.xml b/library/ui/src/main/res/values-ja/strings.xml index 82f20bf04a..9e47df4074 100644 --- a/library/ui/src/main/res/values-ja/strings.xml +++ b/library/ui/src/main/res/values-ja/strings.xml @@ -1,5 +1,5 @@ - + 前のトラック 次のトラック 一時停止 @@ -22,4 +22,13 @@ SMS なし 自動 + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ka/strings.xml b/library/ui/src/main/res/values-ka/strings.xml index 0a128ece97..ee5f56e638 100644 --- a/library/ui/src/main/res/values-ka/strings.xml +++ b/library/ui/src/main/res/values-ka/strings.xml @@ -1,5 +1,5 @@ - + წინა ჩანაწერი შემდეგი ჩანაწერი პაუზა @@ -22,4 +22,13 @@ SMS არცერთი ავტომატური + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-kk/strings.xml b/library/ui/src/main/res/values-kk/strings.xml index ae3998ba23..a1f8e51525 100644 --- a/library/ui/src/main/res/values-kk/strings.xml +++ b/library/ui/src/main/res/values-kk/strings.xml @@ -1,5 +1,5 @@ - + Алдыңғы аудиотрек Келесі аудиотрек Кідірту @@ -12,14 +12,23 @@ Барлығын қайталау Араластыру Толық экран режимі - Download - Downloads - Downloading + Жүктеп алу + Жүктеп алынғандар + Жүктеп алынуда Жүктеп алынды Жүктеп алынбады - Video - Audio - Text + Бейне + Aудиомазмұн + Мәтін Ешқайсысы Автоматты + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-km/strings.xml b/library/ui/src/main/res/values-km/strings.xml index 03a8470176..c41c142e6e 100644 --- a/library/ui/src/main/res/values-km/strings.xml +++ b/library/ui/src/main/res/values-km/strings.xml @@ -1,5 +1,5 @@ - + សំនៀង​​មុន សំនៀង​បន្ទាប់ ផ្អាក @@ -22,4 +22,13 @@ អក្សរ គ្មាន ស្វ័យប្រវត្តិ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-kn/strings.xml b/library/ui/src/main/res/values-kn/strings.xml index 234d4687ec..bbfc473a8b 100644 --- a/library/ui/src/main/res/values-kn/strings.xml +++ b/library/ui/src/main/res/values-kn/strings.xml @@ -1,5 +1,5 @@ - + ಹಿಂದಿನ ಟ್ರ್ಯಾಕ್ ಮುಂದಿನ ಟ್ರ್ಯಾಕ್ ವಿರಾಮ @@ -20,6 +20,15 @@ Video Audio Text - None - Auto + ಯಾವುದೂ ಅಲ್ಲ + ಸ್ವಯಂ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ko/strings.xml b/library/ui/src/main/res/values-ko/strings.xml index 8631026373..62e0a66b85 100644 --- a/library/ui/src/main/res/values-ko/strings.xml +++ b/library/ui/src/main/res/values-ko/strings.xml @@ -1,5 +1,5 @@ - + 이전 트랙 다음 트랙 일시중지 @@ -22,4 +22,13 @@ 문자 메시지 없음 자동 + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ky/strings.xml b/library/ui/src/main/res/values-ky/strings.xml index ece255b02a..850189c8ac 100644 --- a/library/ui/src/main/res/values-ky/strings.xml +++ b/library/ui/src/main/res/values-ky/strings.xml @@ -1,5 +1,5 @@ - + Мурунку трек Кийинки трек Тындыруу @@ -12,14 +12,23 @@ Баарын кайталоо Аралаштыруу Толук экран режими - Download - Downloads - Downloading + Жүктөп алуу + Жүктөлүп алынгандар + Жүктөлүп алынууда Жүктөп алуу аяктады Жүктөлүп алынбай калды - Video - Audio - Text + Видео + Аудио + Текст Жок Авто + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-lo/strings.xml b/library/ui/src/main/res/values-lo/strings.xml index 8140dd0a22..70e8272a08 100644 --- a/library/ui/src/main/res/values-lo/strings.xml +++ b/library/ui/src/main/res/values-lo/strings.xml @@ -1,5 +1,5 @@ - + ເພງກ່ອນໜ້າ ເພງຕໍ່ໄປ ຢຸດຊົ່ວຄາວ @@ -12,14 +12,23 @@ ຫຼິ້ນຊ້ຳທັງໝົດ ຫຼີ້ນແບບສຸ່ມ ໂໝດເຕັມຈໍ - Download - Downloads - Downloading + ດາວໂຫລດ + ດາວໂຫລດ + ກຳລັງດາວໂຫລດ ດາວໂຫລດສຳເລັດແລ້ວ ດາວໂຫຼດບໍ່ສຳເລັດ - Video - Audio - Text + ວິດີໂອ + ສຽງ + ຂໍ້ຄວາມ ບໍ່ມີ ອັດຕະໂນມັດ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-lt/strings.xml b/library/ui/src/main/res/values-lt/strings.xml index 84a8b29dbe..659739b6d1 100644 --- a/library/ui/src/main/res/values-lt/strings.xml +++ b/library/ui/src/main/res/values-lt/strings.xml @@ -1,5 +1,5 @@ - + Ankstesnis takelis Kitas takelis Pristabdyti @@ -12,14 +12,23 @@ Kartoti viską Maišyti Viso ekrano režimas - Download - Downloads - Downloading + Atsisiųsti + Atsisiuntimai + Atsisiunčiama Atsisiuntimo procesas baigtas Nepavyko atsisiųsti - Video - Audio - Text + Vaizdo įrašas + Garso įrašas + Tekstas Nėra Automatinė + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-lv/strings.xml b/library/ui/src/main/res/values-lv/strings.xml index bc4199a49d..d70b6e2dfe 100644 --- a/library/ui/src/main/res/values-lv/strings.xml +++ b/library/ui/src/main/res/values-lv/strings.xml @@ -1,5 +1,5 @@ - + Iepriekšējais ieraksts Nākamais ieraksts Pauzēt @@ -12,14 +12,23 @@ Atkārtot visu Atskaņot jauktā secībā Pilnekrāna režīms - Download - Downloads - Downloading + Lejupielādēt + Lejupielādes + Notiek lejupielāde Lejupielāde ir pabeigta Lejupielāde neizdevās Video Audio - Text + Teksts Nav Automātisks + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-mk/strings.xml b/library/ui/src/main/res/values-mk/strings.xml index 236f323af6..4b6f0efd38 100644 --- a/library/ui/src/main/res/values-mk/strings.xml +++ b/library/ui/src/main/res/values-mk/strings.xml @@ -1,5 +1,5 @@ - + Претходна песна Следна песна Пауза @@ -22,4 +22,13 @@ Текст Нема Автоматскa + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ml/strings.xml b/library/ui/src/main/res/values-ml/strings.xml index f90f9161e6..c1f7880d63 100644 --- a/library/ui/src/main/res/values-ml/strings.xml +++ b/library/ui/src/main/res/values-ml/strings.xml @@ -1,5 +1,5 @@ - + മുമ്പത്തെ ട്രാക്ക് അടുത്ത ട്രാക്ക് തൽക്കാലം നിർത്തുക @@ -22,4 +22,13 @@ Text ഒന്നുമില്ല സ്വമേധയാ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-mn/strings.xml b/library/ui/src/main/res/values-mn/strings.xml index 54193e2fbf..1b87d7cdd5 100644 --- a/library/ui/src/main/res/values-mn/strings.xml +++ b/library/ui/src/main/res/values-mn/strings.xml @@ -1,5 +1,5 @@ - + Өмнөх бичлэг Дараагийн бичлэг Түр зогсоох @@ -22,4 +22,13 @@ Текст Байхгүй Автомат + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-mr/strings.xml b/library/ui/src/main/res/values-mr/strings.xml index 960af091a2..6a91474707 100644 --- a/library/ui/src/main/res/values-mr/strings.xml +++ b/library/ui/src/main/res/values-mr/strings.xml @@ -1,5 +1,5 @@ - + मागील ट्रॅक पुढील ट्रॅक विराम @@ -20,6 +20,15 @@ Video Audio Text - None - Auto + काहीही नाही + आपोआप + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ms/strings.xml b/library/ui/src/main/res/values-ms/strings.xml index 8fda8f7a5e..395f423870 100644 --- a/library/ui/src/main/res/values-ms/strings.xml +++ b/library/ui/src/main/res/values-ms/strings.xml @@ -1,5 +1,5 @@ - + Lagu sebelumnya Lagu seterusnya Jeda @@ -12,14 +12,23 @@ Ulang semua Rombak Mod skrin penuh - Download - Downloads - Downloading + Muat turun + Muat turun + Memuat turun Muat turun selesai Muat turun gagal Video Audio - Text + Teks Tiada Automatik + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-my/strings.xml b/library/ui/src/main/res/values-my/strings.xml index f1011309ab..db3293d157 100644 --- a/library/ui/src/main/res/values-my/strings.xml +++ b/library/ui/src/main/res/values-my/strings.xml @@ -1,5 +1,5 @@ - + ယခင် တစ်ပုဒ် နောက် တစ်ပုဒ် ခဏရပ်ရန် @@ -22,4 +22,13 @@ စာသား မရှိ အလိုအလျောက် + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-nb/strings.xml b/library/ui/src/main/res/values-nb/strings.xml index c214d619a8..1b0a87d8ed 100644 --- a/library/ui/src/main/res/values-nb/strings.xml +++ b/library/ui/src/main/res/values-nb/strings.xml @@ -1,5 +1,5 @@ - + Forrige spor Neste spor Sett på pause @@ -12,14 +12,23 @@ Gjenta alle Tilfeldig rekkefølge Fullskjermmodus - Download - Downloads - Downloading + Last ned + Nedlastinger + Laster ned Nedlastingen er fullført Nedlastingen mislyktes Video - Audio - Text + Lyd + Tekst Ingen Automatisk + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ne/strings.xml b/library/ui/src/main/res/values-ne/strings.xml index cfacf12fc8..52bef6cee8 100644 --- a/library/ui/src/main/res/values-ne/strings.xml +++ b/library/ui/src/main/res/values-ne/strings.xml @@ -1,5 +1,5 @@ - + अघिल्लो ट्रयाक अर्को ट्र्याक पज गर्नुहोस् @@ -20,6 +20,15 @@ Video Audio Text - None - Auto + कुनै पनि होइन + स्वतः + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-nl/strings.xml b/library/ui/src/main/res/values-nl/strings.xml index e349acbc54..727aa3cd58 100644 --- a/library/ui/src/main/res/values-nl/strings.xml +++ b/library/ui/src/main/res/values-nl/strings.xml @@ -1,5 +1,5 @@ - + Vorige track Volgende track Pauzeren @@ -22,4 +22,13 @@ Tekst Geen Auto + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-pa/strings.xml b/library/ui/src/main/res/values-pa/strings.xml index 60d060c299..d989c1aa79 100644 --- a/library/ui/src/main/res/values-pa/strings.xml +++ b/library/ui/src/main/res/values-pa/strings.xml @@ -1,5 +1,5 @@ - + ਪਿਛਲਾ ਟਰੈਕ ਅਗਲਾ ਟਰੈਕ ਰੋਕੋ @@ -20,6 +20,15 @@ Video Audio Text - None - Auto + ਕੋਈ ਨਹੀਂ + ਸਵੈਚਲਿਤ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-pl/strings.xml b/library/ui/src/main/res/values-pl/strings.xml index febd9ba864..740eaf501f 100644 --- a/library/ui/src/main/res/values-pl/strings.xml +++ b/library/ui/src/main/res/values-pl/strings.xml @@ -1,5 +1,5 @@ - + Poprzedni utwór Następny utwór Wstrzymaj @@ -12,14 +12,23 @@ Powtórz wszystkie Odtwarzanie losowe Tryb pełnoekranowy - Download - Downloads - Downloading + Pobierz + Pobieranie + Pobieram Zakończono pobieranie Nie udało się pobrać - Video - Audio - Text + Film + Dźwięk + Tekst Brak Automatycznie + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-pt-rPT/strings.xml b/library/ui/src/main/res/values-pt-rPT/strings.xml index d8f94a866e..ccd52f1343 100644 --- a/library/ui/src/main/res/values-pt-rPT/strings.xml +++ b/library/ui/src/main/res/values-pt-rPT/strings.xml @@ -1,5 +1,5 @@ - + Faixa anterior Faixa seguinte Colocar em pausa @@ -22,4 +22,13 @@ Texto Nenhuma Automático + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-pt/strings.xml b/library/ui/src/main/res/values-pt/strings.xml index ff4493f813..41d283b1b0 100644 --- a/library/ui/src/main/res/values-pt/strings.xml +++ b/library/ui/src/main/res/values-pt/strings.xml @@ -1,5 +1,5 @@ - + Faixa anterior Próxima faixa Pausar @@ -22,4 +22,13 @@ Texto Nenhuma Automática + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ro/strings.xml b/library/ui/src/main/res/values-ro/strings.xml index 39dedda4d8..362884d2d4 100644 --- a/library/ui/src/main/res/values-ro/strings.xml +++ b/library/ui/src/main/res/values-ro/strings.xml @@ -1,5 +1,5 @@ - + Melodia anterioară Următoarea înregistrare Întrerupeți @@ -22,4 +22,13 @@ Text Fără Automat + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ru/strings.xml b/library/ui/src/main/res/values-ru/strings.xml index ed8db945d3..b52f6b1a64 100644 --- a/library/ui/src/main/res/values-ru/strings.xml +++ b/library/ui/src/main/res/values-ru/strings.xml @@ -1,5 +1,5 @@ - + Предыдущий трек Следующий трек Приостановить @@ -12,14 +12,23 @@ Повторять все Перемешать Полноэкранный режим - Download - Downloads - Downloading + Скачать + Скачивания + Скачивание… Скачивание завершено Ошибка скачивания - Video - Audio - Text + Видео + Аудио + Текст Нет Авто + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-si/strings.xml b/library/ui/src/main/res/values-si/strings.xml index 918a61edc6..42685490e9 100644 --- a/library/ui/src/main/res/values-si/strings.xml +++ b/library/ui/src/main/res/values-si/strings.xml @@ -1,5 +1,5 @@ - + පෙර ඛණ්ඩය ඊළඟ ඛණ්ඩය විරාම කරන්න @@ -12,14 +12,23 @@ සියල්ල පුනරාවර්තනය කරන්න කලවම් කරන්න සම්පූර්ණ තිර ප්‍රකාරය - Download - Downloads - Downloading + බාගන්න + බාගැනීම් + බාගනිමින් බාගැනීම සම්පූර්ණ කරන ලදී බාගැනීම අසමත් විය - Video - Audio - Text + වීඩියෝ + ශ්‍රව්‍ය + පෙළ කිසිවක් නැත ස්වයං + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-sk/strings.xml b/library/ui/src/main/res/values-sk/strings.xml index 1762b5cddf..899e879b7c 100644 --- a/library/ui/src/main/res/values-sk/strings.xml +++ b/library/ui/src/main/res/values-sk/strings.xml @@ -1,5 +1,5 @@ - + Predchádzajúca skladba Ďalšia skladba Pozastaviť @@ -22,4 +22,13 @@ Text Žiadne Automaticky + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-sl/strings.xml b/library/ui/src/main/res/values-sl/strings.xml index e02e592bdd..d16e99ac47 100644 --- a/library/ui/src/main/res/values-sl/strings.xml +++ b/library/ui/src/main/res/values-sl/strings.xml @@ -1,5 +1,5 @@ - + Prejšnja skladba Naslednja skladba Zaustavitev @@ -12,14 +12,23 @@ Ponavljanje vseh Naključno predvajanje Celozaslonski način - Download - Downloads - Downloading + Prenos + Prenosi + Prenašanje Prenos je končan Prenos ni uspel - Video - Audio - Text + Videoposnetki + Zvočni posnetki + Podnapisi Nič Samodejno + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-sq/strings.xml b/library/ui/src/main/res/values-sq/strings.xml index f8dbfd80cb..18f6632f7d 100644 --- a/library/ui/src/main/res/values-sq/strings.xml +++ b/library/ui/src/main/res/values-sq/strings.xml @@ -1,5 +1,5 @@ - + Kënga e mëparshme Kënga tjetër Pauzë @@ -12,14 +12,23 @@ Përsërit të gjitha Përziej Modaliteti me ekran të plotë - Download - Downloads - Downloading + Shkarko + Shkarkimet + Po shkarkohet Shkarkimi përfundoi Shkarkimi dështoi Video Audio - Text + Tekst Asnjë Automatike + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-sr/strings.xml b/library/ui/src/main/res/values-sr/strings.xml index de5de4e507..016ea6966c 100644 --- a/library/ui/src/main/res/values-sr/strings.xml +++ b/library/ui/src/main/res/values-sr/strings.xml @@ -1,5 +1,5 @@ - + Претходна песма Следећа песма Паузирај @@ -12,14 +12,23 @@ Понови све Пусти насумично Режим целог екрана - Download - Downloads - Downloading + Преузми + Преузимања + Преузима се Преузимање је завршено Преузимање није успело - Video - Audio - Text + Видео + Аудио + Текст Ниједна Аутоматски + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-sv/strings.xml b/library/ui/src/main/res/values-sv/strings.xml index 662238f196..d0540a93a4 100644 --- a/library/ui/src/main/res/values-sv/strings.xml +++ b/library/ui/src/main/res/values-sv/strings.xml @@ -1,5 +1,5 @@ - + Föregående spår Nästa spår Pausa @@ -22,4 +22,13 @@ Text Ingen Automatiskt + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-sw/strings.xml b/library/ui/src/main/res/values-sw/strings.xml index 1aaa719a1f..2d4e7f4f07 100644 --- a/library/ui/src/main/res/values-sw/strings.xml +++ b/library/ui/src/main/res/values-sw/strings.xml @@ -1,5 +1,5 @@ - + Wimbo uliotangulia Wimbo unaofuata Sitisha @@ -12,14 +12,23 @@ Rudia zote Changanya Hali ya skrini nzima - Download - Downloads - Downloading + Pakua + Vipakuliwa + Inapakua Imepakuliwa Imeshindwa kupakua Video - Audio - Text + Sauti + SMS Hamna Otomatiki + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ta/strings.xml b/library/ui/src/main/res/values-ta/strings.xml index b2e3180fff..33454a4850 100644 --- a/library/ui/src/main/res/values-ta/strings.xml +++ b/library/ui/src/main/res/values-ta/strings.xml @@ -1,5 +1,5 @@ - + முந்தைய டிராக் அடுத்த டிராக் இடைநிறுத்து @@ -20,6 +20,15 @@ Video Audio Text - None - Auto + ஏதுமில்லை + தானியங்கு + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-te/strings.xml b/library/ui/src/main/res/values-te/strings.xml index 21020396d7..40df3b03a8 100644 --- a/library/ui/src/main/res/values-te/strings.xml +++ b/library/ui/src/main/res/values-te/strings.xml @@ -1,5 +1,5 @@ - + మునుపటి ట్రాక్ తదుపరి ట్రాక్ పాజ్ చేయండి @@ -22,4 +22,13 @@ Text ఏదీ కాదు స్వీయ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-th/strings.xml b/library/ui/src/main/res/values-th/strings.xml index 1ada178113..48647df5e3 100644 --- a/library/ui/src/main/res/values-th/strings.xml +++ b/library/ui/src/main/res/values-th/strings.xml @@ -1,5 +1,5 @@ - + แทร็กก่อนหน้า แทร็กถัดไป หยุด @@ -22,4 +22,13 @@ ข้อความ ไม่มี ยานยนต์ + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-tl/strings.xml b/library/ui/src/main/res/values-tl/strings.xml index 0ef0ca27c3..a8b082b43a 100644 --- a/library/ui/src/main/res/values-tl/strings.xml +++ b/library/ui/src/main/res/values-tl/strings.xml @@ -1,5 +1,5 @@ - + Nakaraang track Susunod na track I-pause @@ -22,4 +22,13 @@ Text Wala Awtomatiko + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-tr/strings.xml b/library/ui/src/main/res/values-tr/strings.xml index 7edb96c5e0..f56cf970e8 100644 --- a/library/ui/src/main/res/values-tr/strings.xml +++ b/library/ui/src/main/res/values-tr/strings.xml @@ -1,5 +1,5 @@ - + Önceki parça Sonraki parça Duraklat @@ -22,4 +22,13 @@ Metin Yok Otomatik + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-uk/strings.xml b/library/ui/src/main/res/values-uk/strings.xml index d5d3178d94..2a2c1d16fb 100644 --- a/library/ui/src/main/res/values-uk/strings.xml +++ b/library/ui/src/main/res/values-uk/strings.xml @@ -1,5 +1,5 @@ - + Попередня композиція Наступна композиція Призупинити @@ -22,4 +22,13 @@ Текст Нічого Автоматично + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-ur/strings.xml b/library/ui/src/main/res/values-ur/strings.xml index 8d41797872..d7e279a81d 100644 --- a/library/ui/src/main/res/values-ur/strings.xml +++ b/library/ui/src/main/res/values-ur/strings.xml @@ -1,5 +1,5 @@ - + پچھلا ٹریک اگلا ٹریک موقوف کریں @@ -12,14 +12,23 @@ سبھی کو دہرائیں شفل کریں پوری اسکرین والی وضع - Download - Downloads - Downloading + ڈاؤن لوڈ کریں + ڈاؤن لوڈز + ڈاؤن لوڈ ہو رہا ہے ڈاؤن لوڈ مکمل ہو گیا ڈاؤن لوڈ ناکام ہو گیا - Video - Audio - Text - None - Auto + ویڈیو + آڈیو + متن + کوئی نہیں + خودکار + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-uz/strings.xml b/library/ui/src/main/res/values-uz/strings.xml index 824eb00735..e98b17fbc9 100644 --- a/library/ui/src/main/res/values-uz/strings.xml +++ b/library/ui/src/main/res/values-uz/strings.xml @@ -1,5 +1,5 @@ - + Avvalgi trek Keyingi trek Pauza @@ -22,4 +22,13 @@ Matn Hech biri Avtomatik + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-vi/strings.xml b/library/ui/src/main/res/values-vi/strings.xml index 0ea5bbe6c0..ddfc3ee3a7 100644 --- a/library/ui/src/main/res/values-vi/strings.xml +++ b/library/ui/src/main/res/values-vi/strings.xml @@ -1,5 +1,5 @@ - + Bản nhạc trước Bản nhạc tiếp theo Tạm dừng @@ -22,4 +22,13 @@ Text Bỏ chọn tất cả Tự động + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-zh-rCN/strings.xml b/library/ui/src/main/res/values-zh-rCN/strings.xml index a5366f53b1..02e3c1740d 100644 --- a/library/ui/src/main/res/values-zh-rCN/strings.xml +++ b/library/ui/src/main/res/values-zh-rCN/strings.xml @@ -1,5 +1,5 @@ - + 上一曲 下一曲 暂停 @@ -12,14 +12,23 @@ 全部重复播放 随机播放 全屏模式 - Download - Downloads - Downloading + 下载 + 下载内容 + 正在下载 下载完毕 下载失败 - Video - Audio - Text + 视频 + 音频 + 文字 自动 + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-zh-rHK/strings.xml b/library/ui/src/main/res/values-zh-rHK/strings.xml index 3e6f893573..05b546c9dd 100644 --- a/library/ui/src/main/res/values-zh-rHK/strings.xml +++ b/library/ui/src/main/res/values-zh-rHK/strings.xml @@ -1,5 +1,5 @@ - + 上一首曲目 下一首曲目 暫停 @@ -12,14 +12,23 @@ 全部重複播放 隨機播放 全螢幕模式 - Download - Downloads - Downloading + 下載 + 下載內容 + 正在下載 下載完畢 下載失敗 - Video - Audio - Text + 影片 + 音訊 + 文字 自動 + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-zh-rTW/strings.xml b/library/ui/src/main/res/values-zh-rTW/strings.xml index 9703f98370..ab8e38e9c3 100644 --- a/library/ui/src/main/res/values-zh-rTW/strings.xml +++ b/library/ui/src/main/res/values-zh-rTW/strings.xml @@ -1,5 +1,5 @@ - + 上一首曲目 下一首曲目 暫停 @@ -12,14 +12,23 @@ 重複播放所有項目 隨機播放 全螢幕模式 - Download - Downloads - Downloading + 下載 + 下載 + 下載中 下載完成 無法下載 - Video - Audio - Text + 影片 + 音訊 + 文字 自動 + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values-zu/strings.xml b/library/ui/src/main/res/values-zu/strings.xml index ed93a8c90d..40447c6d7d 100644 --- a/library/ui/src/main/res/values-zu/strings.xml +++ b/library/ui/src/main/res/values-zu/strings.xml @@ -1,5 +1,5 @@ - + Ithrekhi yangaphambilini Ithrekhi elandelayo Phumula @@ -22,4 +22,13 @@ Umbhalo Lutho Okuzenzakalelayo + Unknown + %1$d × %2$d + Mono + Stereo + Surround sound + 5.1 surround sound + 7.1 surround sound + %1$.2f Mbps + %1$s, %2$s diff --git a/library/ui/src/main/res/values/strings.xml b/library/ui/src/main/res/values/strings.xml index fb0aa3b4c4..8080b0c6c8 100644 --- a/library/ui/src/main/res/values/strings.xml +++ b/library/ui/src/main/res/values/strings.xml @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + Previous track @@ -58,4 +58,22 @@ None Auto + + Unknown + + %1$d × %2$d + + Mono + + Stereo + + Surround sound + + 5.1 surround sound + + 7.1 surround sound + + %1$.2f Mbps + + %1$s, %2$s