some string improvements

This commit is contained in:
sonora 2012-01-29 22:15:33 +01:00
parent 17d7f921fc
commit dafdd89d25
4 changed files with 6 additions and 6 deletions

View file

@ -413,7 +413,7 @@
<string name="use_osmand_routing_service">OsmAnd Routing</string>
<string name="use_osmand_routing_service_descr">OsmAnd Offlinerouting für große Entfernungen verwenden (experimentell) anstatt automatisch CloudMade zu nehmen</string>
<string name="osmand_routing_experimental">OsmAnd Offlinerouting ist noch experimentell und funktioniert nicht gut für Entfernungen über 20 km.\n Routingdienst wird automatisch zu online Cloudmade gewechselt.</string>
<string name="osmand_routing_experimental">OsmAnd Offlinerouting ist noch experimentell und funktioniert nicht gut für Entfernungen über 20 km.\n Als Routingdienst wird temporär online CloudMade verwendet.</string>
<string name="specified_dir_doesnt_exist">Angegebener Ordner kann nicht gefunden werden.</string>
<string name="application_dir">Verzeichnis</string>
<string name="application_dir_change_warning">Das Wechseln des Verzeichnis verschiebt oder löscht keine Daten. Dies muss separat außerhalb von OsmAnd durchgeführt werden. Dennoch fortfahren?</string>

View file

@ -390,7 +390,7 @@
<string name="use_osmand_routing_service">Routing OsmAnd</string>
<string name="use_osmand_routing_service_descr">Usa il routing OsmAnd offline per lunghe distanze (sperimentale)</string>
<string name="osmand_routing_experimental">Il routing offline di OsmAnd è sperimentale e non funziona per distanze superiori ai 20 km.\n Il servizio routing viene cambiato in automatico tramite Cloudmade online.</string>
<string name="osmand_routing_experimental">Il routing offline di OsmAnd è sperimentale e non funziona per distanze superiori ai 20 km.\n Il servizio routing viene cambiato temporaneo tramite Cloudmade online.</string>
<string name="specified_dir_doesnt_exist">Impossibile trovare la directory specificata.</string>
<string name="application_dir">Cartella deposito</string>
<string name="application_dir_change_warning">Il cambiamento della cartella non sposterà nè eliminerà i dati. Dovrà essere fatto manualmente al di fuori di OsmAnd. Continuare?</string>

View file

@ -415,7 +415,7 @@
<string name="use_osmand_routing_service">OsmAnd routing</string>
<string name="use_osmand_routing_service_descr">Use OsmAnd offline routing for long distances (experimental) instead of fallback to CloudMade</string>
<string name="osmand_routing_experimental">OsmAnd offline routing is an experimental feature and it doesn\'t work for distances of more than about 20 km.\n Routing service is automatically switched to online Cloudmade.</string>
<string name="osmand_routing_experimental">OsmAnd offline routing is an experimental feature and it doesn\'t work for distances of more than about 20 km.\n Routing service is temporarily switched to online Cloudmade.</string>
<string name="specified_dir_doesnt_exist">Can not find specified directory.</string>
<string name="application_dir">Storage directory</string>
<string name="application_dir_change_warning">Changing the storage directory will not move or delete the data. This must be performed separately and outside OsmAnd. Continue anyway?</string>

View file

@ -498,13 +498,13 @@ public class RoutingHelper {
int[] dist = res.getListDistance();
int l = dist != null && dist.length > 0 ? dist[0] : 0;
showMessage(context.getString(R.string.new_route_calculated_dist)
+ " : " + OsmAndFormatter.getFormattedDistance(l, context)); //$NON-NLS-1$
+ ": " + OsmAndFormatter.getFormattedDistance(l, context)); //$NON-NLS-1$
} else if (service != RouteService.OSMAND && !settings.isInternetConnectionAvailable()) {
showMessage(context.getString(R.string.error_calculating_route)
+ " : " + context.getString(R.string.internet_connection_required_for_online_route), Toast.LENGTH_LONG); //$NON-NLS-1$
+ ":\n" + context.getString(R.string.internet_connection_required_for_online_route), Toast.LENGTH_LONG); //$NON-NLS-1$
} else {
if (res.getErrorMessage() != null) {
showMessage(context.getString(R.string.error_calculating_route) + " : " + res.getErrorMessage(), Toast.LENGTH_LONG); //$NON-NLS-1$
showMessage(context.getString(R.string.error_calculating_route) + ":\n" + res.getErrorMessage(), Toast.LENGTH_LONG); //$NON-NLS-1$
} else if (res.getLocations() == null) {
showMessage(context.getString(R.string.error_calculating_route_occured), Toast.LENGTH_LONG);
} else {