Fix typo in Valentina manpage.
Some cyrillic characters were used instead of latin. --HG-- branch : develop
This commit is contained in:
parent
4df7c1dc93
commit
4d54c0c44c
4
dist/debian/valentina.1
vendored
4
dist/debian/valentina.1
vendored
|
@ -25,8 +25,8 @@ The path to output destination folder. By default the directory at which the app
|
||||||
.RB "Path to custom measure file (" "export mode" ")."
|
.RB "Path to custom measure file (" "export mode" ")."
|
||||||
.IP "-n, --time <Time>"
|
.IP "-n, --time <Time>"
|
||||||
.RB "<Time> in minutes given for the algorithm to find best layout (" "export mode" "). Time must be in range from 1 minute to 60 minutes. Default value 1 minute."
|
.RB "<Time> in minutes given for the algorithm to find best layout (" "export mode" "). Time must be in range from 1 minute to 60 minutes. Default value 1 minute."
|
||||||
.IP "--сoefficient <Coefficient>"
|
.IP "--coefficient <Coefficient>"
|
||||||
.RB "Set layout efficiency coefficient (" "export mode" "). Layout efficiency coefficient is the ratio of the area occupied by the pieces to the bounding rect of all pieces. If nesting reaches required level the process stops. If value is 0 no check will be made. Сoefficient must be in range from 0 to 100. Default value 0."
|
.RB "Set layout efficiency coefficient (" "export mode" "). Layout efficiency coefficient is the ratio of the area occupied by the pieces to the bounding rect of all pieces. If nesting reaches required level the process stops. If value is 0 no check will be made. Coefficient must be in range from 0 to 100. Default value 0."
|
||||||
.IP "-f, --format <Format number>"
|
.IP "-f, --format <Format number>"
|
||||||
.RB "Number corresponding to output format (default = 0, " "export mode" "):"
|
.RB "Number corresponding to output format (default = 0, " "export mode" "):"
|
||||||
.RS
|
.RS
|
||||||
|
|
|
@ -596,7 +596,7 @@ void VCommandLine::InitCommandLineOptions()
|
||||||
{LONG_OPTION_EFFICIENCY_COEFFICIENT,
|
{LONG_OPTION_EFFICIENCY_COEFFICIENT,
|
||||||
translate("VCommandLine", "Set layout efficiency <coefficient>. Layout efficiency coefficient is the ratio of "
|
translate("VCommandLine", "Set layout efficiency <coefficient>. Layout efficiency coefficient is the ratio of "
|
||||||
"the area occupied by the pieces to the bounding rect of all pieces. If nesting reaches required level the "
|
"the area occupied by the pieces to the bounding rect of all pieces. If nesting reaches required level the "
|
||||||
"process stops. If value is 0 no check will be made. Сoefficient must be in range from 0 to 100. Default "
|
"process stops. If value is 0 no check will be made. Coefficient must be in range from 0 to 100. Default "
|
||||||
"value 0."),
|
"value 0."),
|
||||||
translate("VCommandLine", "Coefficient")},
|
translate("VCommandLine", "Coefficient")},
|
||||||
{{SINGLE_OPTION_EXP2FORMAT, LONG_OPTION_EXP2FORMAT},
|
{{SINGLE_OPTION_EXP2FORMAT, LONG_OPTION_EXP2FORMAT},
|
||||||
|
@ -795,7 +795,7 @@ qreal VCommandLine::OptEfficiencyCoefficient() const
|
||||||
|
|
||||||
if (not ok || coefficient < 0 || coefficient > 100)
|
if (not ok || coefficient < 0 || coefficient > 100)
|
||||||
{
|
{
|
||||||
qCritical() << translate("VCommandLine", "Сoefficient must be in range from 0 to 100.")
|
qCritical() << translate("VCommandLine", "Coefficient must be in range from 0 to 100.")
|
||||||
<< "\n";
|
<< "\n";
|
||||||
const_cast<VCommandLine*>(this)->parser.showHelp(V_EX_USAGE);
|
const_cast<VCommandLine*>(this)->parser.showHelp(V_EX_USAGE);
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,7 +112,7 @@ const QString SINGLE_OPTION_BOTTOM_MARGIN = QStringLiteral("B");
|
||||||
const QString LONG_OPTION_NESTING_TIME = QStringLiteral("time");
|
const QString LONG_OPTION_NESTING_TIME = QStringLiteral("time");
|
||||||
const QString SINGLE_OPTION_NESTING_TIME = QStringLiteral("n");
|
const QString SINGLE_OPTION_NESTING_TIME = QStringLiteral("n");
|
||||||
|
|
||||||
const QString LONG_OPTION_EFFICIENCY_COEFFICIENT = QStringLiteral("сoefficient");
|
const QString LONG_OPTION_EFFICIENCY_COEFFICIENT = QStringLiteral("coefficient");
|
||||||
|
|
||||||
const QString LONG_OPTION_CSVWITHHEADER = QStringLiteral("csvWithHeader");
|
const QString LONG_OPTION_CSVWITHHEADER = QStringLiteral("csvWithHeader");
|
||||||
const QString LONG_OPTION_CSVCODEC = QStringLiteral("csvCodec");
|
const QString LONG_OPTION_CSVCODEC = QStringLiteral("csvCodec");
|
||||||
|
|
|
@ -135,27 +135,27 @@ void TST_ValentinaCommandLine::ExportMode_data() const
|
||||||
const QString tmp = QCoreApplication::applicationDirPath() + QDir::separator() + *tmpTestFolder;
|
const QString tmp = QCoreApplication::applicationDirPath() + QDir::separator() + *tmpTestFolder;
|
||||||
|
|
||||||
QTest::newRow("Issue #372")<< "issue_372.val"
|
QTest::newRow("Issue #372")<< "issue_372.val"
|
||||||
<< QString("-p;;0;;-d;;%1;;-b;;output;;--сoefficient;;1").arg(tmp)
|
<< QString("-p;;0;;-d;;%1;;-b;;output;;--coefficient;;1").arg(tmp)
|
||||||
<< V_EX_OK;
|
<< V_EX_OK;
|
||||||
|
|
||||||
QTest::newRow("A file with limited gradation. Multisize measurements. Wrong data.")
|
QTest::newRow("A file with limited gradation. Multisize measurements. Wrong data.")
|
||||||
<< "glimited_vst.val"
|
<< "glimited_vst.val"
|
||||||
<< QString("-p;;0;;-d;;%1;;--gsize;;46;;--gheight;;164;;-b;;output;;--сoefficient;;1").arg(tmp)
|
<< QString("-p;;0;;-d;;%1;;--gsize;;46;;--gheight;;164;;-b;;output;;--coefficient;;1").arg(tmp)
|
||||||
<< V_EX_DATAERR;
|
<< V_EX_DATAERR;
|
||||||
|
|
||||||
QTest::newRow("A file with limited gradation. Multisize measurements. Correct data.")
|
QTest::newRow("A file with limited gradation. Multisize measurements. Correct data.")
|
||||||
<< "glimited_vst.val"
|
<< "glimited_vst.val"
|
||||||
<< QString("-p;;0;;-d;;%1;;--gsize;;40;;--gheight;;134;;-b;;output;;--сoefficient;;1").arg(tmp)
|
<< QString("-p;;0;;-d;;%1;;--gsize;;40;;--gheight;;134;;-b;;output;;--coefficient;;1").arg(tmp)
|
||||||
<< V_EX_OK;
|
<< V_EX_OK;
|
||||||
|
|
||||||
QTest::newRow("A file with limited gradation. Individual measurements.")
|
QTest::newRow("A file with limited gradation. Individual measurements.")
|
||||||
<< "glimited_vit.val"
|
<< "glimited_vit.val"
|
||||||
<< QString("-p;;0;;-d;;%1;;--gsize;;40;;--gheight;;134;;-b;;output;;--сoefficient;;1").arg(tmp)
|
<< QString("-p;;0;;-d;;%1;;--gsize;;40;;--gheight;;134;;-b;;output;;--coefficient;;1").arg(tmp)
|
||||||
<< V_EX_DATAERR;
|
<< V_EX_DATAERR;
|
||||||
|
|
||||||
QTest::newRow("A file with limited gradation. No measurements.")
|
QTest::newRow("A file with limited gradation. No measurements.")
|
||||||
<< "glimited_no_m.val"
|
<< "glimited_no_m.val"
|
||||||
<< QString("-p;;0;;-d;;%1;;--gsize;;40;;--gheight;;134;;-b;;output;;--сoefficient;;1").arg(tmp)
|
<< QString("-p;;0;;-d;;%1;;--gsize;;40;;--gheight;;134;;-b;;output;;--coefficient;;1").arg(tmp)
|
||||||
<< V_EX_DATAERR;
|
<< V_EX_DATAERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user