Skip to content

Commit

Permalink
Add Messages.sh
Browse files Browse the repository at this point in the history
Also load the catalog
  • Loading branch information
vHanda committed Jan 22, 2014
1 parent 7ff6ddc commit fb4e28d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Messages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +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
rm -f rc.cpp
3 changes: 3 additions & 0 deletions src/propertyinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#include "propertyinfo.h"

#include <KLocalizedString>
#include <KGlobal>

static const KCatalogLoader loader("kfilemetadata");

using namespace KFileMetaData;

Expand Down

0 comments on commit fb4e28d

Please sign in to comment.