mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 08:34:38 +03:00
commit
fc1f3b04c9
@ -30,6 +30,7 @@ DEFINES += INSPECT_BASEDESIGN
|
||||
|
||||
REPORT_PATH = $$PWD/src
|
||||
|
||||
|
||||
INCLUDEPATH += \
|
||||
$$REPORT_PATH/ \
|
||||
$$REPORT_PATH/items \
|
||||
@ -230,4 +231,27 @@ RESOURCES += \
|
||||
$$REPORT_PATH/items/items.qrc
|
||||
|
||||
|
||||
TRANSLATIONS += limereport_ru.ts
|
||||
TRANSLATIONS_PATH = $$PWD/translations
|
||||
TRANSLATIONS += $$TRANSLATIONS_PATH/limereport_ru.ts \
|
||||
$$TRANSLATIONS_PATH/limereport_es_ES.ts
|
||||
|
||||
OTHER_FILES += $$TRANSLATIONS
|
||||
|
||||
#######
|
||||
####Automatically build required translation files (*.qm)
|
||||
all.depends = locale
|
||||
#QMAKE_EXTRA_TARGETS += all
|
||||
|
||||
#"%.ts".commands = lupdate -ts $@ $<
|
||||
|
||||
TRANSLATIONS_TARGETS = $$replace(TRANSLATIONS, ".ts", ".qm")
|
||||
locale.depends = $$TRANSLATIONS_TARGETS
|
||||
QMAKE_EXTRA_TARGETS += locale
|
||||
|
||||
"%.qm".commands = lrelease -qm $@ $<
|
||||
"%.qm".depends = "%.ts"
|
||||
QMAKE_EXTRA_TARGETS += "%.qm"
|
||||
|
||||
PRE_TARGETDEPS += locale
|
||||
|
||||
#### EN AUTOMATIC TRANSLATIONS
|
||||
|
2074
translations/limereport_es_ES.ts
Normal file
2074
translations/limereport_es_ES.ts
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user