diff --git a/sound/tts/sound.txt b/data/sound.txt similarity index 100% rename from sound/tts/sound.txt rename to data/sound.txt diff --git a/sound/tts/languages.hpp b/sound/tts/languages.hpp deleted file mode 100644 index 3fe610fdbc..0000000000 --- a/sound/tts/languages.hpp +++ /dev/null @@ -1,49 +0,0 @@ -#pragma once - -#include "std/array.hpp" -#include "std/string.hpp" - -// This file is autogenerated while exporting sounds.csv from the google table. -// It contains the list of languages which can be used by TTS. -// It shall be included to Android(jni) and iOS part to get the languages list. - -namespace routing -{ -namespace turns -{ -namespace sound -{ -array const kLanguageList = -{{ - "ar", - "cs", - "da", - "de", - "el", - "en", - "es", - "fi", - "fr", - "hi", - "hr", - "hu", - "id", - "it", - "ja", - "ko", - "nl", - "pl", - "pt", - "ro", - "ru", - "sk", - "sv", - "sw", - "th", - "tr", - "zh-Hans", - "zh-Hant" -}}; -} // namespace sound -} // namespace turns -} // namespace routing diff --git a/tools/unix/generate_localizations.sh b/tools/unix/generate_localizations.sh index ec8e344304..44acf2bb76 100755 --- a/tools/unix/generate_localizations.sh +++ b/tools/unix/generate_localizations.sh @@ -11,10 +11,5 @@ $TWINE generate-all-localization-files --format apple "$OMIM_PATH/strings.txt" " $TWINE generate-all-localization-files --format apple --file-name InfoPlist.strings "$OMIM_PATH/iphone/plist.txt" "$OMIM_PATH/iphone/Maps/LocalizedStrings/" $TWINE generate-all-localization-files --format jquery "$OMIM_PATH/data/cuisines.txt" "$OMIM_PATH/data/cuisine-strings/" $TWINE generate-all-localization-files --format jquery "$OMIM_PATH/data/countries_names.txt" "$OMIM_PATH/data/countries-strings/" +$TWINE generate-all-localization-files --format jquery "$OMIM_PATH/data/sound.txt" "$OMIM_PATH/data/sound-strings/" #$TWINE generate-all-localization-files --include translated --format tizen "$OMIM_PATH/strings.txt" "$OMIM_PATH/tizen/MapsWithMe/res/" --tags tizen - -# Generate sound tts files. -SOUND_DATA_DIR="$OMIM_PATH/sound/tts" -LANGUAGES="$OMIM_PATH/tools/python/tts_languages.py" -python "$LANGUAGES" "$SOUND_DATA_DIR/sound.txt" "$SOUND_DATA_DIR/languages.hpp" -$TWINE generate-all-localization-files --format jquery "$SOUND_DATA_DIR/sound.txt" "$OMIM_PATH/data/sound-strings/"