update releases

This commit is contained in:
Le Tan 2021-08-28 11:27:08 +08:00
parent 0d8bb7eebd
commit 2bb475a0fd
5 changed files with 1310 additions and 639 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -143,7 +143,7 @@ QString Exporter::doExportPdfAllInOne(const ExportOption &p_option, Notebook *p_
// Export to HTML to a tmp dir first. // Export to HTML to a tmp dir first.
QTemporaryDir tmpDir; QTemporaryDir tmpDir;
if (!tmpDir.isValid()) { if (!tmpDir.isValid()) {
emit logRequested(tr("Failed to create temporary dir to hold HTML files.")); emit logRequested(tr("Failed to create temporary directory to hold HTML files."));
return QString(); return QString();
} }
@ -197,7 +197,7 @@ QString Exporter::doExportCustomAllInOne(const ExportOption &p_option, Notebook
if (p_option.m_customOption->m_useHtmlInput) { if (p_option.m_customOption->m_useHtmlInput) {
// Export to HTML to a tmp dir first. // Export to HTML to a tmp dir first.
if (!tmpDir.isValid()) { if (!tmpDir.isValid()) {
emit logRequested(tr("Failed to create temporary dir to hold HTML files.")); emit logRequested(tr("Failed to create temporary directory to hold HTML files."));
return QString(); return QString();
} }
@ -542,7 +542,7 @@ QString Exporter::doExportCustom(const ExportOption &p_option, const QString &p_
if (p_option.m_customOption->m_useHtmlInput) { if (p_option.m_customOption->m_useHtmlInput) {
// Export to HTML to a tmp dir first. // Export to HTML to a tmp dir first.
if (!tmpDir.isValid()) { if (!tmpDir.isValid()) {
emit logRequested(tr("Failed to create temporary dir to hold HTML files.")); emit logRequested(tr("Failed to create temporary directory to hold HTML files."));
return QString(); return QString();
} }

View File

@ -786,7 +786,7 @@ QWidget *ExportDialog::getCustomAdvancedSettings()
"\t%2: List of paths to search for images and other resources.\n" "\t%2: List of paths to search for images and other resources.\n"
"\t%3: Path of rendering CSS style sheet.\n" "\t%3: Path of rendering CSS style sheet.\n"
"\t%4: Path of syntax highlighting CSS style sheet.\n" "\t%4: Path of syntax highlighting CSS style sheet.\n"
"\t%5: Path of output file.\n"); "\t%5: Path of output file.");
layout->addRow(new QLabel(usage, widget)); layout->addRow(new QLabel(usage, widget));
} }