summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-14 13:36:35 (GMT)
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-14 13:36:35 (GMT)
commite2adf41777f898ca82c2fea2fb424d012ab85b42 (patch)
treecf4b1c466d535b91be107cbc1614766ed458d436
parentb1edb9c3efccedf75820979e508ea6d609fd61d5 (diff)
restore GeoDataFeature context for translations
-rw-r--r--src/lib/marble/geodata/data/GeoDataFeature.cpp572
-rw-r--r--src/lib/marble/geodata/data/GeoDataFeature_p.h1
2 files changed, 287 insertions, 286 deletions
diff --git a/src/lib/marble/geodata/data/GeoDataFeature.cpp b/src/lib/marble/geodata/data/GeoDataFeature.cpp
index 18566b4..e62b10f 100644
--- a/src/lib/marble/geodata/data/GeoDataFeature.cpp
+++ b/src/lib/marble/geodata/data/GeoDataFeature.cpp
@@ -443,294 +443,294 @@ void GeoDataFeature::setPopularity( qint64 popularity )
QString GeoDataFeature::categoryName() const
{
switch (d->m_visualCategory) {
- case Valley: return QObject::tr("Valley");
- case OtherTerrain: return QObject::tr("Terrain");
- case Crater: return QObject::tr("Crater");
- case Mare: return QObject::tr("Sea");
- case MannedLandingSite: return QObject::tr("Manned Landing Site");
- case RoboticRover: return QObject::tr("Robotic Rover");
- case UnmannedSoftLandingSite: return QObject::tr("Unmanned Soft Landing Site");
- case UnmannedHardLandingSite: return QObject::tr("Unmanned Hard Landing Site");
- case Mons: return QObject::tr("Mountain");
- case SmallCity: return QObject::tr("City");
- case SmallCountyCapital: return QObject::tr("County Capital");
- case SmallStateCapital: return QObject::tr("State Capital");
- case SmallNationCapital: return QObject::tr("Nation Capital");
- case MediumCity: return QObject::tr("City");
- case MediumCountyCapital: return QObject::tr("County Capital");
- case MediumStateCapital: return QObject::tr("State Capital");
- case MediumNationCapital: return QObject::tr("Nation Capital");
- case BigCity: return QObject::tr("City");
- case BigCountyCapital: return QObject::tr("County Capital");
- case BigStateCapital: return QObject::tr("State Capital");
- case BigNationCapital: return QObject::tr("Nation Capital");
- case LargeCity: return QObject::tr("City");
- case LargeCountyCapital: return QObject::tr("County Capital");
- case LargeStateCapital: return QObject::tr("State Capital");
- case LargeNationCapital: return QObject::tr("Nation Capital");
- case Nation: return QObject::tr("Nation");
- case Mountain: return QObject::tr("Mountain");
- case Volcano: return QObject::tr("Volcano");
- case Continent: return QObject::tr("Continent");
- case Ocean: return QObject::tr("Ocean");
- case GeographicPole: return QObject::tr("Geographic Pole");
- case MagneticPole: return QObject::tr("Magnetic Pole");
- case ShipWreck: return QObject::tr("Ship Wreck");
- case AirPort: return QObject::tr("Air Port");
- case Observatory: return QObject::tr("Observatory");
- case MilitaryDangerArea: return QObject::tr("Military Danger Area");
- case OsmSite: return QObject::tr("OSM Site");
- case Coordinate: return QObject::tr("Coordinate");
- case Folder: return QObject::tr("Folder");
- case Bookmark: return QObject::tr("Bookmark");
- case Satellite: return QObject::tr("Satellite");
+ case Valley: return GeoDataFeaturePrivate::tr("Valley");
+ case OtherTerrain: return GeoDataFeaturePrivate::tr("Terrain");
+ case Crater: return GeoDataFeaturePrivate::tr("Crater");
+ case Mare: return GeoDataFeaturePrivate::tr("Sea");
+ case MannedLandingSite: return GeoDataFeaturePrivate::tr("Manned Landing Site");
+ case RoboticRover: return GeoDataFeaturePrivate::tr("Robotic Rover");
+ case UnmannedSoftLandingSite: return GeoDataFeaturePrivate::tr("Unmanned Soft Landing Site");
+ case UnmannedHardLandingSite: return GeoDataFeaturePrivate::tr("Unmanned Hard Landing Site");
+ case Mons: return GeoDataFeaturePrivate::tr("Mountain");
+ case SmallCity: return GeoDataFeaturePrivate::tr("City");
+ case SmallCountyCapital: return GeoDataFeaturePrivate::tr("County Capital");
+ case SmallStateCapital: return GeoDataFeaturePrivate::tr("State Capital");
+ case SmallNationCapital: return GeoDataFeaturePrivate::tr("Nation Capital");
+ case MediumCity: return GeoDataFeaturePrivate::tr("City");
+ case MediumCountyCapital: return GeoDataFeaturePrivate::tr("County Capital");
+ case MediumStateCapital: return GeoDataFeaturePrivate::tr("State Capital");
+ case MediumNationCapital: return GeoDataFeaturePrivate::tr("Nation Capital");
+ case BigCity: return GeoDataFeaturePrivate::tr("City");
+ case BigCountyCapital: return GeoDataFeaturePrivate::tr("County Capital");
+ case BigStateCapital: return GeoDataFeaturePrivate::tr("State Capital");
+ case BigNationCapital: return GeoDataFeaturePrivate::tr("Nation Capital");
+ case LargeCity: return GeoDataFeaturePrivate::tr("City");
+ case LargeCountyCapital: return GeoDataFeaturePrivate::tr("County Capital");
+ case LargeStateCapital: return GeoDataFeaturePrivate::tr("State Capital");
+ case LargeNationCapital: return GeoDataFeaturePrivate::tr("Nation Capital");
+ case Nation: return GeoDataFeaturePrivate::tr("Nation");
+ case Mountain: return GeoDataFeaturePrivate::tr("Mountain");
+ case Volcano: return GeoDataFeaturePrivate::tr("Volcano");
+ case Continent: return GeoDataFeaturePrivate::tr("Continent");
+ case Ocean: return GeoDataFeaturePrivate::tr("Ocean");
+ case GeographicPole: return GeoDataFeaturePrivate::tr("Geographic Pole");
+ case MagneticPole: return GeoDataFeaturePrivate::tr("Magnetic Pole");
+ case ShipWreck: return GeoDataFeaturePrivate::tr("Ship Wreck");
+ case AirPort: return GeoDataFeaturePrivate::tr("Air Port");
+ case Observatory: return GeoDataFeaturePrivate::tr("Observatory");
+ case MilitaryDangerArea: return GeoDataFeaturePrivate::tr("Military Danger Area");
+ case OsmSite: return GeoDataFeaturePrivate::tr("OSM Site");
+ case Coordinate: return GeoDataFeaturePrivate::tr("Coordinate");
+ case Folder: return GeoDataFeaturePrivate::tr("Folder");
+ case Bookmark: return GeoDataFeaturePrivate::tr("Bookmark");
+ case Satellite: return GeoDataFeaturePrivate::tr("Satellite");
// OpenStreetMap categories
- case PlaceCity: return QObject::tr("City");
- case PlaceSuburb: return QObject::tr("Suburb");
- case PlaceHamlet: return QObject::tr("Hamlet");
- case PlaceLocality: return QObject::tr("Locality");
- case PlaceTown: return QObject::tr("Town");
- case PlaceVillage: return QObject::tr("Village");
- case NaturalWater: return QObject::tr("Water");
- case NaturalReef: return QObject::tr("Reef");
- case NaturalWood: return QObject::tr("Wood");
- case NaturalBeach: return QObject::tr("Beach");
- case NaturalWetland: return QObject::tr("Wetland");
- case NaturalGlacier: return QObject::tr("Glacier");
- case NaturalIceShelf: return QObject::tr("Ice Shelf");
- case NaturalScrub: return QObject::tr("Scrub");
- case NaturalCliff: return QObject::tr("Cliff");
- case NaturalHeath: return QObject::tr("Heath");
- case HighwayTrafficSignals: return QObject::tr("Traffic Signals");
- case HighwaySteps: return QObject::tr("Steps");
- case HighwayUnknown: return QObject::tr("Unknown Road");
- case HighwayPath: return QObject::tr("Path");
- case HighwayFootway: return QObject::tr("Footway");
- case HighwayTrack: return QObject::tr("Track");
- case HighwayPedestrian: return QObject::tr("Footway");
- case HighwayCycleway: return QObject::tr("Cycleway");
- case HighwayService: return QObject::tr("Service Road");
- case HighwayRoad: return QObject::tr("Road");
- case HighwayResidential: return QObject::tr("Residential Road");
- case HighwayLivingStreet: return QObject::tr("Living Street");
- case HighwayUnclassified: return QObject::tr("Unclassified Road");
- case HighwayTertiaryLink: return QObject::tr("Tertiary Link Road");
- case HighwayTertiary: return QObject::tr("Tertiary Road");
- case HighwaySecondaryLink: return QObject::tr("Secondary Link Road");
- case HighwaySecondary: return QObject::tr("Secondary Road");
- case HighwayPrimaryLink: return QObject::tr("Primary Link Road");
- case HighwayPrimary: return QObject::tr("Primary Road");
- case HighwayTrunkLink: return QObject::tr("Trunk Link Road");
- case HighwayTrunk: return QObject::tr("Trunk Road");
- case HighwayMotorwayLink: return QObject::tr("Motorway Link Road");
- case HighwayMotorway: return QObject::tr("Motorway");
- case Building: return QObject::tr("Building");
- case AccomodationCamping: return QObject::tr("Camping");
- case AccomodationHostel: return QObject::tr("Hostel");
- case AccomodationHotel: return QObject::tr("Hotel");
- case AccomodationMotel: return QObject::tr("Motel");
- case AccomodationYouthHostel: return QObject::tr("Youth Hostel");
- case AccomodationGuestHouse: return QObject::tr("Guest House");
- case AmenityLibrary: return QObject::tr("Library");
- case AmenityKindergarten: return QObject::tr("Kindergarten");
- case EducationCollege: return QObject::tr("College");
- case EducationSchool: return QObject::tr("School");
- case EducationUniversity: return QObject::tr("University");
- case FoodBar: return QObject::tr("Bar");
- case FoodBiergarten: return QObject::tr("Biergarten");
- case FoodCafe: return QObject::tr("Cafe");
- case FoodFastFood: return QObject::tr("Fast Food");
- case FoodPub: return QObject::tr("Pub");
- case FoodRestaurant: return QObject::tr("Restaurant");
- case HealthDentist: return QObject::tr("Dentist");
- case HealthDoctors: return QObject::tr("Doctors");
- case HealthHospital: return QObject::tr("Hospital");
- case HealthPharmacy: return QObject::tr("Pharmacy");
- case HealthVeterinary: return QObject::tr("Veterinary");
- case MoneyAtm: return QObject::tr("ATM");
- case MoneyBank: return QObject::tr("Bank");
- case AmenityArchaeologicalSite: return QObject::tr("Archaeological Site");
- case AmenityEmbassy: return QObject::tr("Embassy");
- case AmenityEmergencyPhone: return QObject::tr("Emergency Phone");
- case AmenityWaterPark: return QObject::tr("Water Park");
- case AmenityCommunityCentre: return QObject::tr("Community Centre");
- case AmenityFountain: return QObject::tr("Fountain");
- case AmenityNightClub: return QObject::tr("Night Club");
- case AmenityBench: return QObject::tr("Bench");
- case AmenityCourtHouse: return QObject::tr("Court House");
- case AmenityFireStation: return QObject::tr("Fire Station");
- case AmenityHuntingStand: return QObject::tr("Hunting Stand");
- case AmenityPolice: return QObject::tr("Police");
- case AmenityPostBox: return QObject::tr("Post Box");
- case AmenityPostOffice: return QObject::tr("Post Office");
- case AmenityPrison: return QObject::tr("Prison");
- case AmenityRecycling: return QObject::tr("Recycling");
- case AmenityShelter: return QObject::tr("Shelter");
- case AmenityTelephone: return QObject::tr("Telephone");
- case AmenityToilets: return QObject::tr("Toilets");
- case AmenityTownHall: return QObject::tr("Town Hall");
- case AmenityWasteBasket: return QObject::tr("Waste Basket");
- case AmenityDrinkingWater: return QObject::tr("Drinking Water");
- case AmenityGraveyard: return QObject::tr("Graveyard");
- case BarrierCityWall: return QObject::tr("City Wall");
- case BarrierGate: return QObject::tr("Gate");
- case BarrierLiftGate: return QObject::tr("Lift Gate");
- case BarrierWall: return QObject::tr("Wall");
- case NaturalPeak: return QObject::tr("Peak");
- case NaturalTree: return QObject::tr("Tree");
- case ShopBeverages: return QObject::tr("Beverages");
- case ShopHifi: return QObject::tr("Hifi");
- case ShopSupermarket: return QObject::tr("Supermarket");
- case ShopAlcohol: return QObject::tr("Alcohol");
- case ShopBakery: return QObject::tr("Bakery");
- case ShopButcher: return QObject::tr("Butcher");
- case ShopConfectionery: return QObject::tr("Confectionery");
- case ShopConvenience: return QObject::tr("Convenience Shop");
- case ShopGreengrocer: return QObject::tr("Greengrocer");
- case ShopSeafood: return QObject::tr("Seafood");
- case ShopDepartmentStore: return QObject::tr("Department Store");
- case ShopKiosk: return QObject::tr("Kiosk");
- case ShopBag: return QObject::tr("Bag");
- case ShopClothes: return QObject::tr("Clothes");
- case ShopFashion: return QObject::tr("Fashion");
- case ShopJewelry: return QObject::tr("Jewelry");
- case ShopShoes: return QObject::tr("Shoes");
- case ShopVarietyStore: return QObject::tr("Variety Store");
- case ShopBeauty: return QObject::tr("Beauty");
- case ShopChemist: return QObject::tr("Chemist");
- case ShopCosmetics: return QObject::tr("Cosmetics");
- case ShopHairdresser: return QObject::tr("Hairdresser");
- case ShopOptician: return QObject::tr("Optician");
- case ShopPerfumery: return QObject::tr("Perfumery");
- case ShopDoitYourself: return QObject::tr("Doit Yourself");
- case ShopFlorist: return QObject::tr("Florist");
- case ShopHardware: return QObject::tr("Hardware");
- case ShopFurniture: return QObject::tr("Furniture");
- case ShopElectronics: return QObject::tr("Electronics");
- case ShopMobilePhone: return QObject::tr("Mobile Phone");
- case ShopBicycle: return QObject::tr("Bicycle");
- case ShopCar: return QObject::tr("Car");
- case ShopCarRepair: return QObject::tr("Car Repair");
- case ShopCarParts: return QObject::tr("Car Parts");
- case ShopMotorcycle: return QObject::tr("Motorcycle");
- case ShopOutdoor: return QObject::tr("Outdoor");
- case ShopMusicalInstrument: return QObject::tr("Musical Instrument");
- case ShopPhoto: return QObject::tr("Photo");
- case ShopBook: return QObject::tr("Book");
- case ShopGift: return QObject::tr("Gift");
- case ShopStationery: return QObject::tr("Stationery");
- case ShopLaundry: return QObject::tr("Laundry");
- case ShopPet: return QObject::tr("Pet");
- case ShopToys: return QObject::tr("Toys");
- case ShopTravelAgency: return QObject::tr("Travel Agency");
- case Shop: return QObject::tr("Shop");
- case ManmadeBridge: return QObject::tr("Bridge");
- case ManmadeLighthouse: return QObject::tr("Lighthouse");
- case ManmadePier: return QObject::tr("Pier");
- case ManmadeWaterTower: return QObject::tr("Water Tower");
- case ManmadeWindMill: return QObject::tr("Wind Mill");
- case TouristAttraction: return QObject::tr("Tourist Attraction");
- case TouristCastle: return QObject::tr("Castle");
- case TouristCinema: return QObject::tr("Cinema");
- case TouristInformation: return QObject::tr("Information");
- case TouristMonument: return QObject::tr("Monument");
- case TouristMuseum: return QObject::tr("Museum");
- case TouristRuin: return QObject::tr("Ruin");
- case TouristTheatre: return QObject::tr("Theatre");
- case TouristThemePark: return QObject::tr("Theme Park");
- case TouristViewPoint: return QObject::tr("View Point");
- case TouristZoo: return QObject::tr("Zoo");
- case TouristAlpineHut: return QObject::tr("Alpine Hut");
- case TransportAerodrome: return QObject::tr("Aerodrome");
- case TransportHelipad: return QObject::tr("Helipad");
- case TransportAirportGate: return QObject::tr("Airport Gate");
- case TransportAirportRunway: return QObject::tr("Airport Runway");
- case TransportAirportApron: return QObject::tr("Airport Apron");
- case TransportAirportTaxiway: return QObject::tr("Airport Taxiway");
- case TransportAirportTerminal: return QObject::tr("Airport Terminal");
- case TransportBusStation: return QObject::tr("Bus Station");
- case TransportBusStop: return QObject::tr("Bus Stop");
- case TransportCarShare: return QObject::tr("Car Sharing");
- case TransportFuel: return QObject::tr("Gas Station");
- case TransportParking: return QObject::tr("Parking");
- case TransportParkingSpace: return QObject::tr("Parking Space");
- case TransportPlatform: return QObject::tr("Platform");
- case TransportRentalBicycle: return QObject::tr("Rental Bicycle");
- case TransportRentalCar: return QObject::tr("Rental Car");
- case TransportTaxiRank: return QObject::tr("Taxi Rank");
- case TransportTrainStation: return QObject::tr("Train Station");
- case TransportTramStop: return QObject::tr("Tram Stop");
- case TransportBicycleParking: return QObject::tr("Bicycle Parking");
- case TransportMotorcycleParking: return QObject::tr("Motorcycle Parking");
- case TransportSubwayEntrance: return QObject::tr("Subway Entrance");
- case ReligionPlaceOfWorship: return QObject::tr("Place Of Worship");
- case ReligionBahai: return QObject::tr("Bahai");
- case ReligionBuddhist: return QObject::tr("Buddhist");
- case ReligionChristian: return QObject::tr("Christian");
- case ReligionMuslim: return QObject::tr("Muslim");
- case ReligionHindu: return QObject::tr("Hindu");
- case ReligionJain: return QObject::tr("Jain");
- case ReligionJewish: return QObject::tr("Jewish");
- case ReligionShinto: return QObject::tr("Shinto");
- case ReligionSikh: return QObject::tr("Sikh");
- case LeisureGolfCourse: return QObject::tr("Golf Course");
- case LeisureMarina: return QObject::tr("Marina");
- case LeisurePark: return QObject::tr("Park");
- case LeisurePlayground: return QObject::tr("Playground");
- case LeisurePitch: return QObject::tr("Pitch");
- case LeisureSportsCentre: return QObject::tr("Sports Centre");
- case LeisureStadium: return QObject::tr("Stadium");
- case LeisureTrack: return QObject::tr("Track");
- case LeisureSwimmingPool: return QObject::tr("Swimming Pool");
- case LanduseAllotments: return QObject::tr("Allotments");
- case LanduseBasin: return QObject::tr("Basin");
- case LanduseCemetery: return QObject::tr("Cemetery");
- case LanduseCommercial: return QObject::tr("Commercial");
- case LanduseConstruction: return QObject::tr("Construction");
- case LanduseFarmland: return QObject::tr("Farmland");
- case LanduseFarmyard: return QObject::tr("Farmyard");
- case LanduseGarages: return QObject::tr("Garages");
- case LanduseGrass: return QObject::tr("Grass");
- case LanduseIndustrial: return QObject::tr("Industrial");
- case LanduseLandfill: return QObject::tr("Landfill");
- case LanduseMeadow: return QObject::tr("Meadow");
- case LanduseMilitary: return QObject::tr("Military");
- case LanduseQuarry: return QObject::tr("Quarry");
- case LanduseRailway: return QObject::tr("Railway");
- case LanduseReservoir: return QObject::tr("Reservoir");
- case LanduseResidential: return QObject::tr("Residential");
- case LanduseRetail: return QObject::tr("Retail");
- case LanduseOrchard: return QObject::tr("Orchard");
- case LanduseVineyard: return QObject::tr("Vineyard");
- case RailwayRail: return QObject::tr("Rail");
- case RailwayNarrowGauge: return QObject::tr("Narrow Gauge");
- case RailwayTram: return QObject::tr("Tram");
- case RailwayLightRail: return QObject::tr("Light Rail");
- case RailwayAbandoned: return QObject::tr("Abandoned Railway");
- case RailwaySubway: return QObject::tr("Subway");
- case RailwayPreserved: return QObject::tr("Preserved Railway");
- case RailwayMiniature: return QObject::tr("Miniature Railway");
- case RailwayConstruction: return QObject::tr("Railway Construction");
- case RailwayMonorail: return QObject::tr("Monorail");
- case RailwayFunicular: return QObject::tr("Funicular Railway");
- case PowerTower: return QObject::tr("Power Tower");
- case AdminLevel1: return QObject::tr("Admin Boundary (Level 1)");
- case AdminLevel2: return QObject::tr("Admin Boundary (Level 2)");
- case AdminLevel3: return QObject::tr("Admin Boundary (Level 3)");
- case AdminLevel4: return QObject::tr("Admin Boundary (Level 4)");
- case AdminLevel5: return QObject::tr("Admin Boundary (Level 5)");
- case AdminLevel6: return QObject::tr("Admin Boundary (Level 6)");
- case AdminLevel7: return QObject::tr("Admin Boundary (Level 7)");
- case AdminLevel8: return QObject::tr("Admin Boundary (Level 8)");
- case AdminLevel9: return QObject::tr("Admin Boundary (Level 9)");
- case AdminLevel10: return QObject::tr("Admin Boundary (Level 10)");
- case AdminLevel11: return QObject::tr("Admin Boundary (Level 11)");
- case BoundaryMaritime: return QObject::tr("Boundary (Maritime)");
- case Landmass: return QObject::tr("Land Mass");
- case UrbanArea: return QObject::tr("Urban Area");
- case InternationalDateLine: return QObject::tr("International Date Line");
- case Bathymetry: return QObject::tr("Bathymetry");
+ case PlaceCity: return GeoDataFeaturePrivate::tr("City");
+ case PlaceSuburb: return GeoDataFeaturePrivate::tr("Suburb");
+ case PlaceHamlet: return GeoDataFeaturePrivate::tr("Hamlet");
+ case PlaceLocality: return GeoDataFeaturePrivate::tr("Locality");
+ case PlaceTown: return GeoDataFeaturePrivate::tr("Town");
+ case PlaceVillage: return GeoDataFeaturePrivate::tr("Village");
+ case NaturalWater: return GeoDataFeaturePrivate::tr("Water");
+ case NaturalReef: return GeoDataFeaturePrivate::tr("Reef");
+ case NaturalWood: return GeoDataFeaturePrivate::tr("Wood");
+ case NaturalBeach: return GeoDataFeaturePrivate::tr("Beach");
+ case NaturalWetland: return GeoDataFeaturePrivate::tr("Wetland");
+ case NaturalGlacier: return GeoDataFeaturePrivate::tr("Glacier");
+ case NaturalIceShelf: return GeoDataFeaturePrivate::tr("Ice Shelf");
+ case NaturalScrub: return GeoDataFeaturePrivate::tr("Scrub");
+ case NaturalCliff: return GeoDataFeaturePrivate::tr("Cliff");
+ case NaturalHeath: return GeoDataFeaturePrivate::tr("Heath");
+ case HighwayTrafficSignals: return GeoDataFeaturePrivate::tr("Traffic Signals");
+ case HighwaySteps: return GeoDataFeaturePrivate::tr("Steps");
+ case HighwayUnknown: return GeoDataFeaturePrivate::tr("Unknown Road");
+ case HighwayPath: return GeoDataFeaturePrivate::tr("Path");
+ case HighwayFootway: return GeoDataFeaturePrivate::tr("Footway");
+ case HighwayTrack: return GeoDataFeaturePrivate::tr("Track");
+ case HighwayPedestrian: return GeoDataFeaturePrivate::tr("Footway");
+ case HighwayCycleway: return GeoDataFeaturePrivate::tr("Cycleway");
+ case HighwayService: return GeoDataFeaturePrivate::tr("Service Road");
+ case HighwayRoad: return GeoDataFeaturePrivate::tr("Road");
+ case HighwayResidential: return GeoDataFeaturePrivate::tr("Residential Road");
+ case HighwayLivingStreet: return GeoDataFeaturePrivate::tr("Living Street");
+ case HighwayUnclassified: return GeoDataFeaturePrivate::tr("Unclassified Road");
+ case HighwayTertiaryLink: return GeoDataFeaturePrivate::tr("Tertiary Link Road");
+ case HighwayTertiary: return GeoDataFeaturePrivate::tr("Tertiary Road");
+ case HighwaySecondaryLink: return GeoDataFeaturePrivate::tr("Secondary Link Road");
+ case HighwaySecondary: return GeoDataFeaturePrivate::tr("Secondary Road");
+ case HighwayPrimaryLink: return GeoDataFeaturePrivate::tr("Primary Link Road");
+ case HighwayPrimary: return GeoDataFeaturePrivate::tr("Primary Road");
+ case HighwayTrunkLink: return GeoDataFeaturePrivate::tr("Trunk Link Road");
+ case HighwayTrunk: return GeoDataFeaturePrivate::tr("Trunk Road");
+ case HighwayMotorwayLink: return GeoDataFeaturePrivate::tr("Motorway Link Road");
+ case HighwayMotorway: return GeoDataFeaturePrivate::tr("Motorway");
+ case Building: return GeoDataFeaturePrivate::tr("Building");
+ case AccomodationCamping: return GeoDataFeaturePrivate::tr("Camping");
+ case AccomodationHostel: return GeoDataFeaturePrivate::tr("Hostel");
+ case AccomodationHotel: return GeoDataFeaturePrivate::tr("Hotel");
+ case AccomodationMotel: return GeoDataFeaturePrivate::tr("Motel");
+ case AccomodationYouthHostel: return GeoDataFeaturePrivate::tr("Youth Hostel");
+ case AccomodationGuestHouse: return GeoDataFeaturePrivate::tr("Guest House");
+ case AmenityLibrary: return GeoDataFeaturePrivate::tr("Library");
+ case AmenityKindergarten: return GeoDataFeaturePrivate::tr("Kindergarten");
+ case EducationCollege: return GeoDataFeaturePrivate::tr("College");
+ case EducationSchool: return GeoDataFeaturePrivate::tr("School");
+ case EducationUniversity: return GeoDataFeaturePrivate::tr("University");
+ case FoodBar: return GeoDataFeaturePrivate::tr("Bar");
+ case FoodBiergarten: return GeoDataFeaturePrivate::tr("Biergarten");
+ case FoodCafe: return GeoDataFeaturePrivate::tr("Cafe");
+ case FoodFastFood: return GeoDataFeaturePrivate::tr("Fast Food");
+ case FoodPub: return GeoDataFeaturePrivate::tr("Pub");
+ case FoodRestaurant: return GeoDataFeaturePrivate::tr("Restaurant");
+ case HealthDentist: return GeoDataFeaturePrivate::tr("Dentist");
+ case HealthDoctors: return GeoDataFeaturePrivate::tr("Doctors");
+ case HealthHospital: return GeoDataFeaturePrivate::tr("Hospital");
+ case HealthPharmacy: return GeoDataFeaturePrivate::tr("Pharmacy");
+ case HealthVeterinary: return GeoDataFeaturePrivate::tr("Veterinary");
+ case MoneyAtm: return GeoDataFeaturePrivate::tr("ATM");
+ case MoneyBank: return GeoDataFeaturePrivate::tr("Bank");
+ case AmenityArchaeologicalSite: return GeoDataFeaturePrivate::tr("Archaeological Site");
+ case AmenityEmbassy: return GeoDataFeaturePrivate::tr("Embassy");
+ case AmenityEmergencyPhone: return GeoDataFeaturePrivate::tr("Emergency Phone");
+ case AmenityWaterPark: return GeoDataFeaturePrivate::tr("Water Park");
+ case AmenityCommunityCentre: return GeoDataFeaturePrivate::tr("Community Centre");
+ case AmenityFountain: return GeoDataFeaturePrivate::tr("Fountain");
+ case AmenityNightClub: return GeoDataFeaturePrivate::tr("Night Club");
+ case AmenityBench: return GeoDataFeaturePrivate::tr("Bench");
+ case AmenityCourtHouse: return GeoDataFeaturePrivate::tr("Court House");
+ case AmenityFireStation: return GeoDataFeaturePrivate::tr("Fire Station");
+ case AmenityHuntingStand: return GeoDataFeaturePrivate::tr("Hunting Stand");
+ case AmenityPolice: return GeoDataFeaturePrivate::tr("Police");
+ case AmenityPostBox: return GeoDataFeaturePrivate::tr("Post Box");
+ case AmenityPostOffice: return GeoDataFeaturePrivate::tr("Post Office");
+ case AmenityPrison: return GeoDataFeaturePrivate::tr("Prison");
+ case AmenityRecycling: return GeoDataFeaturePrivate::tr("Recycling");
+ case AmenityShelter: return GeoDataFeaturePrivate::tr("Shelter");
+ case AmenityTelephone: return GeoDataFeaturePrivate::tr("Telephone");
+ case AmenityToilets: return GeoDataFeaturePrivate::tr("Toilets");
+ case AmenityTownHall: return GeoDataFeaturePrivate::tr("Town Hall");
+ case AmenityWasteBasket: return GeoDataFeaturePrivate::tr("Waste Basket");
+ case AmenityDrinkingWater: return GeoDataFeaturePrivate::tr("Drinking Water");
+ case AmenityGraveyard: return GeoDataFeaturePrivate::tr("Graveyard");
+ case BarrierCityWall: return GeoDataFeaturePrivate::tr("City Wall");
+ case BarrierGate: return GeoDataFeaturePrivate::tr("Gate");
+ case BarrierLiftGate: return GeoDataFeaturePrivate::tr("Lift Gate");
+ case BarrierWall: return GeoDataFeaturePrivate::tr("Wall");
+ case NaturalPeak: return GeoDataFeaturePrivate::tr("Peak");
+ case NaturalTree: return GeoDataFeaturePrivate::tr("Tree");
+ case ShopBeverages: return GeoDataFeaturePrivate::tr("Beverages");
+ case ShopHifi: return GeoDataFeaturePrivate::tr("Hifi");
+ case ShopSupermarket: return GeoDataFeaturePrivate::tr("Supermarket");
+ case ShopAlcohol: return GeoDataFeaturePrivate::tr("Alcohol");
+ case ShopBakery: return GeoDataFeaturePrivate::tr("Bakery");
+ case ShopButcher: return GeoDataFeaturePrivate::tr("Butcher");
+ case ShopConfectionery: return GeoDataFeaturePrivate::tr("Confectionery");
+ case ShopConvenience: return GeoDataFeaturePrivate::tr("Convenience Shop");
+ case ShopGreengrocer: return GeoDataFeaturePrivate::tr("Greengrocer");
+ case ShopSeafood: return GeoDataFeaturePrivate::tr("Seafood");
+ case ShopDepartmentStore: return GeoDataFeaturePrivate::tr("Department Store");
+ case ShopKiosk: return GeoDataFeaturePrivate::tr("Kiosk");
+ case ShopBag: return GeoDataFeaturePrivate::tr("Bag");
+ case ShopClothes: return GeoDataFeaturePrivate::tr("Clothes");
+ case ShopFashion: return GeoDataFeaturePrivate::tr("Fashion");
+ case ShopJewelry: return GeoDataFeaturePrivate::tr("Jewelry");
+ case ShopShoes: return GeoDataFeaturePrivate::tr("Shoes");
+ case ShopVarietyStore: return GeoDataFeaturePrivate::tr("Variety Store");
+ case ShopBeauty: return GeoDataFeaturePrivate::tr("Beauty");
+ case ShopChemist: return GeoDataFeaturePrivate::tr("Chemist");
+ case ShopCosmetics: return GeoDataFeaturePrivate::tr("Cosmetics");
+ case ShopHairdresser: return GeoDataFeaturePrivate::tr("Hairdresser");
+ case ShopOptician: return GeoDataFeaturePrivate::tr("Optician");
+ case ShopPerfumery: return GeoDataFeaturePrivate::tr("Perfumery");
+ case ShopDoitYourself: return GeoDataFeaturePrivate::tr("Doit Yourself");
+ case ShopFlorist: return GeoDataFeaturePrivate::tr("Florist");
+ case ShopHardware: return GeoDataFeaturePrivate::tr("Hardware");
+ case ShopFurniture: return GeoDataFeaturePrivate::tr("Furniture");
+ case ShopElectronics: return GeoDataFeaturePrivate::tr("Electronics");
+ case ShopMobilePhone: return GeoDataFeaturePrivate::tr("Mobile Phone");
+ case ShopBicycle: return GeoDataFeaturePrivate::tr("Bicycle");
+ case ShopCar: return GeoDataFeaturePrivate::tr("Car");
+ case ShopCarRepair: return GeoDataFeaturePrivate::tr("Car Repair");
+ case ShopCarParts: return GeoDataFeaturePrivate::tr("Car Parts");
+ case ShopMotorcycle: return GeoDataFeaturePrivate::tr("Motorcycle");
+ case ShopOutdoor: return GeoDataFeaturePrivate::tr("Outdoor");
+ case ShopMusicalInstrument: return GeoDataFeaturePrivate::tr("Musical Instrument");
+ case ShopPhoto: return GeoDataFeaturePrivate::tr("Photo");
+ case ShopBook: return GeoDataFeaturePrivate::tr("Book");
+ case ShopGift: return GeoDataFeaturePrivate::tr("Gift");
+ case ShopStationery: return GeoDataFeaturePrivate::tr("Stationery");
+ case ShopLaundry: return GeoDataFeaturePrivate::tr("Laundry");
+ case ShopPet: return GeoDataFeaturePrivate::tr("Pet");
+ case ShopToys: return GeoDataFeaturePrivate::tr("Toys");
+ case ShopTravelAgency: return GeoDataFeaturePrivate::tr("Travel Agency");
+ case Shop: return GeoDataFeaturePrivate::tr("Shop");
+ case ManmadeBridge: return GeoDataFeaturePrivate::tr("Bridge");
+ case ManmadeLighthouse: return GeoDataFeaturePrivate::tr("Lighthouse");
+ case ManmadePier: return GeoDataFeaturePrivate::tr("Pier");
+ case ManmadeWaterTower: return GeoDataFeaturePrivate::tr("Water Tower");
+ case ManmadeWindMill: return GeoDataFeaturePrivate::tr("Wind Mill");
+ case TouristAttraction: return GeoDataFeaturePrivate::tr("Tourist Attraction");
+ case TouristCastle: return GeoDataFeaturePrivate::tr("Castle");
+ case TouristCinema: return GeoDataFeaturePrivate::tr("Cinema");
+ case TouristInformation: return GeoDataFeaturePrivate::tr("Information");
+ case TouristMonument: return GeoDataFeaturePrivate::tr("Monument");
+ case TouristMuseum: return GeoDataFeaturePrivate::tr("Museum");
+ case TouristRuin: return GeoDataFeaturePrivate::tr("Ruin");
+ case TouristTheatre: return GeoDataFeaturePrivate::tr("Theatre");
+ case TouristThemePark: return GeoDataFeaturePrivate::tr("Theme Park");
+ case TouristViewPoint: return GeoDataFeaturePrivate::tr("View Point");
+ case TouristZoo: return GeoDataFeaturePrivate::tr("Zoo");
+ case TouristAlpineHut: return GeoDataFeaturePrivate::tr("Alpine Hut");
+ case TransportAerodrome: return GeoDataFeaturePrivate::tr("Aerodrome");
+ case TransportHelipad: return GeoDataFeaturePrivate::tr("Helipad");
+ case TransportAirportGate: return GeoDataFeaturePrivate::tr("Airport Gate");
+ case TransportAirportRunway: return GeoDataFeaturePrivate::tr("Airport Runway");
+ case TransportAirportApron: return GeoDataFeaturePrivate::tr("Airport Apron");
+ case TransportAirportTaxiway: return GeoDataFeaturePrivate::tr("Airport Taxiway");
+ case TransportAirportTerminal: return GeoDataFeaturePrivate::tr("Airport Terminal");
+ case TransportBusStation: return GeoDataFeaturePrivate::tr("Bus Station");
+ case TransportBusStop: return GeoDataFeaturePrivate::tr("Bus Stop");
+ case TransportCarShare: return GeoDataFeaturePrivate::tr("Car Sharing");
+ case TransportFuel: return GeoDataFeaturePrivate::tr("Gas Station");
+ case TransportParking: return GeoDataFeaturePrivate::tr("Parking");
+ case TransportParkingSpace: return GeoDataFeaturePrivate::tr("Parking Space");
+ case TransportPlatform: return GeoDataFeaturePrivate::tr("Platform");
+ case TransportRentalBicycle: return GeoDataFeaturePrivate::tr("Rental Bicycle");
+ case TransportRentalCar: return GeoDataFeaturePrivate::tr("Rental Car");
+ case TransportTaxiRank: return GeoDataFeaturePrivate::tr("Taxi Rank");
+ case TransportTrainStation: return GeoDataFeaturePrivate::tr("Train Station");
+ case TransportTramStop: return GeoDataFeaturePrivate::tr("Tram Stop");
+ case TransportBicycleParking: return GeoDataFeaturePrivate::tr("Bicycle Parking");
+ case TransportMotorcycleParking: return GeoDataFeaturePrivate::tr("Motorcycle Parking");
+ case TransportSubwayEntrance: return GeoDataFeaturePrivate::tr("Subway Entrance");
+ case ReligionPlaceOfWorship: return GeoDataFeaturePrivate::tr("Place Of Worship");
+ case ReligionBahai: return GeoDataFeaturePrivate::tr("Bahai");
+ case ReligionBuddhist: return GeoDataFeaturePrivate::tr("Buddhist");
+ case ReligionChristian: return GeoDataFeaturePrivate::tr("Christian");
+ case ReligionMuslim: return GeoDataFeaturePrivate::tr("Muslim");
+ case ReligionHindu: return GeoDataFeaturePrivate::tr("Hindu");
+ case ReligionJain: return GeoDataFeaturePrivate::tr("Jain");
+ case ReligionJewish: return GeoDataFeaturePrivate::tr("Jewish");
+ case ReligionShinto: return GeoDataFeaturePrivate::tr("Shinto");
+ case ReligionSikh: return GeoDataFeaturePrivate::tr("Sikh");
+ case LeisureGolfCourse: return GeoDataFeaturePrivate::tr("Golf Course");
+ case LeisureMarina: return GeoDataFeaturePrivate::tr("Marina");
+ case LeisurePark: return GeoDataFeaturePrivate::tr("Park");
+ case LeisurePlayground: return GeoDataFeaturePrivate::tr("Playground");
+ case LeisurePitch: return GeoDataFeaturePrivate::tr("Pitch");
+ case LeisureSportsCentre: return GeoDataFeaturePrivate::tr("Sports Centre");
+ case LeisureStadium: return GeoDataFeaturePrivate::tr("Stadium");
+ case LeisureTrack: return GeoDataFeaturePrivate::tr("Track");
+ case LeisureSwimmingPool: return GeoDataFeaturePrivate::tr("Swimming Pool");
+ case LanduseAllotments: return GeoDataFeaturePrivate::tr("Allotments");
+ case LanduseBasin: return GeoDataFeaturePrivate::tr("Basin");
+ case LanduseCemetery: return GeoDataFeaturePrivate::tr("Cemetery");
+ case LanduseCommercial: return GeoDataFeaturePrivate::tr("Commercial");
+ case LanduseConstruction: return GeoDataFeaturePrivate::tr("Construction");
+ case LanduseFarmland: return GeoDataFeaturePrivate::tr("Farmland");
+ case LanduseFarmyard: return GeoDataFeaturePrivate::tr("Farmyard");
+ case LanduseGarages: return GeoDataFeaturePrivate::tr("Garages");
+ case LanduseGrass: return GeoDataFeaturePrivate::tr("Grass");
+ case LanduseIndustrial: return GeoDataFeaturePrivate::tr("Industrial");
+ case LanduseLandfill: return GeoDataFeaturePrivate::tr("Landfill");
+ case LanduseMeadow: return GeoDataFeaturePrivate::tr("Meadow");
+ case LanduseMilitary: return GeoDataFeaturePrivate::tr("Military");
+ case LanduseQuarry: return GeoDataFeaturePrivate::tr("Quarry");
+ case LanduseRailway: return GeoDataFeaturePrivate::tr("Railway");
+ case LanduseReservoir: return GeoDataFeaturePrivate::tr("Reservoir");
+ case LanduseResidential: return GeoDataFeaturePrivate::tr("Residential");
+ case LanduseRetail: return GeoDataFeaturePrivate::tr("Retail");
+ case LanduseOrchard: return GeoDataFeaturePrivate::tr("Orchard");
+ case LanduseVineyard: return GeoDataFeaturePrivate::tr("Vineyard");
+ case RailwayRail: return GeoDataFeaturePrivate::tr("Rail");
+ case RailwayNarrowGauge: return GeoDataFeaturePrivate::tr("Narrow Gauge");
+ case RailwayTram: return GeoDataFeaturePrivate::tr("Tram");
+ case RailwayLightRail: return GeoDataFeaturePrivate::tr("Light Rail");
+ case RailwayAbandoned: return GeoDataFeaturePrivate::tr("Abandoned Railway");
+ case RailwaySubway: return GeoDataFeaturePrivate::tr("Subway");
+ case RailwayPreserved: return GeoDataFeaturePrivate::tr("Preserved Railway");
+ case RailwayMiniature: return GeoDataFeaturePrivate::tr("Miniature Railway");
+ case RailwayConstruction: return GeoDataFeaturePrivate::tr("Railway Construction");
+ case RailwayMonorail: return GeoDataFeaturePrivate::tr("Monorail");
+ case RailwayFunicular: return GeoDataFeaturePrivate::tr("Funicular Railway");
+ case PowerTower: return GeoDataFeaturePrivate::tr("Power Tower");
+ case AdminLevel1: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 1)");
+ case AdminLevel2: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 2)");
+ case AdminLevel3: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 3)");
+ case AdminLevel4: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 4)");
+ case AdminLevel5: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 5)");
+ case AdminLevel6: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 6)");
+ case AdminLevel7: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 7)");
+ case AdminLevel8: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 8)");
+ case AdminLevel9: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 9)");
+ case AdminLevel10: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 10)");
+ case AdminLevel11: return GeoDataFeaturePrivate::tr("Admin Boundary (Level 11)");
+ case BoundaryMaritime: return GeoDataFeaturePrivate::tr("Boundary (Maritime)");
+ case Landmass: return GeoDataFeaturePrivate::tr("Land Mass");
+ case UrbanArea: return GeoDataFeaturePrivate::tr("Urban Area");
+ case InternationalDateLine: return GeoDataFeaturePrivate::tr("International Date Line");
+ case Bathymetry: return GeoDataFeaturePrivate::tr("Bathymetry");
case Default:
case Unknown:
diff --git a/src/lib/marble/geodata/data/GeoDataFeature_p.h b/src/lib/marble/geodata/data/GeoDataFeature_p.h
index b99e890..e98c0d6 100644
--- a/src/lib/marble/geodata/data/GeoDataFeature_p.h
+++ b/src/lib/marble/geodata/data/GeoDataFeature_p.h
@@ -30,6 +30,7 @@ namespace Marble
class GeoDataFeaturePrivate
{
+ Q_DECLARE_TR_FUNCTIONS(GeoDataFeature)
public:
GeoDataFeaturePrivate() :
m_name(),