From 22cf3c55368be9361b43eb002e7a2fb7f2868ac2 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 11 Aug 2015 07:30:46 +0000 Subject: updated text resources git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5362 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/txt/txt.qrc | 113 ++++++++++++++++++++++++++----------------------- utils/update_ts.sh | 29 +++++++++++++ 2 files changed, 88 insertions(+), 54 deletions(-) diff --git a/src/qmmpui/txt/txt.qrc b/src/qmmpui/txt/txt.qrc index 7569ce878..b82ac383c 100644 --- a/src/qmmpui/txt/txt.qrc +++ b/src/qmmpui/txt/txt.qrc @@ -8,95 +8,100 @@ thanks.txt translators.txt + description_uk_UA.txt authors_uk_UA.txt thanks_uk_UA.txt translators_uk_UA.txt - description_uk_UA.txt + description_zh_TW.txt authors_zh_TW.txt thanks_zh_TW.txt translators_zh_TW.txt - description_zh_TW.txt + + description_sr_RS.txt + authors_sr_RS.txt + thanks_sr_RS.txt + translators_sr_RS.txt + + description_gl_ES.txt + authors_gl_ES.txt + thanks_gl_ES.txt + translators_gl_ES.txt + + description_de.txt + authors_de.txt + thanks_de.txt + translators_de.txt description_cs.txt authors_cs.txt thanks_cs.txt translators_cs.txt - authors_ru.txt - thanks_ru.txt - translators_ru.txt - description_ru.txt + description_el.txt + authors_el.txt + thanks_el.txt + translators_el.txt - authors_zh_CN.txt - thanks_zh_CN.txt - translators_zh_CN.txt - description_zh_CN.txt + description_es.txt + authors_es.txt + thanks_es.txt + translators_es.txt - authors_de.txt - thanks_de.txt - translators_de.txt - description_de.txt + description_he.txt + authors_he.txt + thanks_he.txt + translators_he.txt + description_ja.txt + authors_ja.txt + thanks_ja.txt + translators_ja.txt + + description_it.txt authors_it.txt thanks_it.txt translators_it.txt - description_it.txt - - authors_tr.txt - thanks_tr.txt - translators_tr.txt - description_tr.txt + description_lt.txt authors_lt.txt thanks_lt.txt translators_lt.txt - description_lt.txt + description_nl.txt authors_nl.txt thanks_nl.txt translators_nl.txt - description_nl.txt - - authors_ja.txt - thanks_ja.txt - translators_ja.txt - description_ja.txt - - authors_es.txt - thanks_es.txt - translators_es.txt - description_es.txt - authors_he.txt - thanks_he.txt - translators_he.txt - description_he.txt + description_pt.txt + authors_pt.txt + thanks_pt.txt + translators_pt.txt - authors_sr_BA.txt - thanks_sr_BA.txt - translators_sr_BA.txt - description_sr_BA.txt + description_ru.txt + authors_ru.txt + thanks_ru.txt + translators_ru.txt - authors_sr_RS.txt - thanks_sr_RS.txt - translators_sr_RS.txt - description_sr_RS.txt + description_tr.txt + authors_tr.txt + thanks_tr.txt + translators_tr.txt + description_pl_PL.txt authors_pl_PL.txt thanks_pl_PL.txt translators_pl_PL.txt - description_pl_PL.txt - authors_pt.txt - thanks_pt.txt - translators_pt.txt - description_pt.txt - - authors_el.txt - thanks_el.txt - translators_el.txt - description_el.txt + description_zh_CN.txt + authors_zh_CN.txt + thanks_zh_CN.txt + translators_zh_CN.txt + + description_sr_BA.txt + authors_sr_BA.txt + thanks_sr_BA.txt + translators_sr_BA.txt diff --git a/utils/update_ts.sh b/utils/update_ts.sh index cfe7eb080..fcc70eb6d 100755 --- a/utils/update_ts.sh +++ b/utils/update_ts.sh @@ -78,3 +78,32 @@ do echo " " >> $qrc_file echo "" >> $qrc_file done + +echo "Updating text resources..." + +qrc_file="../src/qmmpui/txt/txt.qrc" +echo "" > $qrc_file +echo "" >> $qrc_file +echo " " >> $qrc_file +echo " ../../../COPYING" >> $qrc_file +echo "" >> $qrc_file + +echo " description.txt" >> $qrc_file +echo " authors.txt" >> $qrc_file +echo " thanks.txt" >> $qrc_file +echo " translators.txt" >> $qrc_file +echo "" >> $qrc_file + +for txt_file in `find ../src/qmmpui/txt -type f -name "authors_*"` +do + locale=`echo $txt_file | cut -d '_' -f 2,3 | cut -d '.' -f 1` + echo "Adding ${locale}" + echo " description_${locale}.txt" >> $qrc_file + echo " authors_${locale}.txt" >> $qrc_file + echo " thanks_${locale}.txt" >> $qrc_file + echo " translators_${locale}.txt" >> $qrc_file + echo "" >> $qrc_file +done + +echo " " >> $qrc_file +echo "" >> $qrc_file -- cgit v1.2.3-13-gbd6f