diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2016-02-11 13:01:30 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:22:05 +0300 |
commit | c36d3be872da83aa53c4e9d7cd3aacbc7a7d49a8 (patch) | |
tree | e234f498bf955ac16634dccda2cb196b619ec678 /platform | |
parent | 349b78660a08604aa1d0bd35bfbebe140ab6f8db (diff) |
[new downloader] Added countries names localization
Diffstat (limited to 'platform')
-rw-r--r-- | platform/get_text_by_id.cpp | 6 | ||||
-rw-r--r-- | platform/get_text_by_id.hpp | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/platform/get_text_by_id.cpp b/platform/get_text_by_id.cpp index f60be22468..8e215d1f5e 100644 --- a/platform/get_text_by_id.cpp +++ b/platform/get_text_by_id.cpp @@ -17,8 +17,10 @@ string GetTextSourceString(platform::TextSource textSource) { switch (textSource) { - case platform::TextSource::TtsSound: - return string("sound-strings"); + case platform::TextSource::TtsSound: + return string("sound-strings"); + case platform::TextSource::Countries: + return string("countries-strings"); } ASSERT(false, ()); return string(); diff --git a/platform/get_text_by_id.hpp b/platform/get_text_by_id.hpp index b153617820..5486c90485 100644 --- a/platform/get_text_by_id.hpp +++ b/platform/get_text_by_id.hpp @@ -11,7 +11,8 @@ namespace platform // For the time being it's only strings for TTS. enum class TextSource { - TtsSound = 0 + TtsSound = 0, // maneuvers text to speech strings + Countries // countries names strings }; class GetTextById; |