diff --git a/platform/get_text_by_id.cpp b/platform/get_text_by_id.cpp index 8e215d1f5e..e86c1bea58 100644 --- a/platform/get_text_by_id.cpp +++ b/platform/get_text_by_id.cpp @@ -11,7 +11,7 @@ namespace { -string const kDefaultLanguage = "en"; +static constexpr char const * kDefaultLanguage = "en"; string GetTextSourceString(platform::TextSource textSource) { @@ -21,6 +21,8 @@ string GetTextSourceString(platform::TextSource textSource) return string("sound-strings"); case platform::TextSource::Countries: return string("countries-strings"); + case platform::TextSource::Cuisines: + return string("cuisine-strings"); } ASSERT(false, ()); return string(); diff --git a/platform/get_text_by_id.hpp b/platform/get_text_by_id.hpp index 5486c90485..8a54a5e506 100644 --- a/platform/get_text_by_id.hpp +++ b/platform/get_text_by_id.hpp @@ -11,8 +11,9 @@ namespace platform // For the time being it's only strings for TTS. enum class TextSource { - TtsSound = 0, // maneuvers text to speech strings - Countries // countries names strings + TtsSound = 0, //!< Maneuvers text to speech strings. + Countries, //!< Countries names strings. + Cuisines //!< OSM cuisines translations. }; class GetTextById;