Commit c8b8a016 authored by Boudewijn Rempt's avatar Boudewijn Rempt

If there translations in the build or src dir, install them

Note: I have no idea whether the createtarball ruby script would
still add this code at the end of the top-level CMakeLists.txt
file...

Second note: to fetch the translations, run cmake with the following
option:

cmake ../krita -DKDE_L10N_AUTO_TRANSLATIONS=ON -D... This will
fetch the translations from subversion (so svn needs to be installed).
If you build master, it will fetch the right translations.

Not sure whether if you're on the stable branch, it will automatically
know that that's the stable branch...

You can also run "make fetch-translations" manually.

CCMAIL:kimageshop@kde.org
BUG:394381
parent 893e22d1
......@@ -745,3 +745,8 @@ foreach(tst ${KRITA_BROKEN_TESTS})
endforeach()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/po OR EXISTS ${CMAKE_CURRENT_BINARY_DIR}/po )
find_package(KF5I18n CONFIG REQUIRED)
ki18n_install(po)
endif()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment