diff --git a/map/framework.cpp b/map/framework.cpp index be386c606d..dce92e6d0d 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -407,6 +407,8 @@ Framework::Framework(FrameworkParams const & params) // It's better to use strings form strings.txt intead of hardcoding them here. m_stringsBundle.SetDefaultString("placepage_unknown_place", "Unknown Place"); m_stringsBundle.SetDefaultString("my_places", "My Places"); + m_stringsBundle.SetDefaultString("entrance", "Entrance"); + m_stringsBundle.SetDefaultString("exit", "Exit"); m_stringsBundle.SetDefaultString("routes", "Routes"); m_stringsBundle.SetDefaultString("wifi", "WiFi"); diff --git a/map/routing_manager.cpp b/map/routing_manager.cpp index 8b95a95683..857a284980 100644 --- a/map/routing_manager.cpp +++ b/map/routing_manager.cpp @@ -439,7 +439,7 @@ void FillTransitStyleForRendering(vector const & segments, Transit gateMarkInfo.m_featureId = fid; gateMarkInfo.m_symbolName = symbolName; - string title = pendingEntrance ? "entrance" : "exit";//getStringsBundleFn().GetString(pendingEntrance ? "entrance" : "exit"); + auto const title = getStringsBundleFn().GetString(pendingEntrance ? "entrance" : "exit"); gateMarkInfo.m_titles.push_back(TransitTitle(title, df::GetTransitTextColorName("default"))); } diff --git a/strings.txt b/strings.txt index 4267bfb6af..8c6ecf0bbe 100644 --- a/strings.txt +++ b/strings.txt @@ -27551,4 +27551,8 @@ [discover_button_other_loading_title] en = Data is loading - ru = Данные загружаются + ru = Данные загружаются + + [entrance] + en = Entrance + ru = Вход