Change sensor_type_options array to support different languages.

Moved sensor_type_options from arrays.xml to arrays_do_not_translate.xml.
Added strings to strings.xml.
This commit is contained in:
JohnG
2011-06-01 23:20:00 -04:00
parent d238a9e9dd
commit 94344deff3
4 changed files with 28 additions and 21 deletions
-8
View File
@@ -272,12 +272,4 @@ limitations under the License.
<item>way point</item>
</array>
<array name="sensor_type_options">
<item>None</item>
<item>ANT+ Sensors</item>
<item>SRM ANT+ Bridge</item>
<item>Polar Bluetooth</item>
<item>Zephyr Bluetooth</item>
</array>
</resources>
@@ -108,6 +108,14 @@ limitations under the License.
<item>TCX</item>
</array>
<array name="sensor_type_options">
<item>@string/none</item>
<item>@string/ant_sensor_option</item>
<item>@string/ant_bridge_sensor_option</item>
<item>@string/polar_bt_sensor_option</item>
<item>@string/zephyr_bt_sensor_option</item>
</array>
<array name="sensor_type_values">
<item>@string/none</item>
<item>@string/ant_sensor_type</item>
+7
View File
@@ -498,4 +498,11 @@ limitations under the License.
<string name="notification_permission_description">Be notified when a track starts or stops being recorded.</string>
<string name="read_tracks_permission_description">Be able to read track data, such as points and waypoints.</string>
<string name="write_tracks_permission_description">Be able to write track data, such as starting recording or adding waypoints.</string>
<!-- Sensor Type Options -->
<string name="ant_sensor_option">ANT+ Sensors</string>
<string name="ant_bridge_sensor_option">SRM ANT+ Bridge</string>
<string name="polar_bt_sensor_option">Polar Bluetooth</string>
<string name="zephyr_bt_sensor_option">Zephyr Bluetooth</string>
</resources>