aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-09-15 07:35:00 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-09-15 07:35:00 +0000
commitae00a14d0fafbd9e3692c12803c9c7c47b769bb3 (patch)
treed77a264eb9002b9848565b54fb3c15637111d293
parent35817cebfa1f94cb778a71a2eb8a3fb4137eb77c (diff)
downloadqmmp-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
-rw-r--r--.tx/config24
-rw-r--r--src/qmmpui/txt/description.txt2
-rw-r--r--src/qmmpui/txt/description_pt.txt1
-rwxr-xr-xutils/update_tx.sh13
4 files changed, 38 insertions, 2 deletions
diff --git a/.tx/config b/.tx/config
index 11975fe6f..a8932ad40 100644
--- a/.tx/config
+++ b/.tx/config
@@ -367,3 +367,27 @@ source_lang = en
source_file = src/plugins/Transports/http/translations/http_plugin_en.ts
type = QT
+[qmmp.description]
+file_filter = src/qmmpui/txt/description_<lang>.txt
+source_lang = en
+source_file = src/qmmpui/txt/description.txt
+type = TXT
+
+[qmmp.authors]
+file_filter = src/qmmpui/txt/authors_<lang>.txt
+source_lang = en
+source_file = src/qmmpui/txt/authors.txt
+type = TXT
+
+[qmmp.translators]
+file_filter = src/qmmpui/txt/translators_<lang>.txt
+source_lang = en
+source_file = src/qmmpui/txt/translators.txt
+type = TXT
+
+[qmmp.thanks]
+file_filter = src/qmmpui/txt/thanks_<lang>.txt
+source_lang = en
+source_file = src/qmmpui/txt/thanks.txt
+type = TXT
+
diff --git a/src/qmmpui/txt/description.txt b/src/qmmpui/txt/description.txt
index 7a8b33f42..cc5813442 100644
--- a/src/qmmpui/txt/description.txt
+++ b/src/qmmpui/txt/description.txt
@@ -1 +1 @@
-Esse programa é um tocador de áudio escrito com o auxílio da linguagem Qt. \ No newline at end of file
+This program is an audio-player, written with the help of the Qt library.
diff --git a/src/qmmpui/txt/description_pt.txt b/src/qmmpui/txt/description_pt.txt
new file mode 100644
index 000000000..7a8b33f42
--- /dev/null
+++ b/src/qmmpui/txt/description_pt.txt
@@ -0,0 +1 @@
+Esse programa é um tocador de áudio escrito com o auxílio da linguagem Qt. \ No newline at end of file
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