init
[qstardict] / qstardict / translations / translations.pri
1 #############################################################################
2 # translations.pri - QStarDict, a StarDict clone written with using Qt      #
3 # Copyright (C) 2008-2009 Alexander Rodin                                   #
4 #                                                                           #
5 # This program is free software; you can redistribute it and/or modify      #
6 # it under the terms of the GNU General Public License as published by      #
7 # the Free Software Foundation; either version 2 of the License, or         #
8 # (at your option) any later version.                                       #
9 #                                                                           #
10 # This program is distributed in the hope that it will be useful,           #
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of            #
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             #
13 # GNU General Public License for more details.                              #
14 #                                                                           #
15 # You should have received a copy of the GNU General Public License along   #
16 # with this program; if not, write to the Free Software Foundation, Inc.,   #
17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.               #
18 #############################################################################
19
20 TRANSLATIONS += \
21 #    qstardict-bg_BG.ts \
22 #    qstardict-cs_CZ.ts \
23 #    qstardict-de_DE.ts \
24 #    qstardict-es_ES.ts \
25 #    qstardict-fr_FR.ts \
26 #    qstardict-it_IT.ts \
27 #    qstardict-pl_PL.ts \
28 #    qstardict-pt_BR.ts \
29 #    qstardict-ru_RU.ts \
30 #    qstardict-ua_UA.ts \
31 #    qstardict-tr_TR.ts \
32 #    qstardict-zh_CN.ts \
33 #    qstardict-zh_TW.ts
34
35 COMPILED_TRANSLATIONS += \
36 #    qstardict-bg_BG.qm \
37 #    qstardict-cs_CZ.qm \
38 #    qstardict-de_DE.qm \
39 #    qstardict-es_ES.qm \
40 #    qstardict-fr_FR.qm \
41 #    qstardict-it_IT.qm \
42 #    qstardict-pl_PL.qm \
43 #    qstardict-pt_BR.qm \
44 #    qstardict-ru_RU.qm \
45 #    qstardict-ua_UA.qm \
46 #    qstardict-tr_TR.qm \
47 #    qstardict-zh_CN.qm \
48 #    qstardict-zh_TW.qm
49 DISTFILES += $$COMPILED_TRANSLATIONS
50
51 isEmpty(NO_TRANSLATIONS) {
52     for(t, COMPILED_TRANSLATIONS):translations.files += "translations/$${t}"
53     translations.path = $$TRANSLATIONS_DIR
54     INSTALLS += translations
55 }