[Android] res: Normalise the volume and brightness strings

Edward Wang git at videolan.org
Fri Mar 15 22:37:00 CET 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Mar 15 17:29:29 2013 -0400| [1ba4f26c8ecfe1f5b3c1ce6862fab87326707432] | committer: Edward Wang

res: Normalise the volume and brightness strings

It is better to be consistent and have the space in the code if we need it.

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

 vlc-android/res/values-de/strings.xml                              |    2 +-
 vlc-android/res/values-fr/strings.xml                              |    4 ++--
 vlc-android/res/values-it/strings.xml                              |    4 ++--
 vlc-android/res/values/strings.xml                                 |    4 ++--
 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/vlc-android/res/values-de/strings.xml b/vlc-android/res/values-de/strings.xml
index dd0a2ce..95f9d72 100644
--- a/vlc-android/res/values-de/strings.xml
+++ b/vlc-android/res/values-de/strings.xml
@@ -104,7 +104,7 @@
     <string name="track_unknown">Unbekannter Titel</string>
     <string name="track_codec_info">Codec: %1$s\n</string>
     <string name="track_language_info">Sprache: %1$s\n</string>
-    <string name="volume">\t\nLautstärke</string>
+    <string name="volume">Lautstärke</string>
     <string name="brightness">Helligkeit</string>
 
     <plurals name="track_channels_info_quantity">
diff --git a/vlc-android/res/values-fr/strings.xml b/vlc-android/res/values-fr/strings.xml
index 088ef80..83ee535 100644
--- a/vlc-android/res/values-fr/strings.xml
+++ b/vlc-android/res/values-fr/strings.xml
@@ -97,8 +97,8 @@
     <string name="track_unknown">Piste inconnue</string>
     <string name="track_codec_info">Codec: %1$s\n</string>
     <string name="track_language_info">Langue: %1$s\n</string>
-    <string name="volume">Volume </string>
-    <string name="brightness">Luminosité </string>
+    <string name="volume">Volume</string>
+    <string name="brightness">Luminosité</string>
     <plurals name="track_channels_info_quantity">
         <item quantity="one">%1$d canal\n</item>
         <item quantity="other">%1$d canaux\n</item>
diff --git a/vlc-android/res/values-it/strings.xml b/vlc-android/res/values-it/strings.xml
index e60034b..0e6f8b3 100644
--- a/vlc-android/res/values-it/strings.xml
+++ b/vlc-android/res/values-it/strings.xml
@@ -104,8 +104,8 @@
     <string name="track_unknown">Traccia sconosciuta</string>
     <string name="track_codec_info">Codificatore: %1$s\n</string>
     <string name="track_language_info">Lingua: %1$s\n</string>
-    <string name="volume">Volume </string>
-    <string name="brightness">Luminosità </string>
+    <string name="volume">Volume</string>
+    <string name="brightness">Luminosità</string>
 
     <plurals name="track_channels_info_quantity">
         <item quantity="one">%1$d canale\n</item>
diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index cdd06e7..63ee8c3 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -106,8 +106,8 @@
     <string name="track_unknown">Unknown track</string>
     <string name="track_codec_info">Codec: %1$s\n</string>
     <string name="track_language_info">Language: %1$s\n</string>
-    <string name="volume">Volume </string>
-    <string name="brightness">Brightness </string>
+    <string name="volume">Volume</string>
+    <string name="brightness">Brightness</string>
 
     <plurals name="track_channels_info_quantity">
         <item quantity="one">1 channel\n</item>
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 91df1b9..1191465 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -888,7 +888,7 @@ public class VideoPlayerActivity extends Activity {
             mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC,
                     vol, 0);
             mIsAudioOrBrightnessChanged = true;
-            showInfo(getString(R.string.volume) + Integer.toString(vol),1000);
+            showInfo(getString(R.string.volume) + '\u00A0' + Integer.toString(vol),1000);
         }
     }
 



More information about the Android mailing list