1#ifndef MYTRANLATORPARSER_H
2#define MYTRANLATORPARSER_H
9#include <QRegularExpression>
28 void toTXT(
const QString &inputFile,
const QString &outputDir,
bool with_unfinished,
bool with_vanished,
bool unfinished_only);
29 void toTS(
const QString &inputDir,
const QString &outputFile,
const QString &langid);
37 bool isDebugMessage =
true;
Abstact Model used for ComboBox. /class MyLanguageModel.
void toTS(const QString &inputDir, const QString &outputFile, const QString &langid)
toTS
void setDebugMessage(bool thisState)
set Debug Message
bool getDebugMessage()
get Debug Message
MyTranlatorParser(MyLanguageModel *thisLanguageModel=nullptr, QObject *parent=nullptr)
Translation Files Constructor. MyTranslationFiles.
bool parse_txt_file(const QString &inputFile, visitors::map_QStringQString &strings)
parse_txt_file
void setMessage(const QString &thisMessage)
set Message
base_node::base_node_ptr parse_ts_file(const QString &inputFile)
parse_ts_file
void toTXT(const QString &inputFile, const QString &outputDir, bool with_unfinished, bool with_vanished, bool unfinished_only)
toTXT
std::map< QString, QString > map_QStringQString
std::shared_ptr< base_node > base_node_ptr