Add strings for translation
This commit is contained in:
parent
a9d0afcb92
commit
7ce83bf498
2 changed files with 10 additions and 7 deletions
|
@ -1161,12 +1161,10 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
|
|||
<string name="use_short_object_names">Use object names</string>
|
||||
<string name="accessibility_preferences_descr">Accessibility related preferences</string>
|
||||
<string name="accessibility_preferences">Accessibility</string>
|
||||
<string-array name="arrival_distance_factors">
|
||||
<item>Early</item>
|
||||
<item>Normally</item>
|
||||
<item>Late</item>
|
||||
<item>At last metres</item>
|
||||
</string-array>
|
||||
<string name="arrival_distance_factor_early">Early</string>
|
||||
<string name="arrival_distance_factor_normally">Normally</string>
|
||||
<string name="arrival_distance_factor_late">Late</string>
|
||||
<string name="arrival_distance_factor_at_last">At last metres</string>
|
||||
<string name="arrival_distance">Arrival announcement</string>
|
||||
<string name="arrival_distance_descr">How soon do you want the arrival announcement?</string>
|
||||
<string name="rendering_out_of_memory">Not enough process memory to display selected area</string>
|
||||
|
|
|
@ -102,7 +102,12 @@ public class SettingsNavigationActivity extends SettingsBaseActivity {
|
|||
speakAlarms.setOnPreferenceClickListener(this);
|
||||
|
||||
Float[] arrivalValues = new Float[] {1.5f, 1f, 0.5f, 0.25f} ;
|
||||
String[] arrivalNames = getResources().getStringArray(R.array.arrival_distance_factors);
|
||||
String[] arrivalNames = new String[] {
|
||||
getString(R.string.arrival_distance_factor_early),
|
||||
getString(R.string.arrival_distance_factor_normally),
|
||||
getString(R.string.arrival_distance_factor_late),
|
||||
getString(R.string.arrival_distance_factor_at_last)
|
||||
};
|
||||
registerListPreference(settings.ARRIVAL_DISTANCE_FACTOR, screen, arrivalNames, arrivalValues);
|
||||
|
||||
profileDialog();
|
||||
|
|
Loading…
Reference in a new issue