Skip to content

Commit

Permalink
Fix mixed translations for keepassxc-cli (keepassxreboot#3732)
Browse files Browse the repository at this point in the history
Fix mixed translations for keepassxc-cli
  • Loading branch information
burningalchemist authored and droidmonkey committed Oct 30, 2019
1 parent 36e1415 commit ac7face
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions share/translations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ac7face

Please sign in to comment.