summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-08-09 17:01:18 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-08-09 17:01:18 +0200
commit36455dd51a42ab745eef2927e05bb9412dad37d0 (patch)
tree6821dfa3fdef184533630c5cb80a30362d49cb89
parente32581ca5e32ef14b9f56133a51cb712533d7cdb (diff)
downloaddevice_samsung_i9100-36455dd51a42ab745eef2927e05bb9412dad37d0.zip
device_samsung_i9100-36455dd51a42ab745eef2927e05bb9412dad37d0.tar.gz
device_samsung_i9100-36455dd51a42ab745eef2927e05bb9412dad37d0.tar.bz2
settings: sensor and translation cleanup
-rw-r--r--DeviceSettings/res/values-de/strings.xml26
-rw-r--r--DeviceSettings/res/values-es/arrays.xml58
-rw-r--r--DeviceSettings/res/values-es/strings.xml39
-rw-r--r--DeviceSettings/res/values-fi/arrays.xml60
-rw-r--r--DeviceSettings/res/values-fi/strings.xml40
-rw-r--r--DeviceSettings/res/values-fr/arrays.xml51
-rw-r--r--DeviceSettings/res/values-fr/strings.xml34
-rw-r--r--DeviceSettings/res/values-hu/arrays.xml51
-rw-r--r--DeviceSettings/res/values-hu/strings.xml40
-rw-r--r--DeviceSettings/res/values-nl/arrays.xml50
-rw-r--r--DeviceSettings/res/values-nl/strings.xml40
-rwxr-xr-xDeviceSettings/res/values-pt-rBR/arrays.xml51
-rwxr-xr-xDeviceSettings/res/values-pt-rBR/strings.xml36
-rw-r--r--DeviceSettings/res/values/strings.xml14
-rw-r--r--DeviceSettings/res/xml/sensors_preferences.xml16
-rw-r--r--DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java4
-rw-r--r--DeviceSettings/src/com/cyanogenmod/settings/device/SensorsFragmentActivity.java22
17 files changed, 47 insertions, 585 deletions
diff --git a/DeviceSettings/res/values-de/strings.xml b/DeviceSettings/res/values-de/strings.xml
index 38d0f9b..990227d 100644
--- a/DeviceSettings/res/values-de/strings.xml
+++ b/DeviceSettings/res/values-de/strings.xml
@@ -19,15 +19,20 @@
<string name="touchscreen_sensitivity_title_head">Sensitivität</string>
<string name="touchscreen_sensitivity_summary_head">Setzt die Touchpanel Sensitivität</string>
- <string name="category_sensors_title">Sensoren</string>
- <string name="gyro_subcat_title">Gyroskop</string>
- <string name="use_gyro_calibration_title_head">Kalibierungsdaten</string>
- <string name="use_gyro_calibration_summary_head">Benutze Kalibrierungswerte. Bitte nach Aktivierung eine Kalibrierung durchführen!</string>
- <string name="calibrate_gyro_title_head">Kalibrieren</string>
- <string name="calibrate_gyro_summary_head">Lege dein Telefon auf einen geraden Untergrund und starte die Kalibrierung.</string>
- <string name="touchkey_subcat_title">Touch-Tasten</string>
- <string name="touchkey_light_title_head">Aktiviere Tastenbeleuchtung</string>
+ <string name="touchkey_subcat_title">Touchkeys</string>
+ <string name="touchkey_light_title_head">Aktiviere Beleuchtung</string>
<string name="touchkey_light_summary_head">Tasten leuchten auf während der Birdschirm aktiv ist</string>
+ <string name="touchkey_timeout_title_head">Zeitabschaltung der Beleuchtung</string>
+ <string name="touchkey_timeout_summary_head">Setze Zeit für automatische Abschaltung</string>
+
+ <string name="category_sensors_title">Sensoren</string>
+ <string name="accelerometer_subcat_title">Beschleunigungssensor</string>
+ <string name="use_accelerometer_calibration_title_head">Kalibierungsdaten</string>
+ <string name="use_accelerometer_calibration_summary_head">Benutze Kalibrierungswerte. Bitte nach Aktivierung eine Kalibrierung durchführen!</string>
+ <string name="calibrate_accelerometer_title_head">Kalibrieren</string>
+ <string name="calibrate_accelerometer_summary_head">Lege dein Telefon auf einen geraden Untergrund und starte die Kalibrierung.</string>
+ <string name="accelerometer_dialog_head">Kalibrierung beendet</string>
+ <string name="accelerometer_dialog_message">Der Sensor wurde erfolgreich kalibriert.</string>
<string name="category_haptic_title">Haptik</string>
<string name="vibrator_subcat_title">Vibrator</string>
@@ -37,4 +42,9 @@
<string name="category_radio_title">Mobilfunk</string>
<string name="hspa_title_head">HSPA</string>
<string name="hspa_summary_head">Aktiviert HSDPA/HSUPA</string>
+
+ <string name="category_dock_title">Dock</string>
+ <string name="dockaudio_subcat_title">Audio</string>
+ <string name="use_dock_audio_title_head">Use Dock USB Audio</string>
+ <string name="use_dock_audio_summary_head">Use the passive audio out on the dock</string>
</resources>
diff --git a/DeviceSettings/res/values-es/arrays.xml b/DeviceSettings/res/values-es/arrays.xml
deleted file mode 100644
index 8cf4fd9..0000000
--- a/DeviceSettings/res/values-es/arrays.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <string-array name="hspa_entries">
- <item>Solo UMTS</item>
- <item>Solo HSDPA</item>
- <item>HSDPA + HSUPA</item>
- </string-array>
-
- <string-array name="mdnie_scenario_entries">
- <item>Cámara (Predeterminado)</item>
- <item>Video</item>
- <item>Video Cálido</item>
- <item>Video Frío</item>
- <item>UI</item>
- <item>Navegación</item>
- <item>Galería</item>
- <item>VT</item>
- </string-array>
-
- <string-array name="mdnie_mode_entries">
- <item>Estándar (Predeterminado)</item>
- <item>Dinámico</item>
- <item>Natural</item>
- <item>Película</item>
- </string-array>
-
- <string-array name="mdnie_negative_entries">
- <item>Normal</item>
- <item>Invertido</item>
- </string-array>
-
- <string-array name="mdnie_outdoor_entries">
- <item>Desactivado (Predeterminado)</item>
- <item>Activado</item>
- </string-array>
-
- <string-array name="panel_gamma_entries">
- <item>2.2 (Predeterminado)</item>
- <item>1.9</item>
- </string-array>
-
- <string-array name="touchscreen_sensitivity_entries">
- <item>10</item>
- <item>20</item>
- <item>30</item>
- <item>50 (Predeterminado)</item>
- <item>70</item>
- <item>100</item>
- </string-array>
-
- <string-array name="vibrator_intensity_entries">
- <item>0%</item>
- <item>25%</item>
- <item>50% (Predeterminado)</item>
- <item>75%</item>
- <item>100%</item>
- </string-array>
-</resources>
diff --git a/DeviceSettings/res/values-es/strings.xml b/DeviceSettings/res/values-es/strings.xml
deleted file mode 100644
index 9090838..0000000
--- a/DeviceSettings/res/values-es/strings.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name">Ajustes de Galaxy S II</string>
-
- <string name="category_radio_title">Radio</string>
- <string name="hspa_title_head">HSPA</string>
- <string name="hspa_summary_head">Activar HSDPA/HSUPA</string>
-
- <string name="category_screen_title">Pantalla</string>
- <string name="screen_colors_title">Colores</string>
- <string name="mdnie_scenario_title_head">Escenario</string>
- <string name="mdnie_scenario_summary_head">Establecer el escenario mDNIe</string>
- <string name="mdnie_mode_title_head">Modo</string>
- <string name="mdnie_mode_summary_head">Establecer el modo mDNIe</string>
- <string name="mdnie_negative_title_head">Modo Negativo</string>
- <string name="mdnie_negative_summary_head">Activar/Desactivar los colores invertidos</string>
- <string name="mdnie_outdoor_title_head">Modo Exterior</string>
- <string name="mdnie_outdoor_summary_head">Activar/Desactivar el modo exterior</string>
- <string name="panel_gamma_title_head">Gamma</string>
- <string name="panel_gamma_summary_head">Establecer el valor gamma de la pantalla</string>
- <string name="touchscreen_subcat_title">Pantalla Táctil</string>
- <string name="touchscreen_sensitivity_title_head">Sensibilidad táctil</string>
- <string name="touchscreen_sensitivity_summary_head">Establecer la sensibilidad táctil de la pantalla</string>
-
- <string name="category_sensors_title">Sensores</string>
- <string name="gyro_subcat_title">Giroscopio</string>
- <string name="use_gyro_calibration_title_head">Usar datos de calibración</string>
- <string name="use_gyro_calibration_summary_head">Usar los datos de calibración del giroscopio. ¡Calibrar despues de activar!</string>
- <string name="calibrate_gyro_title_head">Calibrar</string>
- <string name="calibrate_gyro_summary_head">Colocar el dispositivo en una superficie plana y pulsar para calibrar</string>
- <string name="touchkey_subcat_title">Botones Táctiles</string>
- <string name="touchkey_light_title_head">Activar iluminación</string>
- <string name="touchkey_light_summary_head">Iluminar los botones táctiles al encender la pantalla</string>
-
- <string name="category_haptic_title">Háptica</string>
- <string name="vibrator_subcat_title">Vibración</string>
- <string name="vibrator_intensity_title_head">Intensidad de vibración</string>
- <string name="vibrator_intensity_summary_head">Establecer la intensidad de la vibración</string>
-</resources>
diff --git a/DeviceSettings/res/values-fi/arrays.xml b/DeviceSettings/res/values-fi/arrays.xml
deleted file mode 100644
index aaa4d82..0000000
--- a/DeviceSettings/res/values-fi/arrays.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <string-array name="mdnie_scenario_entries">
- <item>Kamera (Oletus)</item>
- <item>Video</item>
- <item>Video(Lämmin)</item>
- <item>Video(Kylmä)</item>
- <item>Käyttöliittymä</item>
- <item>Navigointi</item>
- <item>Galleria</item>
- <item>VT</item>
- </string-array>
-
- <string-array name="mdnie_mode_entries">
- <item>Standardi (Oletus)</item>
- <item>Dynaaminen</item>
- <item>Luonnollinen</item>
- <item>Elokuva</item>
- </string-array>
-
- <string-array name="mdnie_negative_entries">
- <item>Normaali</item>
- <item>Käänteinen</item>
- </string-array>
-
- <string-array name="mdnie_outdoor_entries">
- <item>Pois päältä (Oletus)</item>
- <item>Päällä</item>
- </string-array>
-
- <string-array name="panel_gamma_entries">
- <item>2.2 (Oletus)</item>
- <item>1.9</item>
- </string-array>
-
- <string-array name="touchscreen_sensitivity_entries">
- <item>10</item>
- <item>20</item>
- <item>30</item>
- <item>50 (Oletus)</item>
- <item>70</item>
- <item>100</item>
- </string-array>
-
- <string-array name="hspa_entries">
- <item>Vain UMTS</item>
- <item>Vain HSDPA</item>
- <item>HSDPA + HSUPA</item>
- </string-array>
-
- <string-array name="vibrator_intensity_entries">
- <item>0%</item>
- <item>25%</item>
- <item>50% (Oletus)</item>
- <item>75%</item>
- <item>100%</item>
- </string-array>
-
-
-</resources>
diff --git a/DeviceSettings/res/values-fi/strings.xml b/DeviceSettings/res/values-fi/strings.xml
deleted file mode 100644
index f09f214..0000000
--- a/DeviceSettings/res/values-fi/strings.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name">Galaxy S II-asetukset</string>
-
- <string name="category_screen_title">Näyttö</string>
- <string name="screen_colors_title">Värit</string>
- <string name="mdnie_scenario_title_head">Skenaario</string>
- <string name="mdnie_scenario_summary_head">Vaihda mDNIe-skenaario</string>
- <string name="mdnie_mode_title_head">Tila</string>
- <string name="mdnie_mode_summary_head">Vaihda mDNIe-tila</string>
- <string name="mdnie_negative_title_head">Negatiivi-tila</string>
- <string name="mdnie_negative_summary_head">Käytä käänteisiä värejä</string>
- <string name="mdnie_outdoor_title_head">Ulkoilma-tila</string>
- <string name="mdnie_outdoor_summary_head">Ota ulkoilma-tila käyttöön</string>
- <string name="panel_gamma_title_head">Näytön gamma</string>
- <string name="panel_gamma_summary_head">Säädä näytön gamma-arvo</string>
-
- <string name="touchscreen_subcat_title">Kosketusnäyttö</string>
- <string name="touchscreen_sensitivity_title_head">Kosketuksen herkkyys</string>
- <string name="touchscreen_sensitivity_summary_head">Säädä näytön herkkyyttä</string>
-
- <string name="category_sensors_title">Sensorit</string>
- <string name="gyro_subcat_title">Gyroskooppi</string>
- <string name="use_gyro_calibration_title_head">Käytä kalibrointitietoja</string>
- <string name="use_gyro_calibration_summary_head">Käytä gyroskoopin kalibrointiarvoja. Kalibroi merkattuasi tämän!</string>
- <string name="calibrate_gyro_title_head">Kalibroi</string>
- <string name="calibrate_gyro_summary_head">Aseta puhelin tasaiselle alustalle ja paina tätä kalibroidaksesi</string>
- <string name="touchkey_subcat_title">Kosketusnäppäin</string>
- <string name="touchkey_light_title_head">Ota näppäinvalot käyttöön</string>
- <string name="touchkey_light_summary_head">Valot syttyvät kun näyttö on päällä</string>
-
- <string name="category_haptic_title">Haptinen</string>
- <string name="vibrator_subcat_title">Värinä</string>
- <string name="vibrator_intensity_title_head">Värinän voimakkuus</string>
- <string name="vibrator_intensity_summary_head">Säädä värinän voimakkuutta</string>
-
- <string name="category_radio_title">Radio</string>
- <string name="hspa_title_head">HSPA</string>
- <string name="hspa_summary_head">Ota HSDPA/HSUPA käyttöön</string>
-</resources>
diff --git a/DeviceSettings/res/values-fr/arrays.xml b/DeviceSettings/res/values-fr/arrays.xml
deleted file mode 100644
index d421873..0000000
--- a/DeviceSettings/res/values-fr/arrays.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <string-array name="mdnie_scenario_entries">
- <item>Caméra (Par défaut)</item>
- <item>Vidéo</item>
- <item>Vidéo (chaud)</item>
- <item>Video (froid)</item>
- <item>UI</item>
- <item>Navigation</item>
- <item>Gallerie</item>
- <item>VT</item>
- </string-array>
-
- <string-array name="mdnie_mode_entries">
- <item>Standard (Par défaut)</item>
- <item>Dynamique</item>
- <item>Naturel</item>
- <item>Vidéo</item>
- </string-array>
-
- <string-array name="mdnie_negative_entries">
- <item>Normal</item>
- <item>Inversé</item>
- </string-array>
-
- <string-array name="mdnie_outdoor_entries">
- <item>Inactif (Par défaut)</item>
- <item>Actif</item>
- </string-array>
-
- <string-array name="panel_gamma_entries">
- <item>2.2 (Par défaut)</item>
- <item>1.9</item>
- </string-array>
-
- <string-array name="touchscreen_sensitivity_entries">
- <item>10</item>
- <item>20</item>
- <item>30</item>
- <item>50 (Par défaut)</item>
- <item>70</item>
- <item>100</item>
- </string-array>
-
- <string-array name="hspa_entries">
- <item>UMTS seulement</item>
- <item>HSDPA seulement</item>
- <item>HSDPA + HSUPA</item>
- </string-array>
-
-</resources>
diff --git a/DeviceSettings/res/values-fr/strings.xml b/DeviceSettings/res/values-fr/strings.xml
deleted file mode 100644
index 6cb7695..0000000
--- a/DeviceSettings/res/values-fr/strings.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name">Paramètres Galaxy S II</string>
-
- <string name="category_screen_title">Ecran</string>
- <string name="screen_colors_title">Couleurs</string>
- <string name="mdnie_scenario_title_head">Scénario</string>
- <string name="mdnie_scenario_summary_head">Définit le scénario mDNIe</string>
- <string name="mdnie_mode_title_head">Mode</string>
- <string name="mdnie_mode_summary_head">Définit le mode mDNIe</string>
- <string name="mdnie_negative_title_head">Mode négatif</string>
- <string name="mdnie_negative_summary_head">Active/désactive les couleurs inversées</string>
- <string name="mdnie_outdoor_title_head">Mode extérieur</string>
- <string name="mdnie_outdoor_summary_head">Active/désactive le mode extérieur</string>
- <string name="panel_gamma_title_head">Gamma écran</string>
- <string name="panel_gamma_summary_head">Définit la valeur de gamma de l\'écran</string>
- <string name="touchscreen_subcat_title">Tactile</string>
- <string name="touchscreen_sensitivity_title_head">Sensibilité</string>
- <string name="touchscreen_sensitivity_summary_head">Définit la sensibilité du toucher</string>
-
- <string name="category_sensors_title">Capteurs</string>
- <string name="gyro_subcat_title">Gyroscope</string>
- <string name="use_gyro_calibration_title_head">Utiliser données de calibration</string>
- <string name="use_gyro_calibration_summary_head">Utiliser les données de calibration du gyroscope. Faites une calibration après avoir coché!</string>
- <string name="calibrate_gyro_title_head">Calibrer</string>
- <string name="calibrate_gyro_summary_head">Posez le téléphone à plat, puis appuyez sur ce bouton pour effecter la calibration.</string>
- <string name="touchkey_subcat_title">Touches tactiles</string>
- <string name="touchkey_light_title_head">Activer l\'éclairage</string>
- <string name="touchkey_light_summary_head">Illumine les touches tactiles quand l\'écran est activé.</string>
-
- <string name="category_radio_title">Radio</string>
- <string name="hspa_title_head">HSPA</string>
- <string name="hspa_summary_head">Activer HSDPA/HSUPA</string>
-</resources>
diff --git a/DeviceSettings/res/values-hu/arrays.xml b/DeviceSettings/res/values-hu/arrays.xml
deleted file mode 100644
index ee1f831..0000000
--- a/DeviceSettings/res/values-hu/arrays.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <string-array name="mdnie_scenario_entries">
- <item>Kamera (Alapbeállítás)</item>
- <item>Videó</item>
- <item>Videó (Meleg árnyalat)</item>
- <item>Videó (Hideg árnyalat)</item>
- <item>Felhasználói felület</item>
- <item>Navigáció</item>
- <item>Galéria</item>
- <item>VT</item>
- </string-array>
-
- <string-array name="mdnie_mode_entries">
- <item>Hagyományos (Alapbeállítás)</item>
- <item>Dinamikus</item>
- <item>Természetes</item>
- <item>Film</item>
- </string-array>
-
- <string-array name="mdnie_negative_entries">
- <item>Hagyományos</item>
- <item>Fordított</item>
- </string-array>
-
- <string-array name="mdnie_outdoor_entries">
- <item>Kikapcsolva (Alapbeállítás)</item>
- <item>Bekapcsolva</item>
- </string-array>
-
- <string-array name="panel_gamma_entries">
- <item>2.2 (Alapbeállítás)</item>
- <item>1.9</item>
- </string-array>
-
- <string-array name="touchscreen_sensitivity_entries">
- <item>10</item>
- <item>20</item>
- <item>30</item>
- <item>50 (Alapbeállítás)</item>
- <item>70</item>
- <item>100</item>
- </string-array>
-
- <string-array name="hspa_entries">
- <item>UMTS</item>
- <item>HSDPA</item>
- <item>HSDPA + HSUPA</item>
- </string-array>
-
-</resources>
diff --git a/DeviceSettings/res/values-hu/strings.xml b/DeviceSettings/res/values-hu/strings.xml
deleted file mode 100644
index 4f34a25..0000000
--- a/DeviceSettings/res/values-hu/strings.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name">Galaxy S II Beállítások</string>
-
- <string name="category_screen_title">Kijelző</string>
- <string name="screen_colors_title">Színek</string>
- <string name="mdnie_scenario_title_head">Megjelenítés</string>
- <string name="mdnie_scenario_summary_head">mDNIe megjelenítési beállítások</string>
- <string name="mdnie_mode_title_head">Üzemmód</string>
- <string name="mdnie_mode_summary_head">mDNIe üzemmódok</string>
- <string name="mdnie_negative_title_head">Negatív üzemmód</string>
- <string name="mdnie_negative_summary_head">Fordított színek ki/be</string>
- <string name="mdnie_outdoor_title_head">Szabadtéri üzemmód</string>
- <string name="mdnie_outdoor_summary_head">Szabadtéri üzemmód ki/be</string>
- <string name="panel_gamma_title_head">Kijelző gamma-értéke</string>
- <string name="panel_gamma_summary_head">Kijelző gamma-érték beállítása</string>
-
- <string name="touchscreen_subcat_title">Érintőképernyő</string>
- <string name="touchscreen_sensitivity_title_head">Érzékenység</string>
- <string name="touchscreen_sensitivity_summary_head">Érintőképernyő érzékenységének beállítása</string>
-
- <string name="category_sensors_title">Szenzorok</string>
- <string name="gyro_subcat_title">Giroszkóp</string>
- <string name="use_gyro_calibration_title_head">Kalibrálási érték használata</string>
- <string name="use_gyro_calibration_summary_head">Kalibrálási érték használata. Érdemes újra kalibrálni, ha ez a funkció használatban van!</string>
- <string name="calibrate_gyro_title_head">Kalibrálás</string>
- <string name="calibrate_gyro_summary_head">Kalibráláshoz a telefont vízszintes felületre kell helyezni, és megérinteni ezt a gombot</string>
- <string name="touchkey_subcat_title">Érintőgombok</string>
- <string name="touchkey_light_title_head">Érintőgombok háttérvilágítása</string>
- <string name="touchkey_light_summary_head">Bekapcsolja az érintőgombok háttérvilágítását bekapcsolt képernyőnél</string>
-
- <string name="category_haptic_title">Érintési visszajelzés</string>
- <string name="vibrator_subcat_title">Rezgés</string>
- <string name="vibrator_intensity_title_head">Rezgés erőssége</string>
- <string name="vibrator_intensity_summary_head">Rezgés erősségének beállítása</string>
-
- <string name="category_radio_title">GSM rádió</string>
- <string name="hspa_title_head">HSPA</string>
- <string name="hspa_summary_head">HSDPA/HSUPA engedélyezése</string>
-</resources>
diff --git a/DeviceSettings/res/values-nl/arrays.xml b/DeviceSettings/res/values-nl/arrays.xml
deleted file mode 100644
index ab28dc7..0000000
--- a/DeviceSettings/res/values-nl/arrays.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <string-array name="mdnie_scenario_entries">
- <item>Camera (standaard)</item>
- <item>Video</item>
- <item>Video (warm)</item>
- <item>Video (koud)</item>
- <item>Uiterlijk</item>
- <item>Navigatie</item>
- <item>Galerij</item>
- <item>VT</item>
- </string-array>
- <string-array name="mdnie_mode_entries">
- <item>Standaard</item>
- <item>Dynamisch</item>
- <item>Natuurlijk</item>
- <item>Film</item>
- </string-array>
- <string-array name="mdnie_negative_entries">
- <item>Normaal</item>
- <item>Omgedraaid</item>
- </string-array>
- <string-array name="mdnie_outdoor_entries">
- <item>Uit (standaard)</item>
- <item>Aan</item>
- </string-array>
- <string-array name="panel_gamma_entries">
- <item>2,2 (standaard)</item>
- <item>1,9</item>
- </string-array>
- <string-array name="touchscreen_sensitivity_entries">
- <item>10</item>
- <item>20</item>
- <item>30</item>
- <item>50 (standaard)</item>
- <item>70</item>
- <item>100</item>
- </string-array>
- <string-array name="vibrator_intensity_entries">
- <item>0%</item>
- <item>25%</item>
- <item>50% (standaard)</item>
- <item>75%</item>
- <item>100%</item>
- </string-array>
- <string-array name="hspa_entries">
- <item>Alleen UMTS</item>
- <item>Alleen HSDPA</item>
- <item>HSDPA &amp; HSUPA</item>
- </string-array>
-</resources>
diff --git a/DeviceSettings/res/values-nl/strings.xml b/DeviceSettings/res/values-nl/strings.xml
deleted file mode 100644
index 86be405..0000000
--- a/DeviceSettings/res/values-nl/strings.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name">Galaxy S II-instellingen</string>
-
- <string name="category_screen_title">Scherm</string>
- <string name="screen_colors_title">Kleuren</string>
- <string name="mdnie_scenario_title_head">Scenario</string>
- <string name="mdnie_scenario_summary_head">mDNIe-scenario instellen</string>
- <string name="mdnie_mode_title_head">Modus</string>
- <string name="mdnie_mode_summary_head">mDNIe-modus instellen</string>
- <string name="mdnie_negative_title_head">Negatieve modus</string>
- <string name="mdnie_negative_summary_head">Negatieve kleuren in-/uitschakelen</string>
- <string name="mdnie_outdoor_title_head">Buitenmodus</string>
- <string name="mdnie_outdoor_summary_head">Buitenmodus in-/uitschakelen</string>
- <string name="panel_gamma_title_head">Schermgamma</string>
- <string name="panel_gamma_summary_head">Schermgammawaarden instellen</string>
-
- <string name="touchscreen_subcat_title">Aanraakscherm</string>
- <string name="touchscreen_sensitivity_title_head">Aanraakgevoeligheid</string>
- <string name="touchscreen_sensitivity_summary_head">Gevoeligheid aanraakscherm instellen</string>
-
- <string name="category_sensors_title">Sensoren</string>
- <string name="gyro_subcat_title">Gyroscoop</string>
- <string name="use_gyro_calibration_title_head">Kalibratiegegevens gebruiken</string>
- <string name="use_gyro_calibration_summary_head">Gebruik de kalibratiewaarden van de gyroscoop. Gelieve hierna een kalibratie te doen.</string>
- <string name="calibrate_gyro_title_head">Kalibreren</string>
- <string name="calibrate_gyro_summary_head">Plaats de telefoon op een vlakke ondergrond en tik hier om te kalibreren</string>
- <string name="touchkey_subcat_title">Aanraakknop</string>
- <string name="touchkey_light_title_head">Achtergrondlicht bij knoppen inschakelen</string>
- <string name="touchkey_light_summary_head">Aanraakknoppen oplichten indien scherm aan is</string>
-
- <string name="category_haptic_title">Haptisch</string>
- <string name="vibrator_subcat_title">Trillen</string>
- <string name="vibrator_intensity_title_head">Trilintensiteit</string>
- <string name="vibrator_intensity_summary_head">Trilintensiteit instellen</string>
-
- <string name="category_radio_title">Radio</string>
- <string name="hspa_title_head">HSPA</string>
- <string name="hspa_summary_head">HSDPA/HSUPA inschakelen</string>
-</resources>
diff --git a/DeviceSettings/res/values-pt-rBR/arrays.xml b/DeviceSettings/res/values-pt-rBR/arrays.xml
deleted file mode 100755
index e98a6c6..0000000
--- a/DeviceSettings/res/values-pt-rBR/arrays.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <string-array name="mdnie_scenario_entries">
- <item>Câmera (Padrão)</item>
- <item>Vídeo</item>
- <item>Vídeo Quente</item>
- <item>Vídeo Frio</item>
- <item>IU</item>
- <item>Navegação</item>
- <item>Galeria</item>
- <item>VT</item>
- </string-array>
-
- <string-array name="mdnie_mode_entries">
- <item>Padrão</item>
- <item>Dinâmico</item>
- <item>Natural</item>
- <item>Filme</item>
- </string-array>
-
- <string-array name="mdnie_negative_entries">
- <item>Normal</item>
- <item>Invertido</item>
- </string-array>
-
- <string-array name="mdnie_outdoor_entries">
- <item>Desligado (Padrão)</item>
- <item>Ligado</item>
- </string-array>
-
- <string-array name="panel_gamma_entries">
- <item>2.2 (Padrão)</item>
- <item>1.9</item>
- </string-array>
-
- <string-array name="touchscreen_sensitivity_entries">
- <item>10</item>
- <item>20</item>
- <item>30</item>
- <item>50 (Padrão)</item>
- <item>70</item>
- <item>100</item>
- </string-array>
-
- <string-array name="hspa_entries">
- <item>Somente UMTS</item>
- <item>Somente HSDPA</item>
- <item>HSDPA + HSUPA</item>
- </string-array>
-
-</resources>
diff --git a/DeviceSettings/res/values-pt-rBR/strings.xml b/DeviceSettings/res/values-pt-rBR/strings.xml
deleted file mode 100755
index 0cff7e6..0000000
--- a/DeviceSettings/res/values-pt-rBR/strings.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name">Config. Galaxy S II</string>
-
- <string name="category_screen_title">Tela</string>
- <string name="screen_colors_title">Cores</string>
- <string name="mdnie_scenario_title_head">Cenário</string>
- <string name="mdnie_scenario_summary_head">Define o Cenário mDNIe</string>
- <string name="mdnie_mode_title_head">Modo</string>
- <string name="mdnie_mode_summary_head">Define o Modo mDNIe</string>
- <string name="mdnie_negative_title_head">Modo Negativo</string>
- <string name="mdnie_negative_summary_head">Ativar/Desativar cores invertidas</string>
- <string name="mdnie_outdoor_title_head">Modo Ao Ar Livre</string>
- <string name="mdnie_outdoor_summary_head">Ativar/Desativar modo ao ar livre</string>
- <string name="panel_gamma_title_head">Gama da Tela</string>
- <string name="panel_gamma_summary_head">Definir valor da gama da tela</string>
- <string name="touchscreen_subcat_title">Tela sensível ao toque</string>
- <string name="touchscreen_sensitivity_title_head">Sensitividade do toque</string>
- <string name="touchscreen_sensitivity_summary_head">Define a sensitividade do toque na tela</string>
- <string name="category_sensors_title">Sensores</string>
- <string name="gyro_subcat_title">Giroscópio</string>
- <string name="use_gyro_calibration_title_head">Usar dados de calibração</string>
- <string name="use_gyro_calibration_summary_head">Usar os valores de calibração do giroscópio. Fazer uma calibragem depois de selecionar isto!</string>
- <string name="calibrate_gyro_title_head">Calibrar</string>
- <string name="calibrate_gyro_summary_head">Coloque seu telefone em uma superfície plana, e pressione isto para calibrar</string>
- <string name="touchkey_subcat_title">Tecla sensível ao toque</string>
- <string name="touchkey_light_title_head">Ativar luz de fundo das teclas</string>
- <string name="touchkey_light_summary_head">Acender as teclas sensíveis ao toque quando a tela estiver ligada</string>
- <string name="category_radio_title">Rádio</string>
- <string name="hspa_title_head">HSPA</string>
- <string name="hspa_summary_head">Ativar HSDPA/HSUPA</string>
- <string name="category_haptic_title">Resposta Tátil</string>
- <string name="vibrator_subcat_title">Vibração</string>
- <string name="vibrator_intensity_title_head">Intensidade da Vibração</string>
- <string name="vibrator_intensity_summary_head">Define a intensidade da vibração</string>
-</resources>
diff --git a/DeviceSettings/res/values/strings.xml b/DeviceSettings/res/values/strings.xml
index 91f1b53..3351cff 100644
--- a/DeviceSettings/res/values/strings.xml
+++ b/DeviceSettings/res/values/strings.xml
@@ -26,11 +26,13 @@
<string name="touchkey_timeout_summary_head">Delay after a keypress before backlight turns off</string>
<string name="category_sensors_title">Sensors</string>
- <string name="gyro_subcat_title">Gyroscope</string>
- <string name="use_gyro_calibration_title_head">Use calibration data</string>
- <string name="use_gyro_calibration_summary_head">Use the gyroscope calibration values. Do a calibration after checking this!</string>
- <string name="calibrate_gyro_title_head">Calibrate</string>
- <string name="calibrate_gyro_summary_head">Put your phone on a flat surface, and press this to calibrate</string>
+ <string name="accelerometer_subcat_title">Accelerometer</string>
+ <string name="use_accelerometer_calibration_title_head">Use calibration data</string>
+ <string name="use_accelerometer_calibration_summary_head">Use the accelerometer calibration values. Do a calibration after checking this!</string>
+ <string name="calibrate_accelerometer_title_head">Calibrate</string>
+ <string name="calibrate_accelerometer_summary_head">Put your phone on a flat surface, and press this to calibrate</string>
+ <string name="accelerometer_dialog_head">Calibration done</string>
+ <string name="accelerometer_dialog_message">The sensor has been successfully calibrated.</string>
<string name="category_haptic_title">Haptic</string>
<string name="vibrator_subcat_title">Vibrator</string>
@@ -42,7 +44,7 @@
<string name="hspa_summary_head">Enable HSDPA/HSUPA</string>
<string name="category_dock_title">Dock</string>
- <string name="dockaudio_subcat_title">DOCK AUDIO</string>
+ <string name="dockaudio_subcat_title">Audio</string>
<string name="use_dock_audio_title_head">Use Dock USB Audio</string>
<string name="use_dock_audio_summary_head">Use the passive audio out on the dock</string>
</resources>
diff --git a/DeviceSettings/res/xml/sensors_preferences.xml b/DeviceSettings/res/xml/sensors_preferences.xml
index bdce970..8c61e07 100644
--- a/DeviceSettings/res/xml/sensors_preferences.xml
+++ b/DeviceSettings/res/xml/sensors_preferences.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
- android:title="@string/gyro_subcat_title">
+ android:title="@string/accelerometer_subcat_title">
<!-- Use sensor calibration -->
<CheckBoxPreference
- android:key="use_gyro_calibration"
- android:title="@string/use_gyro_calibration_title_head"
- android:summary="@string/use_gyro_calibration_summary_head"
+ android:key="use_accelerometer_calibration"
+ android:title="@string/use_accelerometer_calibration_title_head"
+ android:summary="@string/use_accelerometer_calibration_summary_head"
/>
- <!-- Do gyro calibration -->
+ <!-- Do accelerometer calibration -->
<Preference
- android:key="calibrate_gyro"
- android:title="@string/calibrate_gyro_title_head"
- android:summary="@string/calibrate_gyro_summary_head"
+ android:key="calibrate_accelerometer"
+ android:title="@string/calibrate_accelerometer_title_head"
+ android:summary="@string/calibrate_accelerometer_summary_head"
/>
</PreferenceCategory>
</PreferenceScreen>
diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java b/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java
index c7da5f2..7f7970c 100644
--- a/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java
+++ b/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java
@@ -41,8 +41,8 @@ public class DeviceSettings extends FragmentActivity {
public static final String KEY_MDNIE_OUTDOOR = "mdnie_outdoor";
public static final String KEY_PANEL_GAMMA = "panel_gamma";
public static final String KEY_HSPA = "hspa";
- public static final String KEY_USE_GYRO_CALIBRATION = "use_gyro_calibration";
- public static final String KEY_CALIBRATE_GYRO = "calibrate_gyro";
+ public static final String KEY_USE_ACCELEROMETER_CALIBRATION = "use_accelerometer_calibration";
+ public static final String KEY_CALIBRATE_ACCELEROMETER = "calibrate_accelerometer";
public static final String KEY_TOUCHSCREEN_SENSITIVITY = "touchscreen_sensitivity";
public static final String KEY_TOUCHKEY_LIGHT = "touchkey_light";
public static final String KEY_TOUCHKEY_TIMEOUT = "touchkey_timeout";
diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/SensorsFragmentActivity.java b/DeviceSettings/src/com/cyanogenmod/settings/device/SensorsFragmentActivity.java
index e9730b8..df9cce5 100644
--- a/DeviceSettings/src/com/cyanogenmod/settings/device/SensorsFragmentActivity.java
+++ b/DeviceSettings/src/com/cyanogenmod/settings/device/SensorsFragmentActivity.java
@@ -35,7 +35,7 @@ public class SensorsFragmentActivity extends PreferenceFragment {
private static final String PREF_ENABLED = "1";
private static final String TAG = "GalaxyS2Settings_Sensors";
- private static final String FILE_USE_GYRO_CALIB = "/sys/class/sec/gsensorcal/calibration";
+ private static final String FILE_USE_ACCELEROMETER_CALIB = "/sys/class/sec/gsensorcal/calibration";
@Override
public void onCreate(Bundle savedInstanceState) {
@@ -53,15 +53,15 @@ public class SensorsFragmentActivity extends PreferenceFragment {
Log.w(TAG, "key: " + key);
- if (key.compareTo(DeviceSettings.KEY_USE_GYRO_CALIBRATION) == 0) {
+ if (key.compareTo(DeviceSettings.KEY_USE_ACCELEROMETER_CALIBRATION) == 0) {
boxValue = (((CheckBoxPreference)preference).isChecked() ? "1" : "0");
- Utils.writeValue(FILE_USE_GYRO_CALIB, boxValue);
- } else if (key.compareTo(DeviceSettings.KEY_CALIBRATE_GYRO) == 0) {
+ Utils.writeValue(FILE_USE_ACCELEROMETER_CALIB, boxValue);
+ } else if (key.compareTo(DeviceSettings.KEY_CALIBRATE_ACCELEROMETER) == 0) {
// when calibration data utilization is disablen and enabled back,
// calibration is done at the same time by driver
- Utils.writeValue(FILE_USE_GYRO_CALIB, "0");
- Utils.writeValue(FILE_USE_GYRO_CALIB, "1");
- Utils.showDialog((Context)getActivity(), "Calibration done", "The gyroscope has been successfully calibrated!");
+ Utils.writeValue(FILE_USE_ACCELEROMETER_CALIB, "0");
+ Utils.writeValue(FILE_USE_ACCELEROMETER_CALIB, "1");
+ Utils.showDialog((Context)getActivity(), getString(R.string.accelerometer_dialog_head), getString(R.string.accelerometer_dialog_message));
}
return true;
@@ -73,12 +73,12 @@ public class SensorsFragmentActivity extends PreferenceFragment {
public static void restore(Context context) {
SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context);
- boolean gyroCalib = sharedPrefs.getBoolean(DeviceSettings.KEY_USE_GYRO_CALIBRATION, true);
+ boolean accelerometerCalib = sharedPrefs.getBoolean(DeviceSettings.KEY_USE_ACCELEROMETER_CALIBRATION, true);
- // When use gyro calibration value is set to 1, calibration is done at the same time, which
+ // When use accelerometer calibration value is set to 1, calibration is done at the same time, which
// means it is reset at each boot, providing wrong calibration most of the time at each reboot.
// So we only set it to "0" if user wants it, as it defaults to 1 at boot
- if (!gyroCalib)
- Utils.writeValue(FILE_USE_GYRO_CALIB, "0");
+ if (!accelerometerCalib)
+ Utils.writeValue(FILE_USE_ACCELEROMETER_CALIB, "0");
}
}