diff options
author | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2010-10-24 22:14:32 +0200 |
---|---|---|
committer | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2010-10-24 22:14:32 +0200 |
commit | 5d9af268996d502b840608e5f2b3b6ffc68b3c2a (patch) | |
tree | b67480255b31fa70ca887fcf321cc0e6e0129cd7 /res | |
parent | 59451244a4d1e9f71735a089889a6bbdaf3ca375 (diff) | |
download | BlueGPS-5d9af268996d502b840608e5f2b3b6ffc68b3c2a.zip BlueGPS-5d9af268996d502b840608e5f2b3b6ffc68b3c2a.tar.gz BlueGPS-5d9af268996d502b840608e5f2b3b6ffc68b3c2a.tar.bz2 |
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
Diffstat (limited to 'res')
-rw-r--r-- | res/values-fr/strings.xml | 2 | ||||
-rw-r--r-- | res/values/constants.xml | 36 | ||||
-rw-r--r-- | res/values/strings.xml | 14 |
3 files changed, 38 insertions, 14 deletions
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/.
-->
<resources>
+ <string name="app_name">BlueGps</string>
+
<string name="pref_start_gps_title">Start/Stop GPS</string>
<string name="pref_start_gps_summary_off">Le GPS Bluetooth est arrêté</string>
<string name="pref_start_gps_summary_on">Le GPS Bluetooth est démarré</string>
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 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Herbert von Broeuschmeul
+ Copyright (C) 2010 BluetoothGPS4Droid Project
+
+ This file is part of BluetoothGPS4Droid.
+
+ BluetoothGPS4Droid is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ BluetoothGPS4Droid is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with BluetoothGPS4Droid. If not, see : http://www.gnu.org/licenses/.
+-->
+<resources>
+ <string name="pref_start_gps_key">startGps</string>
+ <string name="pref_gps_location_provider_key">gpsLocationProviderKey</string>
+ <string name="pref_replace_std_gps_key">replaceStdtGps</string>
+ <string name="pref_mock_gps_name_key">mockGpsName</string>
+ <string name="pref_connection_retries_key">connectionRetries</string>
+ <string name="pref_recording_key">trackRecording</string>
+ <string name="pref_trackfile_directory_key">trackFileDirectory</string>
+ <string name="pref_trackfile_prefix_key">trackFilePrefix</string>
+ <string name="pref_bluetooth_device_key">bluetoothDevice</string>
+
+ <string name="defaultConnectionRetries">0</string>
+ <string name="defaultTrackFileDirectory">/sdcard/nmea</string>
+ <string name="defaultTrackFilePrefix">btnmeatrack</string>
+ <string name="defaultMockGpsName">bluetooth_gps</string>
+</resources>
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 @@ -->
<resources>
<string name="app_name">BlueGps</string>
- <string name="pref_start_gps_key">startGps</string>
- <string name="pref_gps_location_provider_key">gpsLocationProviderKey</string>
- <string name="pref_replace_std_gps_key">replaceStdtGps</string>
- <string name="pref_mock_gps_name_key">mockGpsName</string>
- <string name="pref_connection_retries_key">connectionRetries</string>
- <string name="pref_recording_key">trackRecording</string>
- <string name="pref_trackfile_directory_key">trackFileDirectory</string>
- <string name="pref_trackfile_prefix_key">trackFilePrefix</string>
- <string name="pref_bluetooth_device_key">bluetoothDevice</string>
-
- <string name="defaultConnectionRetries">0</string>
- <string name="defaultTrackFileDirectory">/sdcard/nmea</string>
- <string name="defaultTrackFilePrefix">btnmeatrack</string>
- <string name="defaultMockGpsName">bluetooth_gps</string>
<string name="pref_start_gps_title">Start/Stop GPS</string>
<string name="pref_start_gps_summary_off">Bluetooth GPS is off</string>
|