From 8e4033cdfe7e9740e1152396bee139502b3f911d Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Mon, 14 Dec 2015 10:01:40 +0200 Subject: [PATCH] Strings extracted as resources. --- OsmAnd/no_translate.xml | 2 ++ .../src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/OsmAnd/no_translate.xml b/OsmAnd/no_translate.xml index b969de3bf3..95a56c1575 100644 --- a/OsmAnd/no_translate.xml +++ b/OsmAnd/no_translate.xml @@ -28,4 +28,6 @@ App have no permission to access location data. App have no permission to access camera. App have no permission to access microphone. + Live updates on + Live updates off diff --git a/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java b/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java index b2089f32f5..45edc7a0ad 100644 --- a/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java +++ b/OsmAnd/src/net/osmand/plus/liveupdates/LiveUpdatesFragment.java @@ -218,9 +218,9 @@ public class LiveUpdatesFragment extends Fragment { @Override public String getGroup(int groupPosition) { if (groupPosition == 0) { - return "Live updates on"; + return getString(R.string.live_updates_on); } else if (groupPosition == 1) { - return "Love updates off"; + return getString(R.string.live_updates_off); } else { throw new IllegalArgumentException("unexpected group position:" + groupPosition); }