From 8cd0718826f1c9b3c58cbe4446c38a01897a4af3 Mon Sep 17 00:00:00 2001 From: asanoaozora Date: Mon, 11 Sep 2017 14:47:36 +0200 Subject: some minor changes to allow display Korean on map --- src/poi-service/poi-server/main.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/poi-service') diff --git a/src/poi-service/poi-server/main.cpp b/src/poi-service/poi-server/main.cpp index cb6ee28..a6053b9 100644 --- a/src/poi-service/poi-server/main.cpp +++ b/src/poi-service/poi-server/main.cpp @@ -1826,7 +1826,7 @@ uint16_t poiSearchServer::searchPOIRequest(uint16_t categoryIndex, std::string s m_poiTable.push_back(poi); LOG_DEBUG(gCtx,"POI name: %s found at distance: %d",poi.name.c_str(),poi.distance); } - LOG_DEBUG(gCtx,"Amount of POI found: %d",sqlQueryResult.size()); + LOG_DEBUG(gCtx,"Amount of POI found: %lu",sqlQueryResult.size()); return(sqlQueryResult.size()); } @@ -2125,9 +2125,15 @@ std::vector< ::DBus::Struct< std::string, std::string, std::string > > poiConfig { std::vector< ::DBus::Struct< std::string, std::string, std::string > > ret; ::DBus::Struct< std::string, std::string, std::string > en_US { "eng","USA", "Latn" }; + ::DBus::Struct< std::string, std::string, std::string > de_DE { "deu","DEU", "Latn" }; ::DBus::Struct< std::string, std::string, std::string > fr_FR { "fra","FRA", "Latn" }; + ::DBus::Struct< std::string, std::string, std::string > jp_JP { "jpn","JPN", "Hrkt" }; + ::DBus::Struct< std::string, std::string, std::string > ko_KO { "kor","KOR", "Hang" }; ret.push_back(en_US); + ret.push_back(de_DE); ret.push_back(fr_FR); + ret.push_back(jp_JP); + ret.push_back(ko_KO); return ret; } -- cgit v1.2.1