"show on start" string not translatable
The "show on start" string in dashboard configuration is hardcoded in DashboardSettingsDialogFragment.java.
This commit is contained in:
parent
d1f532b3c3
commit
5f3d32717e
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class DashboardSettingsDialogFragment extends DialogFragment {
|
||||||
View view = LayoutInflater.from(getActivity()).inflate(
|
View view = LayoutInflater.from(getActivity()).inflate(
|
||||||
R.layout.dashboard_settings_dialog_item, null, false);
|
R.layout.dashboard_settings_dialog_item, null, false);
|
||||||
final TextView textView = (TextView) view.findViewById(R.id.text);
|
final TextView textView = (TextView) view.findViewById(R.id.text);
|
||||||
textView.setText("Show on start");
|
textView.setText(R.string.show_on_start);
|
||||||
final OsmandSettings.CommonPreference<Boolean> shouldShowDashboardOnStart =
|
final OsmandSettings.CommonPreference<Boolean> shouldShowDashboardOnStart =
|
||||||
settings.registerBooleanPreference(MapActivity.SHOULD_SHOW_DASHBOARD_ON_START, true);
|
settings.registerBooleanPreference(MapActivity.SHOULD_SHOW_DASHBOARD_ON_START, true);
|
||||||
final CompoundButton compoundButton = (CompoundButton) view.findViewById(R.id.check_item);
|
final CompoundButton compoundButton = (CompoundButton) view.findViewById(R.id.check_item);
|
||||||
|
|
Loading…
Reference in a new issue