summaryrefslogtreecommitdiffabout
path: root/microkde
authorzautrix <zautrix>2005-01-18 21:15:17 (UTC)
committer zautrix <zautrix>2005-01-18 21:15:17 (UTC)
commit7200aeadd415cf88b909c00d1414f212cf85b3df (patch) (side-by-side diff)
tree2626afd67e4db3ce2ae5995857ef3221f59603e0 /microkde
parentc8401418d054bf32810a5f9e07091a177bdeae37 (diff)
downloadkdepimpi-7200aeadd415cf88b909c00d1414f212cf85b3df.zip
kdepimpi-7200aeadd415cf88b909c00d1414f212cf85b3df.tar.gz
kdepimpi-7200aeadd415cf88b909c00d1414f212cf85b3df.tar.bz2
fixes
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdecore/klocale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kdecore/klocale.cpp b/microkde/kdecore/klocale.cpp
index aec74fa..7f31ab1 100644
--- a/microkde/kdecore/klocale.cpp
+++ b/microkde/kdecore/klocale.cpp
@@ -1,43 +1,43 @@
#include <qregexp.h>
#include <qapplication.h>
#include "kdebug.h"
#include "kcalendarsystemgregorian.h"
#include "klocale.h"
#include <qstringlist.h>
-#define COLLECT_TRANSLATION
+//#define COLLECT_TRANSLATION
QDict<QString> *mLocaleDict = 0;
void setLocaleDict( QDict<QString> * dict )
{
mLocaleDict = dict;
}
#ifdef COLLECT_TRANSLATION
QStringList missingTrans;
QStringList existingTrans1;
QStringList existingTrans2;
void addMissing(const char *text)
{
QString mis ( text );
if ( !missingTrans.contains( mis ) )
missingTrans.append(mis);
}
void addExist(const char *text,QString trans )
{
//return;
QString mis ( text );
if ( !existingTrans1.contains( mis ) ) {
existingTrans1.append(mis);
existingTrans2.append(trans);
}