| 90 | } |
| 91 | |
| 92 | std::string Result::GetLocalizedFeatureType() const |
| 93 | { |
| 94 | switch (m_resultType) |
| 95 | { |
| 96 | case Type::Feature: return GetLocalizedTypeName(m_mainType); |
| 97 | case Type::Postcode: return localisation::TranslatedInterfaceText("postal_code"); |
| 98 | default: return {}; |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | std::string Result::GetFeatureDescription() const |
| 103 | { |
no test coverage detected