diff options
author | David Boddie <david.boddie@nokia.com> | 2011-05-10 17:52:50 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-05-11 15:36:25 (GMT) |
commit | 4f6ccce6ad8b6df523fd354aac2bcd32a7a65bc4 (patch) | |
tree | 77d484b03e5f64f897f53aac1e7ab4c24ddd9fbd /src/corelib/kernel/qtranslator.cpp | |
parent | 520e8e3cfe19fb9a49b2cf80dd2376aa2b80f1e5 (diff) | |
download | Qt-4f6ccce6ad8b6df523fd354aac2bcd32a7a65bc4.zip Qt-4f6ccce6ad8b6df523fd354aac2bcd32a7a65bc4.tar.gz Qt-4f6ccce6ad8b6df523fd354aac2bcd32a7a65bc4.tar.bz2 |
Doc: Applied pending fixes to API documentation.
Diffstat (limited to 'src/corelib/kernel/qtranslator.cpp')
-rw-r--r-- | src/corelib/kernel/qtranslator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 22b06a5..440bc32 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -600,7 +600,7 @@ static QString find_translation(const QLocale & locale, /*! \since 4.8 - Loads \a filename + \a prefix + \a \l{QLocale::uiLanguages()}{ui language + Loads \a filename + \a prefix + \l{QLocale::uiLanguages()}{ui language name} + \a suffix (".qm" if the \a suffix is not specified), which may be an absolute file name or relative to \a directory. Returns true if the translation is successfully loaded; otherwise returns false. @@ -618,7 +618,7 @@ static QString find_translation(const QLocale & locale, \endlist For example, an application running in the locale with the following - l{QLocale::uiLanguages()}{ui languages} - "es", "fr-CA", "de" might call + \l{QLocale::uiLanguages()}{ui languages} - "es", "fr-CA", "de" might call load(QLocale::system(), "foo", ".", "/opt/foolib", ".qm"). load() would replace '-' (dash) with '_' (underscore) in the ui language and then try to open the first existing readable file from this list: @@ -637,8 +637,8 @@ static QString find_translation(const QLocale & locale, \o \c /opt/foolib/foo \endlist - For OSs where file system is case sensitive, QTranslator also tries to load - a lower-cased version of the locale name. + On operating systems where file system is case sensitive, QTranslator also + tries to load a lower-cased version of the locale name. */ bool QTranslator::load(const QLocale & locale, const QString & filename, |