diff options
Diffstat (limited to 'poxml/transxx.cpp')
-rw-r--r-- | poxml/transxx.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/poxml/transxx.cpp b/poxml/transxx.cpp index 92004372..864259da 100644 --- a/poxml/transxx.cpp +++ b/poxml/transxx.cpp @@ -42,7 +42,7 @@ int main(int argc, char **argv) return 1; } - const bool is_desktop = filename.tqfind( "desktop_") >= 0; + const bool is_desktop = filename.find( "desktop_") >= 0; // The header is the last item (due too the sorting) MsgList::const_iterator header = --translated.end(); @@ -85,22 +85,22 @@ int main(int argc, char **argv) TQString msgstr; - if ( msgid.tqfind( "Definition of PluralForm" ) != -1 ) { + if ( msgid.find( "Definition of PluralForm" ) != -1 ) { outputMsg("msgstr", "NoPlural"); cout << "\n"; continue; } if ( is_desktop ) { - msgstr = msgid.left( msgid.tqfind( '=' ) + 1); - msgstr += translation + msgid.mid( msgid.tqfind( '=' ) + 1) + translation; + msgstr = msgid.left( msgid.find( '=' ) + 1); + msgstr += translation + msgid.mid( msgid.find( '=' ) + 1) + translation; outputMsg( "msgstr", escapePO(msgstr) ); cout << "\n"; continue; } if (msgid.startsWith("_n: ") || msgid.startsWith("_: ") ) { // KDE extentions - msgid = msgid.mid(msgid.tqfind("\\n") + 2, msgid.length()); + msgid = msgid.mid(msgid.find("\\n") + 2, msgid.length()); } if (msgid.endsWith("%")) |