Skip to content

Commit

Permalink
l10n fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
caybro committed Jul 20, 2014
1 parent 6edac55 commit ddf82a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ endif()
# Config files
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5FileMetaData")

add_definitions(-DTRANSLATION_DOMAIN=\"kfilemetadata\")
if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
ki18n_install(po)
endif()

include(ECMPackageConfigHelpers)

ecm_configure_package_config_file(
Expand Down
2 changes: 1 addition & 1 deletion Messages.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!bin/sh

$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h -name \*.qml` -o $podir/kfilemetadata.pot
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kfilemetadata.pot
rm -f rc.cpp

0 comments on commit ddf82a9

Please sign in to comment.