forked from organicmaps/organicmaps
Cuisine translations support for our core localizations engine.
This commit is contained in:
parent
154f00c28e
commit
efbed49e49
2 changed files with 6 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue