![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "releasehelper.h"#include "translator.h"#include "validator.h"#include "linguistproject/projectdescriptionreader.h"#include <QtCore/qfile.h>#include <QtCore/qfileinfo.h>#include <iostream>Go to the source code of this file.
Functions | |
| QT_BEGIN_NAMESPACE void | printOut (const QString &out) |
| void | printErr (const QString &out) |
| bool | loadTsFile (Translator &tor, const QString &tsFileName) |
| bool | releaseTranslator (Translator &tor, const QString &qmFileName, ConversionData &cd, ParamFlags params) |
| bool | releaseTsFile (const QString &tsFileName, ConversionData &cd, ParamFlags params) |
| QStringList | translationsFromProject (const Project &project, bool topLevel) |
| QStringList | translationsFromProjects (const Projects &projects, bool topLevel) |
| bool loadTsFile | ( | Translator & | tor, |
| const QString & | tsFileName ) |
Definition at line 28 of file releasehelper.cpp.
References ConversionData::clearErrors().
Definition at line 23 of file releasehelper.cpp.
| QT_BEGIN_NAMESPACE void printOut | ( | const QString & | out | ) |
Definition at line 18 of file releasehelper.cpp.
| bool releaseTranslator | ( | Translator & | tor, |
| const QString & | qmFileName, | ||
| ConversionData & | cd, | ||
| ParamFlags | params ) |
Definition at line 42 of file releasehelper.cpp.
References ConversionData::clearErrors(), ParamFlags::failOnInvalid, ParamFlags::failOnUnfinished, ConversionData::isVerbose(), Translator::normalizeTranslations(), ParamFlags::removeIdentical, Translator::resolveDuplicates(), Translator::stripIdenticalSourceTranslations(), and Translator::unfinishedTranslationsExist().
| bool releaseTsFile | ( | const QString & | tsFileName, |
| ConversionData & | cd, | ||
| ParamFlags | params ) |
Definition at line 107 of file releasehelper.cpp.
| QStringList translationsFromProject | ( | const Project & | project, |
| bool | topLevel ) |
Definition at line 125 of file releasehelper.cpp.
| QStringList translationsFromProjects | ( | const Projects & | projects, |
| bool | topLevel ) |
Definition at line 138 of file releasehelper.cpp.