diff --git a/OsmAnd/res/values-ru/strings.xml b/OsmAnd/res/values-ru/strings.xml index 8dcb7d7664..2d83f535ca 100644 --- a/OsmAnd/res/values-ru/strings.xml +++ b/OsmAnd/res/values-ru/strings.xml @@ -1129,4 +1129,5 @@ отмечено не отмечено Карта + Время прибытия diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index be17580cfa..dfd4648912 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -9,6 +9,7 @@ 3. All your modified/created strings are in the top of the file (to make easier find what\'s translated). PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + Arrival time checked unchecked Map diff --git a/OsmAnd/src/net/osmand/plus/views/RouteInfoControls.java b/OsmAnd/src/net/osmand/plus/views/RouteInfoControls.java index 2e79f7fdfb..3d6753d3da 100644 --- a/OsmAnd/src/net/osmand/plus/views/RouteInfoControls.java +++ b/OsmAnd/src/net/osmand/plus/views/RouteInfoControls.java @@ -230,6 +230,7 @@ public class RouteInfoControls { long toFindTime = time * 1000 + System.currentTimeMillis(); if (Math.abs(toFindTime - cachedLeftTime) > 30000) { cachedLeftTime = toFindTime; + setContentTitle(getContext().getString(R.string.access_arrival_time)); if (DateFormat.is24HourFormat(ctx)) { setText(DateFormat.format("k:mm", toFindTime).toString(), null); //$NON-NLS-1$ } else { @@ -243,6 +244,7 @@ public class RouteInfoControls { cachedLeftTime = time; int hours = time / (60 * 60); int minutes = (time / 60) % 60; + setContentTitle(getContext().getString(R.string.map_widget_time)); setText(String.format("%d:%02d", hours, minutes), null); //$NON-NLS-1$ return true; }