Fixed several mistakes in original strings.
--HG-- branch : develop
This commit is contained in:
parent
09175a3bde
commit
31fa9785b9
|
@ -669,9 +669,9 @@ void TMainWindow::FileSaveAs()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void TMainWindow::ExportToCSV()
|
||||
{
|
||||
const QString filters = tr("Comma-Separated Values (*.cvs)");
|
||||
const QString filters = tr("Comma-Separated Values") + QLatin1String(" (*.cvs)");
|
||||
const QString suffix("csv");
|
||||
const QString path = QDir::homePath() + "/" + tr("measurements"); + "." + suffix;
|
||||
const QString path = QDir::homePath() + QLatin1String("/") + tr("measurements") + QLatin1String(".") + suffix;
|
||||
|
||||
QString fileName = QFileDialog::getSaveFileName(this, tr("Export to CSV"), path, filters);
|
||||
|
||||
|
@ -683,7 +683,7 @@ void TMainWindow::ExportToCSV()
|
|||
QFileInfo f( fileName );
|
||||
if (f.suffix().isEmpty() && f.suffix() != suffix)
|
||||
{
|
||||
fileName += "." + suffix;
|
||||
fileName += QLatin1String(".") + suffix;
|
||||
}
|
||||
|
||||
DialogExportToCSV dialog(this);
|
||||
|
|
|
@ -632,7 +632,7 @@
|
|||
<string>Set multiplier for length of the biggest workpiece in layout.</string>
|
||||
</property>
|
||||
<property name="prefix">
|
||||
<string>x</string>
|
||||
<string notr="true">x</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
|
|
|
@ -758,8 +758,8 @@ void DialogPatternProperties::InitImage()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogPatternProperties::ChangeImage()
|
||||
{
|
||||
const QString fileName = QFileDialog::getOpenFileName(this, tr("Image for pattern"), QString(),
|
||||
tr("Images (*.png *.jpg *.jpeg *.bmp)"));
|
||||
const QString filter = tr("Images") + QLatin1String(" (*.png *.jpg *.jpeg *.bmp)");
|
||||
const QString fileName = QFileDialog::getOpenFileName(this, tr("Image for pattern"), QString(), filter);
|
||||
QImage image;
|
||||
if (fileName.isEmpty())
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Cubic bezier</string>
|
||||
<string>Tool cubic bezier</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog cubic bezier path</string>
|
||||
<string>Tool cubic bezier path</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
||||
|
|
|
@ -305,8 +305,7 @@
|
|||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="go-down">
|
||||
<normaloff/>
|
||||
</iconset>
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -320,8 +319,7 @@
|
|||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="go-up">
|
||||
<normaloff/>
|
||||
</iconset>
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
Loading…
Reference in New Issue
Block a user