Git commit a9aa960fede57c3ef0d6550626f72b3096509c27 by Kevin Ottens. Committed on 20/08/2013 at 11:17. Pushed by ervin into branch 'frameworks'. No need to use ki18n here M +1 -1 staging/kdoctools/src/CMakeLists.txt M +1 -3 staging/kdoctools/src/meinproc.cpp http://commits.kde.org/kdelibs/a9aa960fede57c3ef0d6550626f72b3096509c27 diff --git a/staging/kdoctools/src/CMakeLists.txt b/staging/kdoctools/src/C= MakeLists.txt index 9d23510..de82d4d 100644 --- a/staging/kdoctools/src/CMakeLists.txt +++ b/staging/kdoctools/src/CMakeLists.txt @@ -81,7 +81,7 @@ set_source_files_properties(xslt.cpp PROPERTIES COMPILE_F= LAGS -DSIMPLE_XSLT ) = kde4_add_executable(meinproc5 NOGUI ${meinproc_SRCS}) = - target_link_libraries(meinproc5 kdeqt5staging KI18n ${KArchive_LIBRARIE= S} ${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${LIBXSLT_EXSLT_LIBRARIES} ) + target_link_libraries(meinproc5 kdeqt5staging ${KArchive_LIBRARIES} ${L= IBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${LIBXSLT_EXSLT_LIBRARIES} ) = add_dependencies(meinproc5 docbookl10nhelper) = diff --git a/staging/kdoctools/src/meinproc.cpp b/staging/kdoctools/src/mei= nproc.cpp index d375102..74f12a2 100644 --- a/staging/kdoctools/src/meinproc.cpp +++ b/staging/kdoctools/src/meinproc.cpp @@ -12,7 +12,6 @@ #include #include = -#include #include = #include @@ -96,7 +95,6 @@ int main(int argc, char **argv) { QCoreApplication app( argc, argv ); app.setApplicationName("meinproc"); app.setApplicationVersion("5.0"); - KLocalizedString::setApplicationDomain("kio_help4"); = QCommandLineParser parser; parser.addHelpOption(QCoreApplication::translate("main", "KDE Translat= or for XML")); @@ -246,7 +244,7 @@ int main(int argc, char **argv) { = if ( !cache.isEmpty() ) { if ( !saveToCache( output, cache ) ) { - qWarning() << i18n( "Could not write to cache file %1." , = cache ); + qWarning() << QCoreApplication::translate("main", "Could n= ot write to cache file %1.").arg(cache); } goto end; }