From f3adf238d76269dcdd46b1c1c0668680d4c7500e Mon Sep 17 00:00:00 2001 From: PaulStets Date: Wed, 24 Jan 2018 12:55:54 +0200 Subject: [PATCH] Update AmenityMenuBuilder.java --- .../plus/mapcontextmenu/builders/AmenityMenuBuilder.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java index e1a20640c5..bdbcfe2335 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java @@ -381,9 +381,6 @@ public class AmenityMenuBuilder extends MenuBuilder { OpeningHoursParser.OpeningHours rs = OpeningHoursParser.parseOpenedHours(amenity.getOpeningHours()); if (rs != null) { vl = rs.toLocalString(); - if (!preferredLang.equals("en")) { - vl = vl.replaceAll("off", view.getContext().getString(R.string.day_off_label)); - } Calendar inst = Calendar.getInstance(); inst.setTimeInMillis(System.currentTimeMillis()); boolean opened = rs.isOpenedForTime(inst);