summaryrefslogtreecommitdiffstats
path: root/tools/assistant
diff options
context:
space:
mode:
Diffstat (limited to 'tools/assistant')
-rw-r--r--tools/assistant/compat/translations/translations.pro34
-rw-r--r--tools/assistant/translations/qt_help.pro18
-rw-r--r--tools/assistant/translations/translations.pro17
-rw-r--r--tools/assistant/translations/translations_adp.pro16
4 files changed, 28 insertions, 57 deletions
diff --git a/tools/assistant/compat/translations/translations.pro b/tools/assistant/compat/translations/translations.pro
deleted file mode 100644
index 19fcc06..0000000
--- a/tools/assistant/compat/translations/translations.pro
+++ /dev/null
@@ -1,34 +0,0 @@
-# Include those manually as they do not contain any directory specification
-
-FORMS += ../helpdialog.ui \
- ../mainwindow.ui \
- ../tabbedbrowser.ui \
- ../topicchooser.ui
-
-SOURCES += ../main.cpp \
- ../helpwindow.cpp \
- ../topicchooser.cpp \
- ../docuparser.cpp \
- ../index.cpp \
- ../profile.cpp \
- ../config.cpp \
- ../helpdialog.cpp \
- ../mainwindow.cpp \
- ../tabbedbrowser.cpp \
- ../fontsettingsdialog.cpp
-
-SOURCES += ../../../shared/fontpanel/fontpanel.cpp
-
-HEADERS += ../helpwindow.h \
- ../topicchooser.h \
- ../docuparser.h \
- ../index.h \
- ../profile.h \
- ../helpdialog.h \
- ../mainwindow.h \
- ../tabbedbrowser.h \
- ../config.h \
- ../fontsettingsdialog.h
-
-
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/assistant_de.ts $$[QT_INSTALL_TRANSLATIONS]/assistant_untranslated.ts
diff --git a/tools/assistant/translations/qt_help.pro b/tools/assistant/translations/qt_help.pro
index 9f4d7d8..69570d3 100644
--- a/tools/assistant/translations/qt_help.pro
+++ b/tools/assistant/translations/qt_help.pro
@@ -39,12 +39,14 @@ HEADERS += ../lib/qhelpcollectionhandler_p.h \
../lib/qhelp_global.h
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/qt_help_de.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_ja.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_pl.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_ru.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_untranslated.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_zh_CN.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_zh_TW.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_da.ts
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+ $$TR_DIR/qt_help_da.ts \
+ $$TR_DIR/qt_help_de.ts
+ $$TR_DIR/qt_help_ja.ts \
+ $$TR_DIR/qt_help_pl.ts \
+ $$TR_DIR/qt_help_ru.ts \
+ $$TR_DIR/qt_help_zh_CN.ts \
+ $$TR_DIR/qt_help_zh_TW.ts
+
error("This is a dummy profile to be used for translations ONLY.")
diff --git a/tools/assistant/translations/translations.pro b/tools/assistant/translations/translations.pro
index 4b836e6..6ff1fc9 100644
--- a/tools/assistant/translations/translations.pro
+++ b/tools/assistant/translations/translations.pro
@@ -40,11 +40,12 @@ HEADERS += ../tools/assistant/aboutdialog.h \
../tools/assistant/searchwidget.h \
../tools/assistant/topicchooser.h \
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/assistant_de.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_ja.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_pl.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_ru.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_untranslated.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_zh_CN.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_zh_TW.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_da.ts
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+ $$TR_DIR/assistant_da.ts \
+ $$TR_DIR/assistant_de.ts \
+ $$TR_DIR/assistant_ja.ts \
+ $$TR_DIR/assistant_pl.ts \
+ $$TR_DIR/assistant_ru.ts \
+ $$TR_DIR/assistant_zh_CN.ts \
+ $$TR_DIR/assistant_zh_TW.ts
diff --git a/tools/assistant/translations/translations_adp.pro b/tools/assistant/translations/translations_adp.pro
index c6f3e81..852bdeb 100644
--- a/tools/assistant/translations/translations_adp.pro
+++ b/tools/assistant/translations/translations_adp.pro
@@ -31,11 +31,13 @@ HEADERS += ../compat/helpwindow.h \
../compat/fontsettingsdialog.h
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/assistant_adp_de.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_ja.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_pl.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_ru.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_untranslated.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_zh_CN.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_zh_TW.ts
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+ $$TR_DIR/assistant_adp_de.ts \
+ $$TR_DIR/assistant_adp_ja.ts \
+ $$TR_DIR/assistant_adp_pl.ts \
+ $$TR_DIR/assistant_adp_ru.ts \
+ $$TR_DIR/assistant_adp_zh_CN.ts \
+ $$TR_DIR/assistant_adp_zh_TW.ts
+
error("This is a dummy profile to be used for translations ONLY.")