Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "translatormessage.h"
#include "fmt.h"
#include <QCoreApplication>
#include <QDir>
#include <QList>
#include <QLocale>
#include <QMultiHash>
#include <QRegularExpression>
#include <QString>
#include <QSet>
#include <QVector>
Go to the source code of this file.
Classes | |
class | ConversionData |
class | TMMKey |
class | Translator |
struct | Translator::Duplicates |
struct | Translator::FileFormat |
Macros | |
#define | ContextComment "QT_LINGUIST_INTERNAL_CONTEXT_COMMENT" |
Functions | |
Q_DECLARE_TYPEINFO (TMMKey, Q_RELOCATABLE_TYPE) | |
size_t | qHash (const TMMKey &key) |
bool | getNumerusInfo (QLocale::Language language, QLocale::Territory territory, QByteArray *rules, QStringList *forms, const char **gettextRules) |
QString | getNumerusInfoString () |
bool | saveQM (const Translator &translator, QIODevice &dev, ConversionData &cd) |
#define ContextComment "QT_LINGUIST_INTERNAL_CONTEXT_COMMENT" |
Definition at line 229 of file translator.h.
bool getNumerusInfo | ( | QLocale::Language | language, |
QLocale::Territory | territory, | ||
QByteArray * | rules, | ||
QStringList * | forms, | ||
const char ** | gettextRules ) |
Definition at line 328 of file numerus.cpp.
References NumerusTableEntry::forms, NumerusTableEntry::gettextRules, numerusTable, and NumerusTableSize.
QString getNumerusInfoString | ( | ) |
Definition at line 361 of file numerus.cpp.
References numerusTable, and NumerusTableSize.
Q_DECLARE_TYPEINFO | ( | TMMKey | , |
Q_RELOCATABLE_TYPE | ) |
|
inline |
Definition at line 83 of file translator.h.
bool saveQM | ( | const Translator & | translator, |
QIODevice & | dev, | ||
ConversionData & | cd ) |
Definition at line 619 of file qm.cpp.
References containsStripped(), ConversionData::ignoreUnfinished(), ConversionData::isVerbose(), ConversionData::m_idBased, ConversionData::m_saveMode, Translator::message(), Translator::messageCount(), TranslatorMessage::Obsolete, Releaser::save(), Releaser::squeeze(), TranslatorMessage::type(), TranslatorMessage::Unfinished, and TranslatorMessage::Vanished.
Referenced by initQM().