Fix wrong string assignment

This commit is contained in:
sonora 2016-03-29 16:42:17 +02:00
parent cc241f7251
commit 5fa6036c3e
2 changed files with 2 additions and 2 deletions

View file

@ -1676,7 +1676,7 @@ If you need help with OsmAnd application, please contact our support team: suppo
<string name="init_native_library">Initializing native library…</string> <string name="init_native_library">Initializing native library…</string>
<string name="choose_auto_follow_route">Auto-center map view</string> <string name="choose_auto_follow_route">Auto-center map view</string>
<string name="choose_auto_follow_route_descr">Time until map view synchronizes with current position</string> <string name="choose_auto_follow_route_descr">Time until map view synchronizes with current position</string>
<string name="auto_follow_route_never">Never (tap \'Go\' to start guidance manually)</string> <!-- string name="auto_follow_route_never">Never (tap \'Go\' to start guidance manually)</string -->
<string name="keep_informing_never">Only manually (tap arrow)</string> <string name="keep_informing_never">Only manually (tap arrow)</string>
<string name="keep_informing_descr">Re-announce navigation instructions at regular intervals</string> <string name="keep_informing_descr">Re-announce navigation instructions at regular intervals</string>
<string name="keep_informing">Repeat navigation instructions</string> <string name="keep_informing">Repeat navigation instructions</string>

View file

@ -115,7 +115,7 @@ public class SettingsNavigationActivity extends SettingsBaseActivity {
Integer[] intValues = new Integer[] { 0, 5, 10, 15, 20, 25, 30, 45, 60, 90}; Integer[] intValues = new Integer[] { 0, 5, 10, 15, 20, 25, 30, 45, 60, 90};
entries = new String[intValues.length]; entries = new String[intValues.length];
entries[0] = getString(R.string.auto_follow_route_never); entries[0] = getString(R.string.shared_string_never);
for (int i = 1; i < intValues.length; i++) { for (int i = 1; i < intValues.length; i++) {
entries[i] = (int) intValues[i] + " " + getString(R.string.int_seconds); entries[i] = (int) intValues[i] + " " + getString(R.string.int_seconds);
} }