From 7b926d000abf7d58cf67c2aaa8a8ec2868de86b0 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 3 Apr 2016 13:53:47 +0200 Subject: [PATCH] fix display --- .../net/osmand/plus/monitoring/SettingsMonitoringActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java b/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java index 8282c01e38..6888302d69 100644 --- a/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java +++ b/OsmAnd/src/net/osmand/plus/monitoring/SettingsMonitoringActivity.java @@ -65,7 +65,7 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity { Preference pref = new Preference(this); pref.setTitle(R.string.save_current_track); - pref.setSummary(R.string.save_current_track_descr + ": " + OsmAndFormatter.getFormattedDistance(getMyApplication().getSavingTrackHelper().getDistance(), getMyApplication())); + pref.setSummary(getMyApplication().getString(R.string.save_current_track_descr) + ": " + OsmAndFormatter.getFormattedDistance(getMyApplication().getSavingTrackHelper().getDistance(), getMyApplication())); pref.setOnPreferenceClickListener(new OnPreferenceClickListener() { @Override public boolean onPreferenceClick(Preference preference) {