Added translations
This commit is contained in:
@@ -16,7 +16,16 @@ set(OTHER_FILES
|
||||
reportsplugin.json
|
||||
)
|
||||
|
||||
add_library(zeiterfassung-plugins-reportsplugin SHARED ${HEADERS} ${SOURCES} ${RESOURCES} ${OTHER_FILES})
|
||||
set(TRANSLATIONS
|
||||
translations/reportsplugin_en.ts
|
||||
translations/reportsplugin_de.ts
|
||||
)
|
||||
|
||||
set_source_files_properties(${TRANSLATIONS} PROPERTIES OUTPUT_LOCATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/translations)
|
||||
QT5_CREATE_TRANSLATION(TRANSLATIONS_C ${TRANSLATIONS} ${HEADERS} ${SOURCES} ${FORMS} OPTIONS -no-obsolete)
|
||||
#QT5_ADD_TRANSLATION(TRANSLATIONS_C ${TRANSLATIONS})
|
||||
|
||||
add_library(zeiterfassung-plugins-reportsplugin SHARED ${HEADERS} ${SOURCES} ${RESOURCES} ${OTHER_FILES} ${TRANSLATIONS_C})
|
||||
|
||||
set_target_properties(zeiterfassung-plugins-reportsplugin PROPERTIES OUTPUT_NAME reportsplugin PREFIX "")
|
||||
|
||||
|
Reference in New Issue
Block a user