[Android] res: make deblocking-related string translatable

Edward Wang git at videolan.org
Sat Jun 22 21:10:48 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Jun 22 14:32:29 2013 -0400| [1757e73c2e9f253cb8e6f44fb5e4ba8e3d558a2a] | committer: Edward Wang

res: make deblocking-related string translatable

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

 vlc-android/res/values-fr/strings.xml |   11 ++++++++---
 vlc-android/res/values/strings.xml    |   19 ++++++++++++-------
 vlc-android/res/xml/preferences.xml   |    4 ++--
 3 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/vlc-android/res/values-fr/strings.xml b/vlc-android/res/values-fr/strings.xml
index 447c491..5e61f61 100644
--- a/vlc-android/res/values-fr/strings.xml
+++ b/vlc-android/res/values-fr/strings.xml
@@ -143,8 +143,9 @@
     <string name="add_custom_path_description">Entrer un répertoire additionnel à scanner:</string>
     <string name="remove_custom_path">Retirer le répertoire</string>
     <string name="main_prefs_category">Général</string>
+    <string name="automatic">Automatique</string>
     <string name="screen_orientation">Orientation vidéo</string>
-    <string name="screen_orientation_sensor">Automatique</string>
+    <string name="screen_orientation_sensor">Automatique (senseur)</string>
     <string name="screen_orientation_start_lock">Figé au démarrage</string>
     <string name="screen_orientation_portrait">Portrait</string>
     <string name="screen_orientation_landscape">Paysage</string>
@@ -165,8 +166,12 @@
     <string name="enable_iomx_summary">Active l\'accélération matérielle pour améliorer les performances. Ne fonctionne pas sur tous les appareils.</string>
     <string name="enable_time_stretching_audio">Correction audio</string>
     <string name="enable_time_stretching_audio_summary">Active la correction audio en lecture accélérée ou ralentie. Nécessite un appareil puissant</string>
-    <string name="enable_deblocking">Filtre de deblocking</string>
-    <string name="enable_deblocking_summary">Améliore la qualité mais nécessite un appareil puissant</string>
+    <string name="deblocking">Filtre de déblocage</string>
+    <string name="deblocking_summary">Améliore la qualité mais nécessite un appareil puissant</string>
+    <string name="deblocking_always">Toujours debloquer (0)</string>
+    <string name="deblocking_nonref">Pas de filtre de boucle pour non-ref (1)</string>
+    <string name="deblocking_nonkey">Pas de filtre de boucle pour non-key (3)</string>
+    <string name="deblocking_all">Pas de filtre de boucle pour tous (4)</string>
     <string name="other_prefs_category">Autre</string>
     <string name="clear_history">Supprimer l\'historique de vos recherches</string>
     <string name="clear_media_db">Réinitialiser votre bibliothèque multimédia</string>
diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 484eb4d..a2878b7 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -169,6 +169,7 @@
     <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="automatic">Automatic</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>
@@ -191,8 +192,12 @@
     <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">Speed up and slow down audio without changing the pitch (requires a fast device).</string>
-    <string name="enable_deblocking">Deblocking filter settings</string>
-    <string name="enable_deblocking_summary">Improves video quality but requires a fast device</string>
+    <string name="deblocking">Deblocking filter settings</string>
+    <string name="deblocking_summary">Change the deblocking filter settings. Could improve video quality. Advanced users only.</string>
+    <string name="deblocking_always">Always deblock (0)</string>
+    <string name="deblocking_nonref">Skip for non-ref (1)</string>
+    <string name="deblocking_nonkey">Skip for non-key (3)</string>
+    <string name="deblocking_all">Skip for all (4)</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>
@@ -221,11 +226,11 @@
     <string name="quit">Quit application</string>
 
     <string-array name="deblocking_list">
-        <item>Automatic</item>
-        <item>Always deblock (0)</item>
-        <item>Skip for non-ref (1)</item>
-        <item>Skip for non-key (3)</item>
-        <item>Skip for all (4)</item>
+        <item>@string/automatic</item>
+        <item>@string/deblocking_always</item>
+        <item>@string/deblocking_nonref</item>
+        <item>@string/deblocking_nonkey</item>
+        <item>@string/deblocking_all</item>
     </string-array>
     <string-array name="deblocking_values" translatable="false">
         <item>-1</item>
diff --git a/vlc-android/res/xml/preferences.xml b/vlc-android/res/xml/preferences.xml
index c695a95..58206b7 100644
--- a/vlc-android/res/xml/preferences.xml
+++ b/vlc-android/res/xml/preferences.xml
@@ -50,8 +50,8 @@
             android:entries="@array/deblocking_list"
             android:entryValues="@array/deblocking_values"
             android:key="deblocking"
-            android:title="@string/enable_deblocking"
-            android:summary="@string/enable_deblocking_summary" />
+            android:title="@string/deblocking"
+            android:summary="@string/deblocking_summary" />
         <CheckBoxPreference
             android:key="enable_iomx"
             android:summary="@string/enable_iomx_summary"



More information about the Android mailing list