diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-06-01 14:32:35 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-06-01 14:32:35 +0200 |
| commit | 7f1252427d01246e8b645a2e36ae92cd66ff732c (patch) | |
| tree | ea294be83c1c004e8106d98937c8c512edf6a86d /main/src | |
| parent | 2ab4eab43295c1c02a1682eff2251eb65a6fe9fe (diff) | |
| download | cgeo-7f1252427d01246e8b645a2e36ae92cd66ff732c.zip cgeo-7f1252427d01246e8b645a2e36ae92cd66ff732c.tar.gz cgeo-7f1252427d01246e8b645a2e36ae92cd66ff732c.tar.bz2 | |
fix #2817: OSM:Offline map name won't fit the box
Diffstat (limited to 'main/src')
| -rw-r--r-- | main/src/cgeo/geocaching/maps/mapsforge/MapsforgeMapProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/mapsforge/MapsforgeMapProvider.java b/main/src/cgeo/geocaching/maps/mapsforge/MapsforgeMapProvider.java index dc0dbf8..7cc697d 100644 --- a/main/src/cgeo/geocaching/maps/mapsforge/MapsforgeMapProvider.java +++ b/main/src/cgeo/geocaching/maps/mapsforge/MapsforgeMapProvider.java @@ -167,7 +167,7 @@ public final class MapsforgeMapProvider extends AbstractMapProvider { final List<String> offlineMaps = getOfflineMaps(); for (String mapFile : offlineMaps) { final String mapName = StringUtils.capitalize(StringUtils.substringBeforeLast(new File(mapFile).getName(), ".")); - registerMapSource(new OfflineMapSource(mapFile, this, resources.getString(R.string.map_source_osm_offline) + " - " + mapName, MapGeneratorInternal.DATABASE_RENDERER)); + registerMapSource(new OfflineMapSource(mapFile, this, mapName + " (" + resources.getString(R.string.map_source_osm_offline) + ")", MapGeneratorInternal.DATABASE_RENDERER)); } // have a default entry, if no map files are available. otherwise we cannot select "offline" in the settings if (offlineMaps.isEmpty()) { |
