mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Translations Español
This commit is contained in:
parent
ad138f7257
commit
c9495b2745
@ -30,6 +30,7 @@ DEFINES += INSPECT_BASEDESIGN
|
|||||||
|
|
||||||
REPORT_PATH = $$PWD/src
|
REPORT_PATH = $$PWD/src
|
||||||
|
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
$$REPORT_PATH/ \
|
$$REPORT_PATH/ \
|
||||||
$$REPORT_PATH/items \
|
$$REPORT_PATH/items \
|
||||||
@ -111,10 +112,10 @@ SOURCES += \
|
|||||||
$$REPORT_PATH/lrpreviewreportwindow.cpp \
|
$$REPORT_PATH/lrpreviewreportwindow.cpp \
|
||||||
$$REPORT_PATH/lrvariablesholder.cpp \
|
$$REPORT_PATH/lrvariablesholder.cpp \
|
||||||
$$REPORT_PATH/lrgroupfunctions.cpp \
|
$$REPORT_PATH/lrgroupfunctions.cpp \
|
||||||
$$REPORT_PATH/lrsimplecrypt.cpp \
|
$$REPORT_PATH/lrsimplecrypt.cpp \
|
||||||
$$REPORT_PATH/lraboutdialog.cpp \
|
$$REPORT_PATH/lraboutdialog.cpp \
|
||||||
$$REPORT_PATH/lrsettingdialog.cpp
|
$$REPORT_PATH/lrsettingdialog.cpp
|
||||||
|
|
||||||
contains(CONFIG, zint){
|
contains(CONFIG, zint){
|
||||||
SOURCES += $$REPORT_PATH/items/lrbarcodeitem.cpp
|
SOURCES += $$REPORT_PATH/items/lrbarcodeitem.cpp
|
||||||
}
|
}
|
||||||
@ -203,11 +204,11 @@ HEADERS += \
|
|||||||
$$REPORT_PATH/lrreportengine.h \
|
$$REPORT_PATH/lrreportengine.h \
|
||||||
$$REPORT_PATH/lrdatasourcemanagerintf.h \
|
$$REPORT_PATH/lrdatasourcemanagerintf.h \
|
||||||
$$REPORT_PATH/lrscriptenginemanagerintf.h \
|
$$REPORT_PATH/lrscriptenginemanagerintf.h \
|
||||||
$$REPORT_PATH/lrsimplecrypt.h \
|
$$REPORT_PATH/lrsimplecrypt.h \
|
||||||
$$REPORT_PATH/lraboutdialog.h \
|
$$REPORT_PATH/lraboutdialog.h \
|
||||||
$$REPORT_PATH/lrcallbackdatasourceintf.h \
|
$$REPORT_PATH/lrcallbackdatasourceintf.h \
|
||||||
$$REPORT_PATH/lrsettingdialog.h
|
$$REPORT_PATH/lrsettingdialog.h
|
||||||
|
|
||||||
contains(CONFIG,zint){
|
contains(CONFIG,zint){
|
||||||
HEADERS += $$REPORT_PATH/items/lrbarcodeitem.h
|
HEADERS += $$REPORT_PATH/items/lrbarcodeitem.h
|
||||||
}
|
}
|
||||||
@ -230,4 +231,27 @@ RESOURCES += \
|
|||||||
$$REPORT_PATH/items/items.qrc
|
$$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