[Android] Remove hardcoded string

Geoffrey Métais git at videolan.org
Mon Apr 18 17:23:44 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Apr 18 17:23:26 2016 +0200| [0e102361dcd8e0f9d644849313e8311a7f4c9d67] | committer: Geoffrey Métais

Remove hardcoded string

> https://code.videolan.org/videolan/vlc-android/commit/0e102361dcd8e0f9d644849313e8311a7f4c9d67
---

 vlc-android/src/org/videolan/vlc/gui/tv/MediaItemDetailsFragment.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/MediaItemDetailsFragment.java b/vlc-android/src/org/videolan/vlc/gui/tv/MediaItemDetailsFragment.java
index 9178535..08063fc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/MediaItemDetailsFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/MediaItemDetailsFragment.java
@@ -180,7 +180,7 @@ public class MediaItemDetailsFragment extends DetailsFragment implements Playbac
             else
                 detailsOverview.setImageBitmap(getActivity(), cover);
 
-            detailsOverview.addAction(new Action(ID_PLAY, "Play"));
+            detailsOverview.addAction(new Action(ID_PLAY, getString(R.string.play)));
             if (FileUtils.canWrite(media.getUri()))
                 detailsOverview.addAction(new Action(ID_DL_SUBS, getString(R.string.download_subtitles)));
         }



More information about the Android mailing list