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" ")."
|
||||
.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."
|
||||
.IP "--сoefficient <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."
|
||||
.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. Coefficient must be in range from 0 to 100. Default value 0."
|
||||
.IP "-f, --format <Format number>"
|
||||
.RB "Number corresponding to output format (default = 0, " "export mode" "):"
|
||||
.RS
|
||||
|
|
|
@ -596,7 +596,7 @@ void VCommandLine::InitCommandLineOptions()
|
|||
{LONG_OPTION_EFFICIENCY_COEFFICIENT,
|
||||
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 "
|
||||
"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."),
|
||||
translate("VCommandLine", "Coefficient")},
|
||||
{{SINGLE_OPTION_EXP2FORMAT, LONG_OPTION_EXP2FORMAT},
|
||||
|
@ -795,7 +795,7 @@ qreal VCommandLine::OptEfficiencyCoefficient() const
|
|||
|
||||
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";
|
||||
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 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_CSVCODEC = QStringLiteral("csvCodec");
|
||||
|
|
|
@ -135,27 +135,27 @@ void TST_ValentinaCommandLine::ExportMode_data() const
|
|||
const QString tmp = QCoreApplication::applicationDirPath() + QDir::separator() + *tmpTestFolder;
|
||||
|
||||
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;
|
||||
|
||||
QTest::newRow("A file with limited gradation. Multisize measurements. Wrong data.")
|
||||
<< "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;
|
||||
|
||||
QTest::newRow("A file with limited gradation. Multisize measurements. Correct data.")
|
||||
<< "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;
|
||||
|
||||
QTest::newRow("A file with limited gradation. Individual measurements.")
|
||||
<< "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;
|
||||
|
||||
QTest::newRow("A file with limited gradation. No measurements.")
|
||||
<< "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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user