Fix #5347 and simplify rendering name to keep it short

This commit is contained in:
Victor Shcherb 2018-05-11 00:14:39 +02:00
parent 8e5985a77c
commit 2479c749ff
2 changed files with 3 additions and 3 deletions

View file

@ -2884,7 +2884,7 @@
<string name="total_donations">Total donations</string>
<string name="day_off_label">off</string>
<string name="winter_and_ski_renderer">Winter and ski</string>
<string name="touring_view_renderer">Touring view (contrast and details)</string>
<string name="touring_view_renderer">Touring view</string>
<string name="nautical_renderer">Nautical</string>
<string name="copy_location_name">Copy Point/POI name</string>
<string name="toast_empty_name_error">Unnamed location</string>

View file

@ -37,7 +37,7 @@ public class RendererRegistry {
public final static String DEFAULT_RENDER = "OsmAnd"; //$NON-NLS-1$
public final static String DEFAULT_RENDER_FILE_PATH = "default.render.xml";
public final static String TOURING_VIEW = "Touring view"; //$NON-NLS-1$
public final static String TOURING_VIEW = "Touring view (contrast and details)"; //$NON-NLS-1$
public final static String WINTER_SKI_RENDER = "Winter and ski"; //$NON-NLS-1$
public final static String NAUTICAL_RENDER = "Nautical"; //$NON-NLS-1$
public final static String TOPO_RENDER = "Topo"; //$NON-NLS-1$
@ -302,7 +302,7 @@ public class RendererRegistry {
case NAUTICAL_RENDER:
return ctx.getString(R.string.nautical_render_descr);
}
return "No description provided"; // FIXME
return "";
}
public RenderingRulesStorage getCurrentSelectedRenderer() {