diff options
-rwxr-xr-x | tools/sound/generate_sound_localizations.sh (renamed from sound/tts/generate_sound_localizations.sh) | 8 | ||||
-rwxr-xr-x | tools/sound/languages.py (renamed from sound/tts/languages.py) | 0 | ||||
-rwxr-xr-x | tools/sound/sound_csv_to_sound_txt.py (renamed from sound/tts/sound_csv_to_sound_txt.py) | 0 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sound/tts/generate_sound_localizations.sh b/tools/sound/generate_sound_localizations.sh index cc2ef4e536..8962ea96eb 100755 --- a/sound/tts/generate_sound_localizations.sh +++ b/tools/sound/generate_sound_localizations.sh @@ -9,16 +9,16 @@ MY_PATH="`dirname \"$0\"`" # relative MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized readonly SOUND_TMP_DIR=$MY_PATH/../../../sound-tmp +readonly SOUND_DATA_DIR=$MY_PATH/../../sound/tts -rm -f $MY_PATH/sound_strings.zip rm -rf $SOUND_TMP_DIR mkdir $SOUND_TMP_DIR -python $MY_PATH/sound_csv_to_sound_txt.py $MY_PATH/sound.csv $MY_PATH/sound.txt $MY_PATH/languages.txt +python $MY_PATH/sound_csv_to_sound_txt.py $SOUND_DATA_DIR/sound.csv $SOUND_DATA_DIR/sound.txt $SOUND_DATA_DIR/languages.txt mkdir $SOUND_TMP_DIR/json -python $MY_PATH/languages.py $MY_PATH/languages.txt $MY_PATH/languages.hpp $SOUND_TMP_DIR/json/ -$MY_PATH/../../tools/twine/twine --format jquery generate-all-string-files $MY_PATH/sound.txt $SOUND_TMP_DIR/json +python $MY_PATH/languages.py $SOUND_DATA_DIR/languages.txt $SOUND_DATA_DIR/languages.hpp $SOUND_TMP_DIR/json/ +$MY_PATH/../twine/twine --format jquery generate-all-string-files $SOUND_DATA_DIR/sound.txt $SOUND_TMP_DIR/json readonly SOUND_OUTPUT_DIR=$MY_PATH/../../data/sound-strings/ if [ ! -d $SOUND_OUTPUT_DIR ]; then diff --git a/sound/tts/languages.py b/tools/sound/languages.py index 3a9b164584..3a9b164584 100755 --- a/sound/tts/languages.py +++ b/tools/sound/languages.py diff --git a/sound/tts/sound_csv_to_sound_txt.py b/tools/sound/sound_csv_to_sound_txt.py index 4297d7bfef..4297d7bfef 100755 --- a/sound/tts/sound_csv_to_sound_txt.py +++ b/tools/sound/sound_csv_to_sound_txt.py |