Fixed several mistakes in original strings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-08-09 13:50:37 +03:00
parent 09175a3bde
commit 31fa9785b9
6 changed files with 10 additions and 12 deletions

View file

@ -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);

View file

@ -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>

View file

@ -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())
{ {

View file

@ -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">

View file

@ -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">

View file

@ -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>