summaryrefslogtreecommitdiff
path: root/libsowatch/libsowatch.pro
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-15 01:04:14 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-15 01:04:14 +0200
commit8f6543355110a109878bde10b912555019af1212 (patch)
tree46609ff215496a4ea373b9eacbf8b2c30ca04237 /libsowatch/libsowatch.pro
parent4e468800d7129c0adbe4bc874932f99a542c4eeb (diff)
downloadsowatch-8f6543355110a109878bde10b912555019af1212.tar.gz
sowatch-8f6543355110a109878bde10b912555019af1212.zip
adding locale support to libsowatch
Diffstat (limited to 'libsowatch/libsowatch.pro')
-rw-r--r--libsowatch/libsowatch.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/libsowatch/libsowatch.pro b/libsowatch/libsowatch.pro
index 59f2eee..ce0468e 100644
--- a/libsowatch/libsowatch.pro
+++ b/libsowatch/libsowatch.pro
@@ -59,13 +59,18 @@ HEADERS += \
gconfkey.h \
notificationsmodel.h
+TRANSLATIONS += libsowatch_en.ts libsowatch_es.ts
+
install_headers.files = $$HEADERS
+install_translations.files = libsowatch*.qm
install_headers.path = /usr/include/sowatch
!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
target.path = /opt/sowatch/lib
+ install_translations.path = /opt/sowatch/i18n
} else {
target.path = /usr/lib
+ install_translations.path = /usr/share/sowatch/i18n
}
-INSTALLS += install_headers target
+INSTALLS += install_headers install_translations target