Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
releasehelper.cpp File Reference

(bf7591432d4bfc03c104b53a2a965267f367a94f)

#include "releasehelper.h"
#include "translator.h"
#include "validator.h"
#include "linguistproject/projectdescriptionreader.h"
#include <QtCore/qfile.h>
#include <QtCore/qfileinfo.h>
#include <iostream>
Include dependency graph for releasehelper.cpp:

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)

Function Documentation

◆ loadTsFile()

bool loadTsFile ( Translator & tor,
const QString & tsFileName )

Definition at line 28 of file releasehelper.cpp.

References ConversionData::clearErrors().

Here is the call graph for this function:

◆ printErr()

void printErr ( const QString & out)

Definition at line 23 of file releasehelper.cpp.

◆ printOut()

QT_BEGIN_NAMESPACE void printOut ( const QString & out)

Definition at line 18 of file releasehelper.cpp.

◆ releaseTranslator()

bool releaseTranslator ( Translator & tor,
const QString & qmFileName,
ConversionData & cd,
ParamFlags params )

◆ releaseTsFile()

bool releaseTsFile ( const QString & tsFileName,
ConversionData & cd,
ParamFlags params )

Definition at line 107 of file releasehelper.cpp.

◆ translationsFromProject()

QStringList translationsFromProject ( const Project & project,
bool topLevel )

Definition at line 125 of file releasehelper.cpp.

◆ translationsFromProjects()

QStringList translationsFromProjects ( const Projects & projects,
bool topLevel )

Definition at line 138 of file releasehelper.cpp.