Fix mixed translations for keepassxc-cli (#3732)

Fix mixed translations for keepassxc-cli
This commit is contained in:
Sergei Zyubin 2019-10-30 14:53:57 +01:00 committed by Jonathan White
parent 36e14157be
commit ac7face247

View File

@ -33,5 +33,9 @@ endif()
set(QM_FILES ${QM_FILES} ${QTBASE_TRANSLATIONS})
install(FILES ${QM_FILES} DESTINATION ${DATA_INSTALL_DIR}/translations)
# Add keepassx_en.qm as a fallback for uncommon english locales
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/keepassx_en_US.qm DESTINATION ${DATA_INSTALL_DIR}/translations RENAME keepassx_en.qm)
add_custom_target(translations DEPENDS ${QM_FILES})
add_dependencies(${PROGNAME} translations)