Part: Not needed translation for STEP (file format name)

This commit is contained in:
VM4Dim
2024-05-30 21:22:48 +03:00
committed by Chris Hennes
parent bcb4ee21cc
commit cb61cb59df
5 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>STEP</string>
<string notr="true">STEP</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="1" column="0">

View File

@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>STEP</string>
<string notr="true">STEP</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">

View File

@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>STEP</string>
<string notr="true">STEP</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="1" column="0">

View File

@@ -64,7 +64,7 @@ void DlgPartImportStepImp::onChooseFileName()
{
QString fn = Gui::FileDialog::getOpenFileName(Gui::getMainWindow(), QString(), QString(),
QString::fromLatin1("%1 (*.stp *.step);;%2 (*.*)"))
.arg(tr("STEP"),
.arg(QLatin1String("STEP"),
tr("All Files"));
if (!fn.isEmpty()) {
ui->FileName->setText(fn);

View File

@@ -170,7 +170,7 @@ DlgImportExportStep::DlgImportExportStep(QWidget* parent)
, importStep(new DlgImportStep(this))
, headerStep(new DlgExportHeaderStep(this))
{
setWindowTitle(tr("STEP"));
setWindowTitle(QLatin1String("STEP"));
QVBoxLayout* layout = new QVBoxLayout(this);
layout->setSpacing(0);
layout->setContentsMargins(0, 0, 0, 0);