[Android] res: XML-related preferences tweaking

Edward Wang git at videolan.org
Wed Mar 13 19:32:52 CET 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Mar 13 12:51:05 2013 -0400| [348006bc63fa644eb65370d44ab9bb5701b6e834] | committer: Edward Wang

res: XML-related preferences tweaking

- Preferences-related string tweaking
- Move verbose option to the advanced section
- Use the correct form of the word 'subtitle' in "subtitle text encoding"

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

 vlc-android/res/values/strings.xml  |   29 ++++++++++++++---------------
 vlc-android/res/xml/preferences.xml |   23 +++++++++++------------
 2 files changed, 25 insertions(+), 27 deletions(-)

diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index a86ad0a..cdd06e7 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -155,11 +155,13 @@
 
     <!-- Preferences -->
     <string name="preferences">Preferences</string>
-    <string name="library_prefs_category">Media Library</string>
-    <string name="directories_summary">Select the directories of your media library</string>
+    <string name="library_prefs_category">Media library</string>
+    <string name="directories_summary">Select directories to include in the media library</string>
+    <string name="add_custom_path">Add a custom path</string>
+    <string name="add_custom_path_description">Enter additional custom directory to scan:</string>
+    <string name="remove_custom_path">Remove custom path</string>
     <string name="main_prefs_category">Main</string>
-    <string name="screen_orientation">Screen orientation</string>
-    <string name="screen_orientation_summary">Default video screen orientation during playback</string>
+    <string name="screen_orientation">Video screen orientation</string>
     <string name="screen_orientation_sensor">Automatic (sensor)</string>
     <string name="screen_orientation_start_lock">Locked at start</string>
     <string name="screen_orientation_portrait">Portrait</string>
@@ -169,27 +171,27 @@
     <string name="enable_brightness_gesture">Enable brightness gesture</string>
     <string name="enable_brightness_gesture_summary">Control brightness by gesture during video playback</string>
     <string name="enable_headset_detection">Detect headset</string>
-    <string name="enable_headset_detection_summary">Pause on headset removed; resume on headset inserted</string>
+    <string name="enable_headset_detection_summary">Pause on headset removal; resume on headset insertion</string>
     <string name="enable_wheel_bar">Enable wheel bar</string>
-    <string name="enable_wheel_bar_summary">Alternate seek bar for the video interface</string>
+    <string name="enable_wheel_bar_summary">Alternate-style seek bar for the video interface</string>
     <string name="enable_steal_remote_control">Exclusive headset remote control</string>
     <string name="enable_steal_remote_control_summary">Avoid conflicts by stealing the remote control from other apps. This prevents dialing on double click on HTC phones.</string>
     <string name="performance_prefs_category">Performance</string>
-    <string name="chroma_format">Video Chroma</string>
-    <string name="chroma_format_summary">RGB 32-bit:\tdefault mode\nRGB 16-bit:\timprove performance but lower quality\nYUV:\tfastest performance but works only on some devices. Android 2.3 and later only</string>
+    <string name="chroma_format">Force video chroma</string>
+    <string name="chroma_format_summary">RGB 32-bit: default chroma\nRGB 16-bit: better performance but lower quality\nYUV: best performance but does not work on all devices. Android 2.3 and later only.</string>
     <string name="enable_iomx">Hardware accelerated decoding</string>
-    <string name="enable_iomx_summary">Enable Hardware accelerated decoding to improve performance. May not work with all devices.</string>
+    <string name="enable_iomx_summary">Improves performance, but may not work with all devices.</string>
     <string name="enable_time_stretching_audio">Time-stretching audio</string>
-    <string name="enable_time_stretching_audio_summary">Enable audio correction during speed up and slow down playback. Requires a fast device”</string>
+    <string name="enable_time_stretching_audio_summary">Speed up and slow down audio without changing the pitch (requires a fast device).</string>
     <string name="other_prefs_category">Other</string>
     <string name="clear_history">Clear search history</string>
     <string name="clear_media_db">Clear media database</string>
     <string name="media_db_cleared">Media database cleared!</string>
-    <string name="subtitles_text_encoding">Subtitles Text encoding</string>
+    <string name="subtitles_text_encoding">Subtitle text encoding</string>
     <string name="advanced_prefs_category">Advanced</string>
     <string name="advanced_debugging">Advanced debugging</string>
     <string name="aout">Audio output</string>
-    <string name="aout_summary">Change audio output in case of audio issue</string>
+    <string name="aout_summary">Change the method that VLC uses to output audio.</string>
     <string name="aout_audiotrack">AudioTrack (native)</string>
     <string name="aout_audiotrack_java">AudioTrack (Java)</string>
     <string name="aout_opensles">OpenSL ES</string>
@@ -199,9 +201,6 @@
     <string name="set_locale_detail">Leave blank to reset</string>
     <string name="set_locale_popup">Quit and reset VLC for changes to take effect.</string>
     <string name="quit">Quit application</string>
-    <string name="add_custom_path">Add a custom path</string>
-    <string name="add_custom_path_description">Enter additional custom directory to scan:</string>
-    <string name="remove_custom_path">Remove custom path</string>
 
     <string-array name="screen_orientation_list">
         <item>@string/screen_orientation_sensor</item>
diff --git a/vlc-android/res/xml/preferences.xml b/vlc-android/res/xml/preferences.xml
index 1e42aba..ec8c4c7 100644
--- a/vlc-android/res/xml/preferences.xml
+++ b/vlc-android/res/xml/preferences.xml
@@ -14,7 +14,6 @@
             android:entries="@array/screen_orientation_list"
             android:entryValues="@array/screen_orientation_values"
             android:key="screen_orientation"
-            android:summary="@string/screen_orientation_summary"
             android:title="@string/screen_orientation" />
         <CheckBoxPreference
             android:defaultValue="true"
@@ -67,30 +66,30 @@
             android:title="@string/subtitles_text_encoding" />
         <PreferenceScreen
             android:key="clear_history"
-            android:title="@string/clear_history" >
-        </PreferenceScreen>
+            android:title="@string/clear_history" />
         <Preference
             android:enabled="true"
             android:key="clear_media_db"
             android:title="@string/clear_media_db" />
     </PreferenceCategory>
-
-    <PreferenceCategory android:title="@string/advanced_prefs_category" >
-        <PreferenceScreen android:title="@string/advanced_debugging" >
-            <ListPreference
-                android:key="aout"
-                android:summary="@string/aout_summary"
-                android:title="@string/aout" />
-            <CheckBoxPreference
+    <PreferenceCategory android:title="@string/advanced_prefs_category">
+        <CheckBoxPreference
                 android:defaultValue="true"
                 android:key="enable_verbose_mode"
                 android:summary="@string/enable_verbose_mode_summary"
                 android:title="@string/enable_verbose_mode" />
+        <PreferenceScreen android:title="@string/advanced_debugging">
+            <ListPreference
+                android:key="aout"
+                android:summary="@string/aout_summary"
+                android:title="@string/aout" />
+
             <EditTextPreference
                 android:defaultValue=""
                 android:key="set_locale"
                 android:summary="@string/set_locale_detail"
                 android:title="@string/set_locale" />
+
             <Preference
                 android:enabled="true"
                 android:key="quit_app"
@@ -98,4 +97,4 @@
         </PreferenceScreen>
     </PreferenceCategory>
 
-</PreferenceScreen>
\ No newline at end of file
+</PreferenceScreen>



More information about the Android mailing list