[Android] Use string to advertise video repeat

Geoffrey Métais git at videolan.org
Wed Aug 5 15:22:56 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Aug  5 15:12:13 2015 +0200| [b1762fcb2df4d7975134b83c3447be77ba75f9d4] | committer: Geoffrey Métais

Use string to advertise video repeat

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b1762fcb2df4d7975134b83c3447be77ba75f9d4
---

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 6fd8466..0e123cb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2053,11 +2053,11 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
             if (mService == null)
                 return false;
             if (mService.getRepeatType() == PlaybackService.RepeatType.Once) {
-                showInfo("repeat off");
+                showInfo(getString(R.string.repeat));
                 mService.setRepeatType(PlaybackService.RepeatType.None);
             } else {
                 mService.setRepeatType(PlaybackService.RepeatType.Once);
-                showInfo("repeat video");
+                showInfo(getString(R.string.repeat_single));
             }
             return true;
         }



More information about the Android mailing list