message: Fix translation issue on macOS
diff: @@ -30,14 +30,22 @@ endif()
  add_custom_target(translations DEPENDS ${QM_FILES})
  add_dependencies(gitahead translations)
  +set(CONTENTS_DIR ${GITAHEAD_NAME}.app/Contents)
  foreach(LANGUAGE ${LANGUAGES})
  set(QT_QM_FILES ${QT_QM_FILES}
  ${QT_TRANSLATIONS_DIR}/qtbase_${LANGUAGE}.qm
  )
  +
  + if(APPLE)
  + get_target_property(DIR gitahead RUNTIME_OUTPUT_DIRECTORY)
  + add_custom_command(TARGET translations POST_BUILD
  + COMMAND ${CMAKE_COMMAND} -E make_directory
  + ${DIR}/${CONTENTS_DIR}/Resources/${LANGUAGE}.lproj
  + )
  + endif()
  endforeach()
  set(MAC $<PLATFORM_ID:Darwin>)
  -set(CONTENTS_DIR ${GITAHEAD_NAME}.app/Contents)
  foreach(QM_FILE ${QM_FILES} ${QT_QM_FILES})
  if(EXISTS ${QM_FILE})
  install(FILES ${QM_FILE}
  