From 5d9af268996d502b840608e5f2b3b6ffc68b3c2a Mon Sep 17 00:00:00 2001 From: Herbert von Broeuschmeul Date: Sun, 24 Oct 2010 22:14:32 +0200 Subject: Separate localized string from other values. All localized strings are now in the string.xml files while constants, defaults values and prefrerence keys are in constants.xml --- res/values-fr/strings.xml | 2 ++ res/values/constants.xml | 36 ++++++++++++++++++++++++++++++++++++ res/values/strings.xml | 14 -------------- 3 files changed, 38 insertions(+), 14 deletions(-) create mode 100644 res/values/constants.xml (limited to 'res') diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml index 6cbb744..155ed80 100644 --- a/res/values-fr/strings.xml +++ b/res/values-fr/strings.xml @@ -19,6 +19,8 @@ along with BluetoothGPS4Droid. If not, see : http://www.gnu.org/licenses/. --> + BlueGps + Start/Stop GPS Le GPS Bluetooth est arrêté Le GPS Bluetooth est démarré diff --git a/res/values/constants.xml b/res/values/constants.xml new file mode 100644 index 0000000..bdbf3d9 --- /dev/null +++ b/res/values/constants.xml @@ -0,0 +1,36 @@ + + + + startGps + gpsLocationProviderKey + replaceStdtGps + mockGpsName + connectionRetries + trackRecording + trackFileDirectory + trackFilePrefix + bluetoothDevice + + 0 + /sdcard/nmea + btnmeatrack + bluetooth_gps + diff --git a/res/values/strings.xml b/res/values/strings.xml index 81710f7..c538625 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -20,20 +20,6 @@ --> BlueGps - startGps - gpsLocationProviderKey - replaceStdtGps - mockGpsName - connectionRetries - trackRecording - trackFileDirectory - trackFilePrefix - bluetoothDevice - - 0 - /sdcard/nmea - btnmeatrack - bluetooth_gps Start/Stop GPS Bluetooth GPS is off -- cgit v1.1 From 5b11f327cf16eeecd279aaed8b384385c0f5fa10 Mon Sep 17 00:00:00 2001 From: Herbert von Broeuschmeul Date: Sun, 24 Oct 2010 23:41:55 +0200 Subject: add alert messages when bluetooth GPS connection cannot be enabled --- res/values-fr/strings.xml | 5 +++++ res/values/strings.xml | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'res') diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml index 155ed80..fc46e65 100644 --- a/res/values-fr/strings.xml +++ b/res/values-fr/strings.xml @@ -47,6 +47,11 @@ GPS Bluetooth... démarré GPS Bluetooth... arrêté GPS Bluetooth... déjà démarré + Oups ! Le GPS est désactivé + Oups ! Bluetooth non disponible + Oups ! Bluetooth désactivé + Oups ! Postitions fictives non autorisées + Impossible de se connecter au GPS Enregistrement des traces NMEA... démarré Enregistrement des traces NMEA... arrêté Enregistrement des traces GPS... déjà démarré diff --git a/res/values/strings.xml b/res/values/strings.xml index c538625..cc9c0d6 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -50,6 +50,11 @@ Bluetooth GPS... started Bluetooth GPS... stopped Bluetooth GPS... is already on + Cannot start: GPS is disabled + Cannot start: Bluetooth is not supported + Cannot start: Bluetooth is disabled + Cannot start: Mock location is disabled + Cannot connect to bluetooth GPS GPS NMEA recording... started GPS NMEA recording... stopped GPS track recording... is already on -- cgit v1.1 From a3b73fd4921983fda49f0efa485a894e1c87c5ba Mon Sep 17 00:00:00 2001 From: Herbert von Broeuschmeul Date: Tue, 26 Oct 2010 02:49:21 +0200 Subject: add notifications when service cannot be started * add notification when service cannot be started --- res/values-fr/strings.xml | 12 +++++++----- res/values/strings.xml | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to 'res') diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml index fc46e65..4d558df 100644 --- a/res/values-fr/strings.xml +++ b/res/values-fr/strings.xml @@ -47,10 +47,12 @@ GPS Bluetooth... démarré GPS Bluetooth... arrêté GPS Bluetooth... déjà démarré - Oups ! Le GPS est désactivé - Oups ! Bluetooth non disponible - Oups ! Bluetooth désactivé - Oups ! Postitions fictives non autorisées + "Oups ! %s" + Problèmes de connexion + Le GPS est désactivé + Bluetooth non disponible + Bluetooth désactivé + Postitions fictives non autorisées Impossible de se connecter au GPS Enregistrement des traces NMEA... démarré Enregistrement des traces NMEA... arrêté @@ -64,5 +66,5 @@ "Encore %d essais avant fermeture" BlueGps arrêté - Motif : problèmes de connexion + "Motif : %s" diff --git a/res/values/strings.xml b/res/values/strings.xml index cc9c0d6..410ea35 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -50,10 +50,12 @@ Bluetooth GPS... started Bluetooth GPS... stopped Bluetooth GPS... is already on - Cannot start: GPS is disabled - Cannot start: Bluetooth is not supported - Cannot start: Bluetooth is disabled - Cannot start: Mock location is disabled + "Cannot start: %s" + Too many connection problems + GPS is disabled + Bluetooth is not supported + Bluetooth is disabled + Mock location is disabled Cannot connect to bluetooth GPS GPS NMEA recording... started GPS NMEA recording... stopped @@ -67,5 +69,5 @@ Will retry %d more times before closing BlueGps stopped - Reason: too many connection problems + "Reason: %" -- cgit v1.1