Define macros tr() for reducing code complexity.
--HG-- branch : develop
This commit is contained in:
parent
7daec88f6e
commit
259f1e1de0
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -36,6 +36,8 @@ const QmuParserErrorMsg QmuParserErrorMsg::m_Instance;
|
||||||
QmuParserErrorMsg::~QmuParserErrorMsg()
|
QmuParserErrorMsg::~QmuParserErrorMsg()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
#define tr(source, disambiguation) QmuTranslation::translate("QmuParserErrorMsg", (source), (disambiguation))
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
QmuParserErrorMsg::QmuParserErrorMsg()
|
QmuParserErrorMsg::QmuParserErrorMsg()
|
||||||
: m_vErrMsg ()
|
: m_vErrMsg ()
|
||||||
|
@ -43,151 +45,117 @@ QmuParserErrorMsg::QmuParserErrorMsg()
|
||||||
m_vErrMsg.clear();
|
m_vErrMsg.clear();
|
||||||
|
|
||||||
m_vErrMsg.insert(ecUNASSIGNABLE_TOKEN,
|
m_vErrMsg.insert(ecUNASSIGNABLE_TOKEN,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected token \"$TOK$\" found at position $POS$.",
|
||||||
"Unexpected token \"$TOK$\" found at position $POS$.",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecINTERNAL_ERROR,
|
m_vErrMsg.insert(ecINTERNAL_ERROR,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Internal error",
|
||||||
"Internal error",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecINVALID_NAME,
|
m_vErrMsg.insert(ecINVALID_NAME,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Invalid function-, variable- or constant name: \"$TOK$\".",
|
||||||
"Invalid function-, variable- or constant name: \"$TOK$\".",
|
"Math parser error messages. Left untouched \"$TOK$\""));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\""));
|
|
||||||
m_vErrMsg.insert(ecINVALID_BINOP_IDENT,
|
m_vErrMsg.insert(ecINVALID_BINOP_IDENT,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Invalid binary operator identifier: \"$TOK$\".",
|
||||||
"Invalid binary operator identifier: \"$TOK$\".",
|
"Math parser error messages. Left untouched \"$TOK$\""));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\""));
|
|
||||||
m_vErrMsg.insert(ecINVALID_INFIX_IDENT,
|
m_vErrMsg.insert(ecINVALID_INFIX_IDENT,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Invalid infix operator identifier: \"$TOK$\".",
|
||||||
"Invalid infix operator identifier: \"$TOK$\".",
|
"Math parser error messages. Left untouched \"$TOK$\""));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\""));
|
|
||||||
m_vErrMsg.insert(ecINVALID_POSTFIX_IDENT,
|
m_vErrMsg.insert(ecINVALID_POSTFIX_IDENT,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Invalid postfix operator identifier: \"$TOK$\".",
|
||||||
"Invalid postfix operator identifier: \"$TOK$\".",
|
"Math parser error messages. Left untouched \"$TOK$\""));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\""));
|
|
||||||
m_vErrMsg.insert(ecINVALID_FUN_PTR,
|
m_vErrMsg.insert(ecINVALID_FUN_PTR,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Invalid pointer to callback function.",
|
||||||
"Invalid pointer to callback function.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecEMPTY_EXPRESSION,
|
m_vErrMsg.insert(ecEMPTY_EXPRESSION,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Expression is empty.",
|
||||||
"Expression is empty.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecINVALID_VAR_PTR,
|
m_vErrMsg.insert(ecINVALID_VAR_PTR,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Invalid pointer to variable.",
|
||||||
"Invalid pointer to variable.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_OPERATOR,
|
m_vErrMsg.insert(ecUNEXPECTED_OPERATOR,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected operator \"$TOK$\" found at position $POS$",
|
||||||
"Unexpected operator \"$TOK$\" found at position $POS$",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_EOF,
|
m_vErrMsg.insert(ecUNEXPECTED_EOF,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected end of expression at position $POS$",
|
||||||
"Unexpected end of expression at position $POS$",
|
"Math parser error messages. Left untouched $POS$"));
|
||||||
"Math parser error messages. Left untouched $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_ARG_SEP,
|
m_vErrMsg.insert(ecUNEXPECTED_ARG_SEP,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected argument separator at position $POS$",
|
||||||
"Unexpected argument separator at position $POS$",
|
"Math parser error messages. Left untouched $POS$"));
|
||||||
"Math parser error messages. Left untouched $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_PARENS,
|
m_vErrMsg.insert(ecUNEXPECTED_PARENS,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected parenthesis \"$TOK$\" at position $POS$",
|
||||||
"Unexpected parenthesis \"$TOK$\" at position $POS$",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_FUN,
|
m_vErrMsg.insert(ecUNEXPECTED_FUN,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected function \"$TOK$\" at position $POS$",
|
||||||
"Unexpected function \"$TOK$\" at position $POS$",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_VAL,
|
m_vErrMsg.insert(ecUNEXPECTED_VAL,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected value \"$TOK$\" found at position $POS$",
|
||||||
"Unexpected value \"$TOK$\" found at position $POS$",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_VAR,
|
m_vErrMsg.insert(ecUNEXPECTED_VAR,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected variable \"$TOK$\" found at position $POS$",
|
||||||
"Unexpected variable \"$TOK$\" found at position $POS$",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_ARG,
|
m_vErrMsg.insert(ecUNEXPECTED_ARG,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Function arguments used without a function (position: $POS$)",
|
||||||
"Function arguments used without a function (position: $POS$)",
|
"Math parser error messages. Left untouched $POS$"));
|
||||||
"Math parser error messages. Left untouched $POS$"));
|
|
||||||
m_vErrMsg.insert(ecMISSING_PARENS,
|
m_vErrMsg.insert(ecMISSING_PARENS,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Missing parenthesis",
|
||||||
"Missing parenthesis",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecTOO_MANY_PARAMS,
|
m_vErrMsg.insert(ecTOO_MANY_PARAMS,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Too many parameters for function \"$TOK$\" at expression position $POS$",
|
||||||
"Too many parameters for function \"$TOK$\" at expression position $POS$",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecTOO_FEW_PARAMS,
|
m_vErrMsg.insert(ecTOO_FEW_PARAMS,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Too few parameters for function \"$TOK$\" at expression position $POS$",
|
||||||
"Too few parameters for function \"$TOK$\" at expression position $POS$",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecDIV_BY_ZERO,
|
m_vErrMsg.insert(ecDIV_BY_ZERO,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Divide by zero",
|
||||||
"Divide by zero",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecDOMAIN_ERROR,
|
m_vErrMsg.insert(ecDOMAIN_ERROR,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Domain error",
|
||||||
"Domain error",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecNAME_CONFLICT,
|
m_vErrMsg.insert(ecNAME_CONFLICT,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Name conflict",
|
||||||
"Name conflict",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecOPT_PRI,
|
m_vErrMsg.insert(ecOPT_PRI,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Invalid value for operator priority (must be greater or equal to zero).",
|
||||||
"Invalid value for operator priority (must be greater or equal to zero).",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecBUILTIN_OVERLOAD,
|
m_vErrMsg.insert(ecBUILTIN_OVERLOAD,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("user defined binary operator \"$TOK$\" conflicts with a built in operator.",
|
||||||
"user defined binary operator \"$TOK$\" conflicts with a built in operator.",
|
"Math parser error messages. Left untouched \"$TOK$\""));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\""));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_STR,
|
m_vErrMsg.insert(ecUNEXPECTED_STR,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unexpected string token found at position $POS$.",
|
||||||
"Unexpected string token found at position $POS$.",
|
"Math parser error messages. Left untouched $POS$"));
|
||||||
"Math parser error messages. Left untouched $POS$"));
|
|
||||||
m_vErrMsg.insert(ecUNTERMINATED_STRING,
|
m_vErrMsg.insert(ecUNTERMINATED_STRING,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Unterminated string starting at position $POS$.",
|
||||||
"Unterminated string starting at position $POS$.",
|
"Math parser error messages. Left untouched $POS$"));
|
||||||
"Math parser error messages. Left untouched $POS$"));
|
|
||||||
m_vErrMsg.insert(ecSTRING_EXPECTED,
|
m_vErrMsg.insert(ecSTRING_EXPECTED,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("String function called with a non string type of argument.",
|
||||||
"String function called with a non string type of argument.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecVAL_EXPECTED,
|
m_vErrMsg.insert(ecVAL_EXPECTED,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("String value used where a numerical argument is expected.",
|
||||||
"String value used where a numerical argument is expected.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecOPRT_TYPE_CONFLICT,
|
m_vErrMsg.insert(ecOPRT_TYPE_CONFLICT,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("No suitable overload for operator \"$TOK$\" at position $POS$.",
|
||||||
"No suitable overload for operator \"$TOK$\" at position $POS$.",
|
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\" and $POS$"));
|
|
||||||
m_vErrMsg.insert(ecSTR_RESULT,
|
m_vErrMsg.insert(ecSTR_RESULT,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Function result is a string.",
|
||||||
"Function result is a string.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecGENERIC,
|
m_vErrMsg.insert(ecGENERIC,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Parser error.",
|
||||||
"Parser error.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecLOCALE,
|
m_vErrMsg.insert(ecLOCALE,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Decimal separator is identic to function argument separator.",
|
||||||
"Decimal separator is identic to function argument separator.",
|
"Math parser error messages."));
|
||||||
"Math parser error messages."));
|
|
||||||
m_vErrMsg.insert(ecUNEXPECTED_CONDITIONAL,
|
m_vErrMsg.insert(ecUNEXPECTED_CONDITIONAL,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("The \"$TOK$\" operator must be preceeded by a closing bracket.",
|
||||||
"The \"$TOK$\" operator must be preceeded by a closing bracket.",
|
"Math parser error messages. Left untouched \"$TOK$\""));
|
||||||
"Math parser error messages. Left untouched \"$TOK$\""));
|
|
||||||
m_vErrMsg.insert(ecMISSING_ELSE_CLAUSE,
|
m_vErrMsg.insert(ecMISSING_ELSE_CLAUSE,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("If-then-else operator is missing an else clause",
|
||||||
"If-then-else operator is missing an else clause",
|
"Math parser error messages. Do not translate operator name."));
|
||||||
"Math parser error messages. Do not translate operator name."));
|
|
||||||
m_vErrMsg.insert(ecMISPLACED_COLON,
|
m_vErrMsg.insert(ecMISPLACED_COLON,
|
||||||
QmuTranslation::translate("QmuParserErrorMsg",
|
tr("Misplaced colon at position $POS$",
|
||||||
"Misplaced colon at position $POS$",
|
"Math parser error messages. Left untouched $POS$"));
|
||||||
"Math parser error messages. Left untouched $POS$"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#undef tr
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// QParserError class
|
// QParserError class
|
||||||
|
|
|
@ -43,6 +43,11 @@ namespace qmu
|
||||||
* map.insert("head_girth", VTranslation::translate("Measurements", "head_girth", "Around fullest part of Head."));
|
* map.insert("head_girth", VTranslation::translate("Measurements", "head_girth", "Around fullest part of Head."));
|
||||||
* get translated string
|
* get translated string
|
||||||
* map.value(measurement).translate();
|
* map.value(measurement).translate();
|
||||||
|
*
|
||||||
|
* Hint. Define macros tr() for reducing code complexity.
|
||||||
|
* #define tr(source, disambiguation) QmuTranslation::translate("VTranslateVars", (source), (disambiguation))
|
||||||
|
*
|
||||||
|
* Don't forget to undef macros later!
|
||||||
*/
|
*/
|
||||||
class QMUPARSERSHARED_EXPORT QmuTranslation
|
class QMUPARSERSHARED_EXPORT QmuTranslation
|
||||||
{
|
{
|
||||||
|
|
|
@ -57,6 +57,8 @@ VTranslateVars::VTranslateVars(bool osSeparator)
|
||||||
VTranslateVars::~VTranslateVars()
|
VTranslateVars::~VTranslateVars()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
#define tr(source, disambiguation) QmuTranslation::translate("VTranslateVars", (source), (disambiguation))
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VTranslateVars::InitPatternMakingSystems()
|
void VTranslateVars::InitPatternMakingSystems()
|
||||||
{
|
{
|
||||||
|
@ -67,314 +69,287 @@ void VTranslateVars::InitPatternMakingSystems()
|
||||||
QmuTranslation book;
|
QmuTranslation book;
|
||||||
|
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Bunka", "System name");
|
name = tr("Bunka", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Bunka Fashion College", "Author name");
|
author = tr("Bunka Fashion College", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Fundamentals of Garment Design", "Book name");
|
book = tr("Fundamentals of Garment Design", "Book name");
|
||||||
InitSystem(p0_S, name, author, book);
|
InitSystem(p0_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Barnfield and Richard", "System name");
|
name = tr("Barnfield and Richard", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Jo Barnfield and Andrew Richards", "Author name");
|
author = tr("Jo Barnfield and Andrew Richards", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Pattern Making Primer", "Book name");
|
book = tr("Pattern Making Primer", "Book name");
|
||||||
InitSystem(p1_S, name, author, book);
|
InitSystem(p1_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Friendship/Women", "System name");
|
name = tr("Friendship/Women", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Elizabeth Friendship", "Author name");
|
author = tr("Elizabeth Friendship", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Creating Historical Clothes - Pattern Cutting from "
|
book = tr("Creating Historical Clothes - Pattern Cutting from the 16th to the 19th Centuries", "Book name");
|
||||||
"the 16th to the 19th Centuries", "Book name");
|
|
||||||
InitSystem(p2_S, name, author, book);
|
InitSystem(p2_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Morris, K.", "System name");
|
name = tr("Morris, K.", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Karen Morris", "Author name");
|
author = tr("Karen Morris", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Sewing Lingerie that Fits", "Book name");
|
book = tr("Sewing Lingerie that Fits", "Book name");
|
||||||
InitSystem(p3_S, name, author, book);
|
InitSystem(p3_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Castro", "System name");
|
name = tr("Castro", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Lucia Mors de Castro", "Author name");
|
author = tr("Lucia Mors de Castro", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Patternmaking in Practic", "Book name");
|
book = tr("Patternmaking in Practic", "Book name");
|
||||||
InitSystem(p4_S, name, author, book);
|
InitSystem(p4_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Kim & Uh", "System name");
|
name = tr("Kim & Uh", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Injoo Kim and Mykyung Uh", "Author name");
|
author = tr("Injoo Kim and Mykyung Uh", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Apparel Making in Fashion Design", "Book name");
|
book = tr("Apparel Making in Fashion Design", "Book name");
|
||||||
InitSystem(p5_S, name, author, book);
|
InitSystem(p5_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Waugh", "System name");
|
name = tr("Waugh", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Norah Waugh", "Author name");
|
author = tr("Norah Waugh", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Corsets and Crinolines", "Book name");
|
book = tr("Corsets and Crinolines", "Book name");
|
||||||
InitSystem(p6_S, name, author, book);
|
InitSystem(p6_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Grimble", "System name");
|
name = tr("Grimble", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Frances Grimble", "Author name");
|
author = tr("Frances Grimble", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Fashions of the Gilded Age", "Book name");
|
book = tr("Fashions of the Gilded Age", "Book name");
|
||||||
InitSystem(p7_S, name, author, book);
|
InitSystem(p7_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Thornton's International System", "System name");
|
name = tr("Thornton's International System", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "ed. R. L. Shep", "Author name");
|
author = tr("ed. R. L. Shep", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "The Great War: Styles and Patterns of the 1910s",
|
book = tr("The Great War: Styles and Patterns of the 1910s", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p8_S, name, author, book);
|
InitSystem(p8_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Hillhouse & Mansfield", "System name");
|
name = tr("Hillhouse & Mansfield", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Marion S. Hillhouse and Evelyn A. Mansfield",
|
author = tr("Marion S. Hillhouse and Evelyn A. Mansfield", "Author name");
|
||||||
"Author name");
|
book = tr("Dress Design: Draping and Flat Pattern Making", "Book name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Dress Design: Draping and Flat Pattern Making",
|
|
||||||
"Book name");
|
|
||||||
InitSystem(p9_S, name, author, book);
|
InitSystem(p9_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Pivnick", "System name");
|
name = tr("Pivnick", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Esther Kaplan Pivnick", "Author name");
|
author = tr("Esther Kaplan Pivnick", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "How to Design Beautiful Clothes: Designing and "
|
book = tr("How to Design Beautiful Clothes: Designing and Pattern Making", "Book name");
|
||||||
"Pattern Making", "Book name");
|
|
||||||
InitSystem(p10_S, name, author, book);
|
InitSystem(p10_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Minister & Son", "System name");
|
name = tr("Minister & Son", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Edward Minister & Son, ed. R. L. Shep",
|
author = tr("Edward Minister & Son, ed. R. L. Shep", "Author name");
|
||||||
"Author name");
|
book = tr("The Complete Guide to Practical Cutting (1853)", "Book name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "The Complete Guide to Practical Cutting (1853)",
|
|
||||||
"Book name");
|
|
||||||
InitSystem(p11_S, name, author, book);
|
InitSystem(p11_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Strickland", "System name");
|
name = tr("Strickland", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Gertrude Strickland", "Author name");
|
author = tr("Gertrude Strickland", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "A Tailoring Manual", "Book name");
|
book = tr("A Tailoring Manual", "Book name");
|
||||||
InitSystem(p12_S, name, author, book);
|
InitSystem(p12_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Loh & Lewis", "System name");
|
name = tr("Loh & Lewis", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "May Loh and Diehl Lewis", "Author name");
|
author = tr("May Loh and Diehl Lewis", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Patternless Fashion Design", "Book name");
|
book = tr("Patternless Fashion Design", "Book name");
|
||||||
InitSystem(p13_S, name, author, book);
|
InitSystem(p13_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Morris, F. R.", "System name");
|
name = tr("Morris, F. R.", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "F. R. Morris", "Author name");
|
author = tr("F. R. Morris", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Ladies Garment Cutting and Making", "Book name");
|
book = tr("Ladies Garment Cutting and Making", "Book name");
|
||||||
InitSystem(p14_S, name, author, book);
|
InitSystem(p14_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Mason", "System name");
|
name = tr("Mason", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Gertrude Mason", "Author name");
|
author = tr("Gertrude Mason", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Gertrude Mason's Patternmaking Book", "Book name");
|
book = tr("Gertrude Mason's Patternmaking Book", "Book name");
|
||||||
InitSystem(p15_S, name, author, book);
|
InitSystem(p15_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Kimata", "System name");
|
name = tr("Kimata", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "K. Kimata", "Author name");
|
author = tr("K. Kimata", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "K.Kimata's Simplified Drafting Book for Dressmaking",
|
book = tr("K.Kimata's Simplified Drafting Book for Dressmaking", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p16_S, name, author, book);
|
InitSystem(p16_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Master Designer", "System name");
|
name = tr("Master Designer", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "The Master Designer (Chicago, IL)", "Author name");
|
author = tr("The Master Designer (Chicago, IL)", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Master Designer's System of Designing, Cutting and "
|
book = tr("Master Designer's System of Designing, Cutting and Grading", "Book name");
|
||||||
"Grading", "Book name");
|
|
||||||
InitSystem(p17_S, name, author, book);
|
InitSystem(p17_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Kopp", "System name");
|
name = tr("Kopp", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Ernestine Kopp, Vittorina Rolfo, Beatrice Zelin, "
|
author = tr("Ernestine Kopp, Vittorina Rolfo, Beatrice Zelin, Lee Gross", "Author name");
|
||||||
"Lee Gross", "Author name");
|
book = tr("How to Draft Basic Patterns", "Book name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "How to Draft Basic Patterns", "Book name");
|
|
||||||
InitSystem(p18_S, name, author, book);
|
InitSystem(p18_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Ekern", "System name");
|
name = tr("Ekern", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Doris Ekern", "Author name");
|
author = tr("Doris Ekern", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Slacks Cut-to-Fit for Your Figure", "Book name");
|
book = tr("Slacks Cut-to-Fit for Your Figure", "Book name");
|
||||||
InitSystem(p19_S, name, author, book);
|
InitSystem(p19_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Doyle", "System name");
|
name = tr("Doyle", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Sarah J. Doyle", "Author name");
|
author = tr("Sarah J. Doyle", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Sarah's Key to Pattern Drafting", "Book name");
|
book = tr("Sarah's Key to Pattern Drafting", "Book name");
|
||||||
InitSystem(p20_S, name, author, book);
|
InitSystem(p20_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Shelton", "System name");
|
name = tr("Shelton", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Karla J. Shelton", "Author name");
|
author = tr("Karla J. Shelton", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Design and Sew Jeans", "Book name");
|
book = tr("Design and Sew Jeans", "Book name");
|
||||||
InitSystem(p21_S, name, author, book);
|
InitSystem(p21_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Lady Boutique", "System name");
|
name = tr("Lady Boutique", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Lady Boutique", "Author name");
|
author = tr("Lady Boutique", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Lady Boutique magazine (Japan)", "Book name");
|
book = tr("Lady Boutique magazine (Japan)", "Book name");
|
||||||
InitSystem(p22_S, name, author, book);
|
InitSystem(p22_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Rohr", "System name");
|
name = tr("Rohr", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "M. Rohr", "Author name");
|
author = tr("M. Rohr", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Pattern Drafting and Grading: Women's nd Misses' "
|
book = tr("Pattern Drafting and Grading: Women's nd Misses' Garment Design", "Book name");
|
||||||
"Garment Design", "Book name");
|
|
||||||
InitSystem(p23_S, name, author, book);
|
InitSystem(p23_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Moore", "System name");
|
name = tr("Moore", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Dorothy Moore", "Author name");
|
author = tr("Dorothy Moore", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Dorothy Moore's Pattern Drafting and Dressmaking",
|
book = tr("Dorothy Moore's Pattern Drafting and Dressmaking", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p24_S, name, author, book);
|
InitSystem(p24_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Abling", "System name");
|
name = tr("Abling", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Bina Abling", "Author name");
|
author = tr("Bina Abling", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Integrating Draping, Drafting and Drawing",
|
book = tr("Integrating Draping, Drafting and Drawing", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p25_S, name, author, book);
|
InitSystem(p25_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Fukomoto", "System name");
|
name = tr("Fukomoto", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Sue S. Fukomoto", "Author name");
|
author = tr("Sue S. Fukomoto", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Scientific Pattern Drafting as taught at Style Center "
|
book = tr("Scientific Pattern Drafting as taught at Style Center School of Costume Design, Dressmaking and "
|
||||||
"School of Costume Design, Dressmaking and Millinery", "Book name");
|
"Millinery", "Book name");
|
||||||
InitSystem(p26_S, name, author, book);
|
InitSystem(p26_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Dressmaking International", "System name");
|
name = tr("Dressmaking International", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Dressmaking International", "Author name");
|
author = tr("Dressmaking International", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Dressmaking International magazine (Japan)",
|
book = tr("Dressmaking International magazine (Japan)", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p27_S, name, author, book);
|
InitSystem(p27_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Erwin", "System name");
|
name = tr("Erwin", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Mabel D. Erwin", "Author name");
|
author = tr("Mabel D. Erwin", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Practical Dress Design", "Book name");
|
book = tr("Practical Dress Design", "Book name");
|
||||||
InitSystem(p28_S, name, author, book);
|
InitSystem(p28_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Gough", "System name");
|
name = tr("Gough", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "E. L. G. Gough", "Author name");
|
author = tr("E. L. G. Gough", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Principles of Garment Cutting", "Book name");
|
book = tr("Principles of Garment Cutting", "Book name");
|
||||||
InitSystem(p29_S, name, author, book);
|
InitSystem(p29_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Allemong", "System name");
|
name = tr("Allemong", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Elizabeth M. Allemong", "Author name");
|
author = tr("Elizabeth M. Allemong", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "European Cut", "Book name");
|
book = tr("European Cut", "Book name");
|
||||||
InitSystem(p30_S, name, author, book);
|
InitSystem(p30_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "McCunn", "System name");
|
name = tr("McCunn", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Donald H. McCunn", "Author name");
|
author = tr("Donald H. McCunn", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "How to Make Your Own Sewing Patterns", "Book name");
|
book = tr("How to Make Your Own Sewing Patterns", "Book name");
|
||||||
InitSystem(p31_S, name, author, book);
|
InitSystem(p31_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Zarapkar", "System name");
|
name = tr("Zarapkar", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Shri K. R. Zarapkar and Shri Arvind K. Zarapkar",
|
author = tr("Shri K. R. Zarapkar and Shri Arvind K. Zarapkar", "Author name");
|
||||||
"Author name");
|
book = tr("Zarapkar System of Cutting", "Book name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Zarapkar System of Cutting", "Book name");
|
|
||||||
InitSystem(p32_S, name, author, book);
|
InitSystem(p32_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Kunick", "System name");
|
name = tr("Kunick", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Philip Kunick", "Author name");
|
author = tr("Philip Kunick", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Sizing, Pattern Construction and Grading for Women's "
|
book = tr("Sizing, Pattern Construction and Grading for Women's and Children's Garments", "Book name");
|
||||||
"and Children's Garments", "Book name");
|
|
||||||
InitSystem(p33_S, name, author, book);
|
InitSystem(p33_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Handford", "System name");
|
name = tr("Handford", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Jack Handford", "Author name");
|
author = tr("Jack Handford", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Professional Patternmaking for Designers: Women's "
|
book = tr("Professional Patternmaking for Designers: Women's Wear, Men's Casual Wear", "Book name");
|
||||||
"Wear, Men's Casual Wear", "Book name");
|
|
||||||
InitSystem(p34_S, name, author, book);
|
InitSystem(p34_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Davis", "System name");
|
name = tr("Davis", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "R. I. Davis", "Author name");
|
author = tr("R. I. Davis", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Men's 17th & 18th Century Costume, Cut & Fashion",
|
book = tr("Men's 17th & 18th Century Costume, Cut & Fashion", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p35_S, name, author, book);
|
InitSystem(p35_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "MacLochlainn", "System name");
|
name = tr("MacLochlainn", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Jason MacLochlainn", "Author name");
|
author = tr("Jason MacLochlainn", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "The Victorian Tailor: An Introduction to Period "
|
book = tr("The Victorian Tailor: An Introduction to Period Tailoring", "Book name");
|
||||||
"Tailoring", "Book name");
|
|
||||||
InitSystem(p36_S, name, author, book);
|
InitSystem(p36_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Joseph-Armstrong", "System name");
|
name = tr("Joseph-Armstrong", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Helen Joseph-Armstrong", "Author name");
|
author = tr("Helen Joseph-Armstrong", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Patternmaking for Fashion Design", "Book name");
|
book = tr("Patternmaking for Fashion Design", "Book name");
|
||||||
InitSystem(p37_S, name, author, book);
|
InitSystem(p37_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Supreme System", "System name");
|
name = tr("Supreme System", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Frederick T. Croonberg", "Author name");
|
author = tr("Frederick T. Croonberg", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "The Blue Book of Men's Tailoring, Grand Edition of "
|
book = tr("The Blue Book of Men's Tailoring, Grand Edition of Supreme System for Producing Mens Garments (1907)",
|
||||||
"Supreme System for Producing Mens Garments (1907)", "Book name");
|
"Book name");
|
||||||
InitSystem(p38_S, name, author, book);
|
InitSystem(p38_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Sugino", "System name");
|
name = tr("Sugino", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Dressmaking", "Author name");
|
author = tr("Dressmaking", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Pattern Drafting Vols. I, II, III (Japan)",
|
book = tr("Pattern Drafting Vols. I, II, III (Japan)", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p39_S, name, author, book);
|
InitSystem(p39_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Centre Point System", "System name");
|
name = tr("Centre Point System", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Louis Devere", "Author name");
|
author = tr("Louis Devere", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "The Handbook of Practical Cutting on the Centre Point "
|
book = tr("The Handbook of Practical Cutting on the Centre Point System", "Book name");
|
||||||
"System", "Book name");
|
|
||||||
InitSystem(p40_S, name, author, book);
|
InitSystem(p40_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Aldrich/Men", "System name");
|
name = tr("Aldrich/Men", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Winifred Aldrich", "Author name");
|
author = tr("Winifred Aldrich", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Metric Pattern Cutting for Menswear", "Book name");
|
book = tr("Metric Pattern Cutting for Menswear", "Book name");
|
||||||
InitSystem(p41_S, name, author, book);
|
InitSystem(p41_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Aldrich/Women", "System name");
|
name = tr("Aldrich/Women", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Winifred Aldrich", "Author name");
|
author = tr("Winifred Aldrich", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Metric Pattern Cutting for Women's Wear", "Book name");
|
book = tr("Metric Pattern Cutting for Women's Wear", "Book name");
|
||||||
InitSystem(p42_S, name, author, book);
|
InitSystem(p42_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Kershaw", "System name");
|
name = tr("Kershaw", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Gareth Kershaw", "Author name");
|
author = tr("Gareth Kershaw", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Patternmaking for Menswear", "Book name");
|
book = tr("Patternmaking for Menswear", "Book name");
|
||||||
InitSystem(p43_S, name, author, book);
|
InitSystem(p43_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Gilewska", "System name");
|
name = tr("Gilewska", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Teresa Gilewska", "Author name");
|
author = tr("Teresa Gilewska", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Pattern-Drafting for Fashion: The Basics", "Book name");
|
book = tr("Pattern-Drafting for Fashion: The Basics", "Book name");
|
||||||
InitSystem(p44_S, name, author, book);
|
InitSystem(p44_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Lo", "System name");
|
name = tr("Lo", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Dennic Chunman Lo", "Author name");
|
author = tr("Dennic Chunman Lo", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Pattern Cutting", "Book name");
|
book = tr("Pattern Cutting", "Book name");
|
||||||
InitSystem(p45_S, name, author, book);
|
InitSystem(p45_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Bray", "System name");
|
name = tr("Bray", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Natalie Bray", "Author name");
|
author = tr("Natalie Bray", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Dress Pattern Designing: The Basic Principles of Cut "
|
book = tr("Dress Pattern Designing: The Basic Principles of Cut and Fit", "Book name");
|
||||||
"and Fit", "Book name");
|
|
||||||
InitSystem(p46_S, name, author, book);
|
InitSystem(p46_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Knowles/Men", "System name");
|
name = tr("Knowles/Men", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Lori A. Knowles", "Author name");
|
author = tr("Lori A. Knowles", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "The Practical Guide to Patternmaking for Fashion "
|
book = tr("The Practical Guide to Patternmaking for Fashion Designers: Menswear", "Book name");
|
||||||
"Designers: Menswear", "Book name");
|
|
||||||
InitSystem(p47_S, name, author, book);
|
InitSystem(p47_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Friendship/Men", "System name");
|
name = tr("Friendship/Men", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Elizabeth Friendship", "Author name");
|
author = tr("Elizabeth Friendship", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Pattern Cutting for Men's Costume", "Book name");
|
book = tr("Pattern Cutting for Men's Costume", "Book name");
|
||||||
InitSystem(p48_S, name, author, book);
|
InitSystem(p48_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Brown", "System name");
|
name = tr("Brown", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "P. Clement Brown", "Author name");
|
author = tr("P. Clement Brown", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Art in Dress", "Book name");
|
book = tr("Art in Dress", "Book name");
|
||||||
InitSystem(p49_S, name, author, book);
|
InitSystem(p49_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Mitchell", "System name");
|
name = tr("Mitchell", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Jno. J. Mitchell", "Author name");
|
author = tr("Jno. J. Mitchell", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "\"Standard\" Work on Cutting (Men's Garments) 1886: "
|
book = tr("\"Standard\" Work on Cutting (Men's Garments) 1886: The Art and Science of Garment Cutting",
|
||||||
"The Art and Science of Garment Cutting", "Book name");
|
"Book name");
|
||||||
InitSystem(p50_S, name, author, book);
|
InitSystem(p50_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "GOST 17917-86", "System name");
|
name = tr("GOST 17917-86", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Ministry of consumer industry of the USSR",
|
author = tr("Ministry of consumer industry of the USSR", "Author name");
|
||||||
"Author name");
|
book = tr("Standard figure boys", "Book name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Standard figure boys", "Book name");
|
|
||||||
InitSystem(p51_S, name, author, book);
|
InitSystem(p51_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Eddy", "System name");
|
name = tr("Eddy", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Josephine F. Eddy and Elizabeth C. B. Wiley",
|
author = tr("Josephine F. Eddy and Elizabeth C. B. Wiley", "Author name");
|
||||||
"Author name");
|
book = tr("Pattern and Dress Design", "Book name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Pattern and Dress Design", "Book name");
|
|
||||||
InitSystem(p52_S, name, author, book);
|
InitSystem(p52_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "Knowles/Women", "System name");
|
name = tr("Knowles/Women", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Lori A. Knowles", "Author name");
|
author = tr("Lori A. Knowles", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Practical Guide to Patternmaking for Fashion "
|
book = tr("Practical Guide to Patternmaking for Fashion Designers: Juniors, Misses, and Women", "Book name");
|
||||||
"Designers: Juniors, Misses, and Women", "Book name");
|
|
||||||
InitSystem(p53_S, name, author, book);
|
InitSystem(p53_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "American Garment Cutter", "System name");
|
name = tr("American Garment Cutter", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "ed. R. L. Shep", "Author name");
|
author = tr("ed. R. L. Shep", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "The Great War: Styles and Patterns of the 1910s",
|
book = tr("The Great War: Styles and Patterns of the 1910s", "Book name");
|
||||||
"Book name");
|
|
||||||
InitSystem(p54_S, name, author, book);
|
InitSystem(p54_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
name = QmuTranslation::translate("Pattern_making_systems", "None", "System name");
|
name = tr("None", "System name");
|
||||||
author = QmuTranslation::translate("Pattern_making_systems", "Valentina team", "Author name");
|
author = tr("Valentina team", "Author name");
|
||||||
book = QmuTranslation::translate("Pattern_making_systems", "Valentina's internal standard", "Book name");
|
book = tr("Valentina's internal standard", "Book name");
|
||||||
InitSystem(p998_S, name, author, book);
|
InitSystem(p998_S, name, author, book);
|
||||||
//=================================================================================================================
|
//=================================================================================================================
|
||||||
}
|
}
|
||||||
|
@ -382,63 +357,61 @@ void VTranslateVars::InitPatternMakingSystems()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VTranslateVars::InitVariables()
|
void VTranslateVars::InitVariables()
|
||||||
{
|
{
|
||||||
variables.insert(line_, QmuTranslation::translate("Variables", "Line_", "Left symbol _ in name"));
|
variables.insert(line_, tr("Line_", "Left symbol _ in name"));
|
||||||
variables.insert(angleLine_, QmuTranslation::translate("Variables", "AngleLine_", "Left symbol _ in name"));
|
variables.insert(angleLine_, tr("AngleLine_", "Left symbol _ in name"));
|
||||||
variables.insert(arc_, QmuTranslation::translate("Variables", "Arc_", "Left symbol _ in name"));
|
variables.insert(arc_, tr("Arc_", "Left symbol _ in name"));
|
||||||
variables.insert(spl_, QmuTranslation::translate("Variables", "Spl_", "Left symbol _ in name"));
|
variables.insert(spl_, tr("Spl_", "Left symbol _ in name"));
|
||||||
variables.insert(splPath, QmuTranslation::translate("Variables", "SplPath",
|
variables.insert(splPath, tr("SplPath", "Do not add symbol _ to the end of name"));
|
||||||
"Do not add symbol _ to the end of name"));
|
variables.insert(radiusArc_, tr("RadiusArc_", "Left symbol _ in name"));
|
||||||
variables.insert(radiusArc_, QmuTranslation::translate("Variables", "RadiusArc_", "Left symbol _ in name"));
|
variables.insert(angle1Arc_, tr("Angle1Arc_", "Left symbol _ in name"));
|
||||||
variables.insert(angle1Arc_, QmuTranslation::translate("Variables", "Angle1Arc_", "Left symbol _ in name"));
|
variables.insert(angle2Arc_, tr("Angle2Arc_", "Left symbol _ in name"));
|
||||||
variables.insert(angle2Arc_, QmuTranslation::translate("Variables", "Angle2Arc_", "Left symbol _ in name"));
|
variables.insert(angle1Spl_, tr("Angle1Spl_", "Left symbol _ in name"));
|
||||||
variables.insert(angle1Spl_, QmuTranslation::translate("Variables", "Angle1Spl_", "Left symbol _ in name"));
|
variables.insert(angle2Spl_, tr("Angle2Spl_", "Left symbol _ in name"));
|
||||||
variables.insert(angle2Spl_, QmuTranslation::translate("Variables", "Angle2Spl_", "Left symbol _ in name"));
|
variables.insert(angle1SplPath, tr("Angle1SplPath", "Do not add symbol _ to the end of name"));
|
||||||
variables.insert(angle1SplPath, QmuTranslation::translate("Variables", "Angle1SplPath",
|
variables.insert(angle2SplPath, tr("Angle2SplPath", "Do not add symbol _ to the end of name"));
|
||||||
"Do not add symbol _ to the end of name"));
|
|
||||||
variables.insert(angle2SplPath, QmuTranslation::translate("Variables", "Angle2SplPath",
|
|
||||||
"Do not add symbol _ to the end of name"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VTranslateVars::InitFunctions()
|
void VTranslateVars::InitFunctions()
|
||||||
{
|
{
|
||||||
functions.insert(sin_F, QmuTranslation::translate("Functions", "sin", "sine function"));
|
functions.insert(sin_F, tr("sin", "sine function"));
|
||||||
functions.insert(cos_F, QmuTranslation::translate("Functions", "cos", "cosine function"));
|
functions.insert(cos_F, tr("cos", "cosine function"));
|
||||||
functions.insert(tan_F, QmuTranslation::translate("Functions", "tan", "tangens function"));
|
functions.insert(tan_F, tr("tan", "tangens function"));
|
||||||
functions.insert(asin_F, QmuTranslation::translate("Functions", "asin", "arcus sine function"));
|
functions.insert(asin_F, tr("asin", "arcus sine function"));
|
||||||
functions.insert(acos_F, QmuTranslation::translate("Functions", "acos", "arcus cosine function"));
|
functions.insert(acos_F, tr("acos", "arcus cosine function"));
|
||||||
functions.insert(atan_F, QmuTranslation::translate("Functions", "atan", "arcus tangens function"));
|
functions.insert(atan_F, tr("atan", "arcus tangens function"));
|
||||||
functions.insert(sinh_F, QmuTranslation::translate("Functions", "sinh", "hyperbolic sine function"));
|
functions.insert(sinh_F, tr("sinh", "hyperbolic sine function"));
|
||||||
functions.insert(cosh_F, QmuTranslation::translate("Functions", "cosh", "hyperbolic cosine"));
|
functions.insert(cosh_F, tr("cosh", "hyperbolic cosine"));
|
||||||
functions.insert(tanh_F, QmuTranslation::translate("Functions", "tanh", "hyperbolic tangens function"));
|
functions.insert(tanh_F, tr("tanh", "hyperbolic tangens function"));
|
||||||
functions.insert(asinh_F, QmuTranslation::translate("Functions", "asinh", "hyperbolic arcus sine function"));
|
functions.insert(asinh_F, tr("asinh", "hyperbolic arcus sine function"));
|
||||||
functions.insert(acosh_F, QmuTranslation::translate("Functions", "acosh", "hyperbolic arcus tangens function"));
|
functions.insert(acosh_F, tr("acosh", "hyperbolic arcus tangens function"));
|
||||||
functions.insert(atanh_F, QmuTranslation::translate("Functions", "atanh", "hyperbolic arcur tangens function"));
|
functions.insert(atanh_F, tr("atanh", "hyperbolic arcur tangens function"));
|
||||||
functions.insert(log2_F, QmuTranslation::translate("Functions", "log2", "logarithm to the base 2"));
|
functions.insert(log2_F, tr("log2", "logarithm to the base 2"));
|
||||||
functions.insert(log10_F, QmuTranslation::translate("Functions", "log10", "logarithm to the base 10"));
|
functions.insert(log10_F, tr("log10", "logarithm to the base 10"));
|
||||||
functions.insert(log_F, QmuTranslation::translate("Functions", "log", "logarithm to the base 10"));
|
functions.insert(log_F, tr("log", "logarithm to the base 10"));
|
||||||
functions.insert(ln_F, QmuTranslation::translate("Functions", "ln", "logarithm to base e (2.71828...)"));
|
functions.insert(ln_F, tr("ln", "logarithm to base e (2.71828...)"));
|
||||||
functions.insert(exp_F, QmuTranslation::translate("Functions", "exp", "e raised to the power of x"));
|
functions.insert(exp_F, tr("exp", "e raised to the power of x"));
|
||||||
functions.insert(sqrt_F, QmuTranslation::translate("Functions", "sqrt", "square root of a value"));
|
functions.insert(sqrt_F, tr("sqrt", "square root of a value"));
|
||||||
functions.insert(sign_F, QmuTranslation::translate("Functions", "sign", "sign function -1 if x<0; 1 if x>0"));
|
functions.insert(sign_F, tr("sign", "sign function -1 if x<0; 1 if x>0"));
|
||||||
functions.insert(rint_F, QmuTranslation::translate("Functions", "rint", "round to nearest integer"));
|
functions.insert(rint_F, tr("rint", "round to nearest integer"));
|
||||||
functions.insert(abs_F, QmuTranslation::translate("Functions", "abs", "absolute value"));
|
functions.insert(abs_F, tr("abs", "absolute value"));
|
||||||
functions.insert(min_F, QmuTranslation::translate("Functions", "min", "min of all arguments"));
|
functions.insert(min_F, tr("min", "min of all arguments"));
|
||||||
functions.insert(max_F, QmuTranslation::translate("Functions", "max", "max of all arguments"));
|
functions.insert(max_F, tr("max", "max of all arguments"));
|
||||||
functions.insert(sum_F, QmuTranslation::translate("Functions", "sum", "sum of all arguments"));
|
functions.insert(sum_F, tr("sum", "sum of all arguments"));
|
||||||
functions.insert(avg_F, QmuTranslation::translate("Functions", "avg", "mean value of all arguments"));
|
functions.insert(avg_F, tr("avg", "mean value of all arguments"));
|
||||||
functions.insert(fmod_F, QmuTranslation::translate("Functions", "fmod",
|
functions.insert(fmod_F, tr("fmod", "Returns the floating-point remainder of numer/denom (rounded towards zero)"));
|
||||||
"Returns the floating-point remainder of numer/denom (rounded towards zero)"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VTranslateVars::InitPostfixOperators()
|
void VTranslateVars::InitPostfixOperators()
|
||||||
{
|
{
|
||||||
postfixOperators.insert(cm_Oprt, QmuTranslation::translate("PostfixOperators", "cm", "centimeter"));
|
postfixOperators.insert(cm_Oprt, tr("cm", "centimeter"));
|
||||||
postfixOperators.insert(mm_Oprt, QmuTranslation::translate("PostfixOperators", "mm", "millimeter"));
|
postfixOperators.insert(mm_Oprt, tr("mm", "millimeter"));
|
||||||
postfixOperators.insert(in_Oprt, QmuTranslation::translate("PostfixOperators", "in", "inch"));
|
postfixOperators.insert(in_Oprt, tr("in", "inch"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#undef tr
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VTranslateVars::InitSystem(const QString &code, const QmuTranslation &name, const QmuTranslation &author,
|
void VTranslateVars::InitSystem(const QString &code, const QmuTranslation &name, const QmuTranslation &author,
|
||||||
const QmuTranslation &book)
|
const QmuTranslation &book)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user