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()
|
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 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);
|
QString fileName = QFileDialog::getSaveFileName(this, tr("Export to CSV"), path, filters);
|
||||||
|
|
||||||
|
@ -683,7 +683,7 @@ void TMainWindow::ExportToCSV()
|
||||||
QFileInfo f( fileName );
|
QFileInfo f( fileName );
|
||||||
if (f.suffix().isEmpty() && f.suffix() != suffix)
|
if (f.suffix().isEmpty() && f.suffix() != suffix)
|
||||||
{
|
{
|
||||||
fileName += "." + suffix;
|
fileName += QLatin1String(".") + suffix;
|
||||||
}
|
}
|
||||||
|
|
||||||
DialogExportToCSV dialog(this);
|
DialogExportToCSV dialog(this);
|
||||||
|
|
|
@ -632,7 +632,7 @@
|
||||||
<string>Set multiplier for length of the biggest workpiece in layout.</string>
|
<string>Set multiplier for length of the biggest workpiece in layout.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="prefix">
|
<property name="prefix">
|
||||||
<string>x</string>
|
<string notr="true">x</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
|
|
|
@ -758,8 +758,8 @@ void DialogPatternProperties::InitImage()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void DialogPatternProperties::ChangeImage()
|
void DialogPatternProperties::ChangeImage()
|
||||||
{
|
{
|
||||||
const QString fileName = QFileDialog::getOpenFileName(this, tr("Image for pattern"), QString(),
|
const QString filter = tr("Images") + QLatin1String(" (*.png *.jpg *.jpeg *.bmp)");
|
||||||
tr("Images (*.png *.jpg *.jpeg *.bmp)"));
|
const QString fileName = QFileDialog::getOpenFileName(this, tr("Image for pattern"), QString(), filter);
|
||||||
QImage image;
|
QImage image;
|
||||||
if (fileName.isEmpty())
|
if (fileName.isEmpty())
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Cubic bezier</string>
|
<string>Tool cubic bezier</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Dialog cubic bezier path</string>
|
<string>Tool cubic bezier path</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
||||||
|
|
|
@ -305,8 +305,7 @@
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset theme="go-down">
|
<iconset theme="go-down">
|
||||||
<normaloff/>
|
<normaloff>.</normaloff>.</iconset>
|
||||||
</iconset>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -320,8 +319,7 @@
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset theme="go-up">
|
<iconset theme="go-up">
|
||||||
<normaloff/>
|
<normaloff>.</normaloff>.</iconset>
|
||||||
</iconset>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user