localize some plugin descr
This commit is contained in:
parent
1aa24f2823
commit
ab2f9a609c
4 changed files with 26 additions and 15 deletions
|
@ -10,7 +10,20 @@
|
|||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||
-->
|
||||
|
||||
<string name="plugin_touring_view">Touring map view</string>
|
||||
<string name="plugin_nautical_descr1">Activating this view changes the map style to Nautical, thus showing all nautical navigation marks and chart symbols.</string>
|
||||
<string name="plugin_nautical_descr2">A map file containing all nautical symbols globally is availabe as one single download called \'World seamarks\'.</string>
|
||||
<string name="plugin_nautical_descr3">This view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired.</string>
|
||||
|
||||
<string name="plugin_ski_descr1">Activating this view changes the map style to \'Winter and ski\', showing all landscape features under wintery conditions.</string>
|
||||
<string name="plugin_ski_descr2">A global map displaying all ski slopes and cross country ski routes in this view is available under Downloads as \'World ski map\'.</string>
|
||||
<string name="plugin_ski_descr3">This view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired.</string>
|
||||
|
||||
<string name="plugin_touringview_descr1">Activating this view changes the map style to \'Touring view\', this is a special high-detail view for travelers and professional drivers.</string>
|
||||
<string name="plugin_touringview_descr2">This view provides, at any give map zoom, the maximum amount of travel details available in the map data (particularly roads, tracks, paths, and orientation marks), and clearly depicts all types of roads unambiguously by color coding, which is useful when e.g. driving large vehicles.</string>
|
||||
<string name="plugin_touringview_descr3">A special map download is not needed, the view is created from our standard maps.</string>
|
||||
<string name="plugin_touringview_descr4">This view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired.</string>
|
||||
<string name="plugin_touringview_name">Touring map view</string>
|
||||
|
||||
<string name="audio">Audio</string>
|
||||
<string name="video">Video</string>
|
||||
<string name="photo">Photo</string>
|
||||
|
|
|
@ -25,12 +25,11 @@ public class NauticalMapsPlugin extends OsmandPlugin {
|
|||
this.app = app;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return "Activating this view changes the map style to Nautical, thus showing all nautical navigation marks and chart symbols.\n\n"
|
||||
+ "A map file containing all nautical symbols globally is availabe as one single download called \'World seamarks\'.\n\n"
|
||||
+ "This view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired.";
|
||||
return app.getString(net.osmand.plus.R.string.plugin_nautical_descr1) + "\n\n"
|
||||
+ app.getString(net.osmand.plus.R.string.plugin_nautical_descr2) + "\n\n"
|
||||
+ app.getString(net.osmand.plus.R.string.plugin_nautical_descr3);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -80,13 +79,11 @@ public class NauticalMapsPlugin extends OsmandPlugin {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return ID;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Class<? extends Activity> getSettingsActivity() {
|
||||
return null;
|
||||
|
|
|
@ -2,6 +2,7 @@ package net.osmand.plus.skimapsplugin;
|
|||
|
||||
import net.osmand.plus.OsmandApplication;
|
||||
import net.osmand.plus.OsmandPlugin;
|
||||
import net.osmand.plus.R;
|
||||
import net.osmand.plus.render.RendererRegistry;
|
||||
import android.app.Activity;
|
||||
|
||||
|
@ -18,9 +19,9 @@ public class SkiMapsPlugin extends OsmandPlugin {
|
|||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return "Activating this view changes the map style to \'Winter and ski\', showing all landscape features under wintery conditions."
|
||||
+ "A global map displaying all ski slopes and cross country ski routes in this view is available under Downloads as \'World ski map\'.\n\n"
|
||||
+ "This view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired.";
|
||||
return app.getString(net.osmand.plus.R.string.plugin_ski_descr1) + "\n\n"
|
||||
+ app.getString(net.osmand.plus.R.string.plugin_ski_descr2) + "\n\n"
|
||||
+ app.getString(net.osmand.plus.R.string.plugin_ski_descr3);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -19,15 +19,15 @@ public class TouringViewPlugin extends OsmandPlugin {
|
|||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return "Activating this view changes the map style to \'Touring view\', this is a special high-detail view for travelers and professional drivers.\n\n"
|
||||
+ "This view provides, at any give map zoom, the maximum amount of travel details available in the map data (particularly roads, tracks, paths, and orientation marks), and clearly depicts all types of roads unambiguously by color coding, which is useful when e.g. driving large vehicles.\n\n"
|
||||
+ "A special map download is not needed, the view is created from our standard maps.\n\n"
|
||||
+ "This view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired.";
|
||||
return app.getString(net.osmand.plus.R.string.plugin_touringview_descr1) + "\n\n"
|
||||
+ app.getString(net.osmand.plus.R.string.plugin_touringview_descr2) + "\n\n"
|
||||
+ app.getString(net.osmand.plus.R.string.plugin_touringview_descr3) + "\n\n"
|
||||
+ app.getString(net.osmand.plus.R.string.plugin_touringview_descr4);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return app.getString(net.osmand.plus.R.string.plugin_touring_view);
|
||||
return app.getString(net.osmand.plus.R.string.plugin_touringview_name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue