| 217 | */ |
| 218 | |
| 219 | vector<string> GetLocalizedSubtypes(TypesHolder const & types) |
| 220 | { |
| 221 | auto const & classificator = classif(); |
| 222 | auto subtypes = ftypes::Subtypes::Instance(); |
| 223 | vector<string> localizedSubtypes; |
| 224 | for (auto const & type : types) |
| 225 | if (subtypes.IsSubtype(type)) |
| 226 | localizedSubtypes.push_back(localisation::TranslatedFeatureType(classificator.GetReadableObjectName(type))); |
| 227 | return localizedSubtypes; |
| 228 | } |
| 229 | |
| 230 | vector<string> GetCuisines(TypesHolder const & types) |
| 231 | { |
no test coverage detected