Merge pull request #4557 from luzpaz/crowdin/whitespaces-substituted-into-code

Crowdin: represent whitespace in code instead of in string
This commit is contained in:
Yorik van Havre
2021-05-05 17:18:35 +02:00
committed by GitHub
17 changed files with 38 additions and 46 deletions

View File

@@ -1376,7 +1376,7 @@ void CmdTechDrawExportPageDXF::activated(int iMsg)
//WF? allow more than one TD Page per Dxf file?? 1 TD page = 1 DXF file = 1 drawing?
QString defaultDir;
QString fileName = Gui::FileDialog::getSaveFileName(Gui::getMainWindow(),
QString::fromUtf8(QT_TR_NOOP("Save Dxf File ")),
QString::fromUtf8(QT_TR_NOOP("Save Dxf File")),
defaultDir,
QString::fromUtf8(QT_TR_NOOP("Dxf (*.dxf)")));

View File

@@ -854,7 +854,7 @@ void MDIViewPage::saveDXF()
{
QString defaultDir;
QString fileName = Gui::FileDialog::getSaveFileName(Gui::getMainWindow(),
QString::fromUtf8(QT_TR_NOOP("Save Dxf File ")),
QString::fromUtf8(QT_TR_NOOP("Save Dxf File")),
defaultDir,
QString::fromUtf8(QT_TR_NOOP("Dxf (*.dxf)")));
if (fileName.isEmpty()) {

View File

@@ -102,7 +102,7 @@ MRichTextEdit::MRichTextEdit(QWidget *parent, QString textIn) : QWidget(parent)
<< tr("Heading 3")
<< tr("Heading 4")
<< tr("Monospace")
<< tr(" ");
<< QString::fromUtf8(" ");
f_paragraph->addItems(m_paragraphItems);
connect(f_paragraph, SIGNAL(activated(int)),