summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/linguist/lupdate/numberh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/linguist/lupdate/numberh.cpp')
-rw-r--r--tqtinterface/qt4/tools/linguist/lupdate/numberh.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/tools/linguist/lupdate/numberh.cpp b/tqtinterface/qt4/tools/linguist/lupdate/numberh.cpp
index ba54dae..cc16014 100644
--- a/tqtinterface/qt4/tools/linguist/lupdate/numberh.cpp
+++ b/tqtinterface/qt4/tools/linguist/lupdate/numberh.cpp
@@ -64,7 +64,7 @@ static int numberLength( const char *s )
}
/*
- Returns a version of 'key' where all numbers have been tqreplaced by zeroes. If
+ Returns a version of 'key' where all numbers have been replaced by zeroes. If
there were none, returns "".
*/
static TQCString zeroKey( const char *key )
@@ -97,7 +97,7 @@ static TQString translationAttempt( const TQString& oldTranslation,
const char *oldSource,
const char *newSource )
{
- int p = zeroKey( oldSource ).tqcontains( '0' );
+ int p = zeroKey( oldSource ).contains( '0' );
int oldSourceLen = tqstrlen( oldSource );
TQString attempt;
TQStringList oldNumbers;
@@ -134,7 +134,7 @@ static TQString translationAttempt( const TQString& oldTranslation,
/*
We now go over the old translation, "XeT 3.0", one letter at a
time, looking for numbers found in oldNumbers. Whenever such a
- number is met, it is tqreplaced with its newNumber equivalent. In
+ number is met, it is replaced with its newNumber equivalent. In
our example, the "3.0" of "XeT 3.0" becomes "3.1".
*/
for ( i = 0; i < (int) oldTranslation.length(); i++ ) {
@@ -147,7 +147,7 @@ static TQString translationAttempt( const TQString& oldTranslation,
}
/*
- Let's tqfind out if the last character ended a match. We make
+ Let's find out if the last character ended a match. We make
two passes over the data. In the first pass, we try to
match only numbers that weren't matched yet; if that fails,
the second pass does the trick. This is useful in some
@@ -232,7 +232,7 @@ void applyNumberHeuristic( MetaTranslator *tor, bool verbose )
}
for ( u = untranslated.begin(); u != untranslated.end(); ++u ) {
- t = translated.tqfind( zeroKey((*u).sourceText()) );
+ t = translated.find( zeroKey((*u).sourceText()) );
if ( t != translated.end() && !t.key().isEmpty() &&
qstrcmp((*t).sourceText(), (*u).sourceText()) != 0 ) {
MetaTranslatorMessage m( *u );