diff options
Diffstat (limited to 'doc/man/man3/tqtranslator.3qt')
-rw-r--r-- | doc/man/man3/tqtranslator.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqtranslator.3qt b/doc/man/man3/tqtranslator.3qt index 18217c245..0e310cc0f 100644 --- a/doc/man/man3/tqtranslator.3qt +++ b/doc/man/man3/tqtranslator.3qt @@ -157,7 +157,7 @@ Empties this translator of all contents. .PP This function works with stripped translator files. .SH "bool TQTranslator::contains ( const char * context, const char * sourceText, const char * comment = 0 ) const" -Returns TRUE if this message file contains a message with the key (\fIcontext\fR, \fIsourceText\fR, \fIcomment\fR); otherwise returns FALSE. +Returns true if this message file contains a message with the key (\fIcontext\fR, \fIsourceText\fR, \fIcomment\fR); otherwise returns false. .PP This function works with stripped translator files. .PP @@ -181,9 +181,9 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "bool TQTranslator::isEmpty () const" -Returns TRUE if this translator is empty, otherwise returns FALSE. This function works with stripped and unstripped translation files. +Returns true if this translator is empty, otherwise returns false. This function works with stripped and unstripped translation files. .SH "bool TQTranslator::load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null )" -Loads \fIfilename\fR, which may be an absolute file name or relative to \fIdirectory\fR. The previous contents of this translator object is discarded. Returns TRUE if the file is loaded successfully; otherwise returns FALSE. +Loads \fIfilename\fR, which may be an absolute file name or relative to \fIdirectory\fR. The previous contents of this translator object is discarded. Returns true if the file is loaded successfully; otherwise returns false. .PP If the full file name does not exist, other file names are tried in the following order: .PP @@ -219,7 +219,7 @@ Example: i18n/main.cpp. .SH "bool TQTranslator::load ( const uchar * data, int len )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Loads the .qm file data \fIdata\fR of length \fIlen\fR into the translator. Returns TRUE if the data is loaded successfully; otherwise returns FALSE. +Loads the .qm file data \fIdata\fR of length \fIlen\fR into the translator. Returns true if the data is loaded successfully; otherwise returns false. .PP The data is not copied. The caller must be able to guarantee that \fIdata\fR will not be deleted or modified. .SH "TQValueList<TQTranslatorMessage> TQTranslator::messages () const" |