summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lrelease/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linguist/lrelease/main.cpp')
-rw-r--r--tools/linguist/lrelease/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/linguist/lrelease/main.cpp b/tools/linguist/lrelease/main.cpp
index 1f683269e..3d40cc5d1 100644
--- a/tools/linguist/lrelease/main.cpp
+++ b/tools/linguist/lrelease/main.cpp
@@ -104,9 +104,9 @@ static void releaseTsFile( const TQString& tsFileName, bool verbose,
int main( int argc, char **argv )
{
- bool verbose = FALSE;
- bool stripped = TRUE;
- bool metTranslations = FALSE;
+ bool verbose = false;
+ bool stripped = true;
+ bool metTranslations = false;
MetaTranslator tor;
TQString outputFile;
int numFiles = 0;
@@ -114,10 +114,10 @@ int main( int argc, char **argv )
for ( i = 1; i < argc; i++ ) {
if ( qstrcmp(argv[i], "-nocompress") == 0 ) {
- stripped = FALSE;
+ stripped = false;
continue;
} else if ( qstrcmp(argv[i], "-verbose") == 0 ) {
- verbose = TRUE;
+ verbose = true;
continue;
} else if ( qstrcmp(argv[i], "-version") == 0 ) {
fprintf( stderr, "lrelease version %s\n", TQT_VERSION_STR );
@@ -182,7 +182,7 @@ int main( int argc, char **argv )
for ( t = toks.begin(); t != toks.end(); ++t ) {
if ( it.key() == TQString("TRANSLATIONS") ) {
- metTranslations = TRUE;
+ metTranslations = true;
releaseTsFile( *t, verbose, stripped );
}
}