diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-09-15 07:35:00 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-09-15 07:35:00 +0000 |
| commit | ae00a14d0fafbd9e3692c12803c9c7c47b769bb3 (patch) | |
| tree | d77a264eb9002b9848565b54fb3c15637111d293 /utils | |
| parent | 35817cebfa1f94cb778a71a2eb8a3fb4137eb77c (diff) | |
| download | qmmp-ae00a14d0fafbd9e3692c12803c9c7c47b769bb3.tar.gz qmmp-ae00a14d0fafbd9e3692c12803c9c7c47b769bb3.tar.bz2 qmmp-ae00a14d0fafbd9e3692c12803c9c7c47b769bb3.zip | |
updated transifex support, fixed description (trunk)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4480 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/update_tx.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/utils/update_tx.sh b/utils/update_tx.sh index 0161b9320..d057a4b3a 100755 --- a/utils/update_tx.sh +++ b/utils/update_tx.sh @@ -1,5 +1,6 @@ #!/bin/sh +PROJECT_NAME=qmmp TX_CONFIG="../.tx/config" echo "[main]" > ${TX_CONFIG} @@ -45,7 +46,7 @@ do esac file_filter=`echo ${tr_dir} | sed 's/..\///'` - echo "[qmmp.${plug_name}]" >> ${TX_CONFIG} + echo "[${PROJECT_NAME}.${plug_name}]" >> ${TX_CONFIG} if [ "$plug_name" = "qmmp" ] || [ "$plug_name" = "libqmmpui" ]; then echo "file_filter = ${file_filter}/${plug_name}_<lang>.ts" >> ${TX_CONFIG} @@ -60,3 +61,13 @@ do echo "" >> ${TX_CONFIG} done + +for RESOURCE_NAME in description authors translators thanks +do + echo "[${PROJECT_NAME}.${RESOURCE_NAME}]" >> ${TX_CONFIG} + echo "file_filter = src/qmmpui/txt/${RESOURCE_NAME}_<lang>.txt" >> ${TX_CONFIG} + echo "source_lang = en" >> ${TX_CONFIG} + echo "source_file = src/qmmpui/txt/${RESOURCE_NAME}.txt" >> ${TX_CONFIG} + echo "type = TXT" >> ${TX_CONFIG} + echo "" >> ${TX_CONFIG} +done |
