Seamly2D
Code documentation
vtranslatemeasurements.cpp
Go to the documentation of this file.
1 /******************************************************************************
2 * @file vtranslatemeasurements.cpp
3 ** @author DSCaskey <dscaskey@gmail.com>
4 ** @date 5 Jun, 2023
5 **
6 ** @brief
7 ** @copyright
8 ** This source code is part of the Seamly2D project, a pattern making
9 ** program to create and model patterns of clothing.
10 ** Copyright (C) 2017-2023 Seamly2D project
11 ** <https://github.com/fashionfreedom/seamly2d> All Rights Reserved.
12 **
13 ** Seamly2D is free software: you can redistribute it and/or modify
14 ** it under the terms of the GNU General Public License as published by
15 ** the Free Software Foundation, either version 3 of the License, or
16 ** (at your option) any later version.
17 **
18 ** Seamly2D is distributed in the hope that it will be useful,
19 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ** GNU General Public License for more details.
22 **
23 ** You should have received a copy of the GNU General Public License
24 ** along with Seamly2D. If not, see <http://www.gnu.org/licenses/>.
25 **
26 *************************************************************************/
27 
28 /************************************************************************
29  **
30  ** @file vtranslatemeasurements.cpp
31  ** @author Roman Telezhynskyi <dismine(at)gmail.com>
32  ** @date 2 8, 2015
33  **
34  ** @brief
35  ** @copyright
36  ** This source code is part of the Valentina project, a pattern making
37  ** program, whose allow create and modeling patterns of clothing.
38  ** Copyright (C) 2015 Valentina project
39  **
40  ** Valentina is free software: you can redistribute it and/or modify
41  ** it under the terms of the GNU General Public License as published by
42  ** the Free Software Foundation, either version 3 of the License, or
43  ** (at your option) any later version.
44  **
45  ** Valentina is distributed in the hope that it will be useful,
46  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
47  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48  ** GNU General Public License for more details.
49  **
50  ** You should have received a copy of the GNU General Public License
51  ** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
52  **
53  *************************************************************************/
54 
55 #include "vtranslatemeasurements.h"
56 
57 #include "../qmuparser/qmutranslation.h"
58 #include "measurements.h"
59 
60 //---------------------------------------------------------------------------------------------------------------------
62  : m_measurements(QMap<QString, qmu::QmuTranslation>())
63  , m_guiTexts(QMap<QString, qmu::QmuTranslation>())
64  , m_descriptions(QMap<QString, qmu::QmuTranslation>())
65  , m_numbers(QMap<QString, QString>())
66  , m_formulas(QMap<QString, QString>())
67 {
69 }
70 
71 //---------------------------------------------------------------------------------------------------------------------
73 {}
74 
75 //---------------------------------------------------------------------------------------------------------------------
76 /**
77  * @brief MeasurementsFromUser translate measurement to internal look.
78  * @param newFormula [in|out] expression to translate
79  * @param position token position
80  * @param token token to translate
81  * @param bias hold change of length between translated and origin token string
82  * @return true if was found measurement with same name.
83  */
84 bool VTranslateMeasurements::MeasurementsFromUser(QString &newFormula, int position, const QString &token,
85  int &bias) const
86 {
88  while (i != m_measurements.constEnd())
89  {
90  if (token == i.value().translate())
91  {
92  newFormula.replace(position, token.length(), i.key());
93  bias = token.length() - i.key().length();
94  return true;
95  }
96  ++i;
97  }
98  return false;
99 }
100 
101 //---------------------------------------------------------------------------------------------------------------------
102 QString VTranslateMeasurements::MToUser(const QString &measurement) const
103 {
104  if (m_measurements.contains(measurement))
105  {
106  return m_measurements.value(measurement).translate();
107  }
108  else
109  {
110  return measurement;
111  }
112 }
113 
114 //---------------------------------------------------------------------------------------------------------------------
115 QString VTranslateMeasurements::MNumber(const QString &measurement) const
116 {
117  if (m_numbers.contains(measurement))
118  {
119  return m_numbers.value(measurement);
120  }
121  else
122  {
123  return QString();
124  }
125 }
126 
127 //---------------------------------------------------------------------------------------------------------------------
128 QString VTranslateMeasurements::MFormula(const QString &measurement) const
129 {
130  return m_formulas.value(measurement);
131 }
132 
133 //---------------------------------------------------------------------------------------------------------------------
134 QString VTranslateMeasurements::guiText(const QString &measurement) const
135 {
136  if (m_guiTexts.contains(measurement))
137  {
138  return m_guiTexts.value(measurement).translate();
139  }
140  else
141  {
142  return measurement;
143  }
144 }
145 
146 //---------------------------------------------------------------------------------------------------------------------
147 QString VTranslateMeasurements::Description(const QString &measurement) const
148 {
149  if (m_descriptions.contains(measurement))
150  {
151  return m_descriptions.value(measurement).translate();
152  }
153  else
154  {
155  return measurement;
156  }
157 }
158 
159 //---------------------------------------------------------------------------------------------------------------------
161 {
162  m_measurements.clear();
163  m_guiTexts.clear();
164  m_descriptions.clear();
165  m_numbers.clear();
166  m_formulas.clear();
168 }
169 
170 //---------------------------------------------------------------------------------------------------------------------
172 {
173  InitGroupA(); // Direct Height
174  InitGroupB(); // Direct Width
175  InitGroupC(); // Indentation
176  InitGroupD(); // Circumference and Arc
177  InitGroupE(); // Vertical
178  InitGroupF(); // Horizontal
179  InitGroupG(); // Bust
180  InitGroupH(); // Balance
181  InitGroupI(); // Arm
182  InitGroupJ(); // Leg
183  InitGroupK(); // Crotch and Rise
184  InitGroupL(); // Hand
185  InitGroupM(); // Foot
186  InitGroupN(); // Head
187  InitGroupO(); // Men & Tailoring
188  InitGroupP(); // Historical & Specialty
189  InitGroupQ(); // Patternmaking measurements
190 }
191 
192 //---------------------------------------------------------------------------------------------------------------------
194  const qmu::QmuTranslation &g, const qmu::QmuTranslation &d,
195  const QString &number, const QString &formula)
196 {
197  m_measurements.insert(name, m);
198  m_guiTexts.insert(name, g);
199  m_descriptions.insert(name, d);
200  m_numbers.insert(name, number);
201  m_formulas.insert(name, formula);
202 }
203 
204 #define translate(context, source, disambiguation) qmu::QmuTranslation::translate((context), (source), (disambiguation))
205 
206 //---------------------------------------------------------------------------------------------------------------------
208 {
209  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
210  //mark such string to translation.
214 
215  //=================================================================================================================
216  m = translate("VTranslateMeasurements", "height",
217  "Name in a formula. Don't use math symbols and space in name!!!!");
218  g = translate("VTranslateMeasurements", "Height: Total", "Full measurement name.");
219  d = translate("VTranslateMeasurements", "Vertical distance from crown of head to floor.",
220  "Full measurement description.");
221  InitMeasurement(height_M, m, g, d, "A01");
222  //=================================================================================================================
223  m = translate("VTranslateMeasurements", "height_neck_back",
224  "Name in a formula. Don't use math symbols and space in name!!!!");
225  g = translate("VTranslateMeasurements", "Height: Neck Back", "Full measurement name.");
226  d = translate("VTranslateMeasurements", "Vertical distance from the Neck Back (cervicale vertebra) to the floor.",
227  "Full measurement description.");
228  InitMeasurement(heightNeckBack_M, m, g, d, "A02");
229  //=================================================================================================================
230  m = translate("VTranslateMeasurements", "height_scapula",
231  "Name in a formula. Don't use math symbols and space in name!!!!");
232  g = translate("VTranslateMeasurements", "Height: Scapula", "Full measurement name.");
233  d = translate("VTranslateMeasurements", "Vertical distance from the Scapula (Blade point) to the floor.",
234  "Full measurement description.");
235  InitMeasurement(heightScapula_M, m, g, d, "A03");
236  //=================================================================================================================
237  m = translate("VTranslateMeasurements", "height_armpit",
238  "Name in a formula. Don't use math symbols and space in name!!!!");
239  g = translate("VTranslateMeasurements", "Height: Armpit", "Full measurement name.");
240  d = translate("VTranslateMeasurements", "Vertical distance from the Armpit to the floor.",
241  "Full measurement description.");
242  InitMeasurement(heightArmpit_M, m, g, d, "A04");
243  //=================================================================================================================
244  m = translate("VTranslateMeasurements", "height_waist_side",
245  "Name in a formula. Don't use math symbols and space in name!!!!");
246  g = translate("VTranslateMeasurements", "Height: Waist Side", "Full measurement name.");
247  d = translate("VTranslateMeasurements", "Vertical distance from the Waist Side to the floor.",
248  "Full measurement description.");
249  InitMeasurement(heightWaistSide_M, m, g, d, "A05");
250  //=================================================================================================================
251  m = translate("VTranslateMeasurements", "height_hip",
252  "Name in a formula. Don't use math symbols and space in name!!!!");
253  g = translate("VTranslateMeasurements", "Height: Hip", "Full measurement name.");
254  d = translate("VTranslateMeasurements", "Vertical distance from the Hip level to the floor.",
255  "Full measurement description.");
256  InitMeasurement(heightHip_M, m, g, d, "A06");
257  //=================================================================================================================
258  m = translate("VTranslateMeasurements", "height_gluteal_fold",
259  "Name in a formula. Don't use math symbols and space in name!!!!");
260  g = translate("VTranslateMeasurements", "Height: Gluteal Fold", "Full measurement name.");
261  d = translate("VTranslateMeasurements", "Vertical distance from the Gluteal fold, where the Gluteal muscle meets "
262  "the top of the back thigh, to the floor.", "Full measurement description.");
263  InitMeasurement(heightGlutealFold_M, m, g, d, "A07");
264  //=================================================================================================================
265  m = translate("VTranslateMeasurements", "height_knee",
266  "Name in a formula. Don't use math symbols and space in name!!!!");
267  g = translate("VTranslateMeasurements", "Height: Knee", "Full measurement name.");
268  d = translate("VTranslateMeasurements", "Vertical distance from the fold at the back of the Knee to the floor.",
269  "Full measurement description.");
270  InitMeasurement(heightKnee_M, m, g, d, "A08");
271  //=================================================================================================================
272  m = translate("VTranslateMeasurements", "height_calf",
273  "Name in a formula. Don't use math symbols and space in name!!!!");
274  g = translate("VTranslateMeasurements", "Height: Calf", "Full measurement name.");
275  d = translate("VTranslateMeasurements", "Vertical distance from the widest point of the calf to the floor.",
276  "Full measurement description.");
277  InitMeasurement(heightCalf_M, m, g, d, "A09");
278  //=================================================================================================================
279  m = translate("VTranslateMeasurements", "height_ankle_high",
280  "Name in a formula. Don't use math symbols and space in name!!!!");
281  g = translate("VTranslateMeasurements", "Height: Ankle High", "Full measurement name.");
282  d = translate("VTranslateMeasurements", "Vertical distance from the deepest indentation of the back of the ankle "
283  "to the floor.", "Full measurement description.");
284  InitMeasurement(heightAnkleHigh_M, m, g, d, "A10");
285  //=================================================================================================================
286  m = translate("VTranslateMeasurements", "height_ankle",
287  "Name in a formula. Don't use math symbols and space in name!!!!");
288  g = translate("VTranslateMeasurements", "Height: Ankle", "Full measurement name.");
289  d = translate("VTranslateMeasurements", "Vertical distance from point where the front leg meets the foot to the "
290  "floor.", "Full measurement description.");
291  InitMeasurement(heightAnkle_M, m, g, d, "A11");
292  //=================================================================================================================
293  m = translate("VTranslateMeasurements", "height_highhip",
294  "Name in a formula. Don't use math symbols and space in name!!!!");
295  g = translate("VTranslateMeasurements", "Height: Highhip", "Full measurement name.");
296  d = translate("VTranslateMeasurements", "Vertical distance from the Highhip level, where front abdomen is most "
297  "prominent, to the floor.", "Full measurement description.");
298  InitMeasurement(heightHighhip_M, m, g, d, "A12");
299  //=================================================================================================================
300  m = translate("VTranslateMeasurements", "height_waist_front",
301  "Name in a formula. Don't use math symbols and space in name!!!!");
302  g = translate("VTranslateMeasurements", "Height: Waist Front", "Full measurement name.");
303  d = translate("VTranslateMeasurements", "Vertical distance from the Waist Front to the floor.",
304  "Full measurement description.");
305  InitMeasurement(heightWaistFront_M, m, g, d, "A13");
306  //=================================================================================================================
307  m = translate("VTranslateMeasurements", "height_bustpoint",
308  "Name in a formula. Don't use math symbols and space in name!!!!");
309  g = translate("VTranslateMeasurements", "Height: Bustpoint", "Full measurement name.");
310  d = translate("VTranslateMeasurements", "Vertical distance from Bustpoint to the floor.",
311  "Full measurement description.");
312  InitMeasurement(heightBustpoint_M, m, g, d, "A14");
313  //=================================================================================================================
314  m = translate("VTranslateMeasurements", "height_shoulder_tip",
315  "Name in a formula. Don't use math symbols and space in name!!!!");
316  g = translate("VTranslateMeasurements", "Height: Shoulder Tip", "Full measurement name.");
317  d = translate("VTranslateMeasurements", "Vertical distance from the Shoulder Tip to the floor.",
318  "Full measurement description.");
319  InitMeasurement(heightShoulderTip_M, m, g, d, "A15");
320  //=================================================================================================================
321  m = translate("VTranslateMeasurements", "height_neck_front",
322  "Name in a formula. Don't use math symbols and space in name!!!!");
323  g = translate("VTranslateMeasurements", "Height: Neck Front", "Full measurement name.");
324  d = translate("VTranslateMeasurements", "Vertical distance from the Neck Front to the floor.",
325  "Full measurement description.");
326  InitMeasurement(heightNeckFront_M, m, g, d, "A16");
327  //=================================================================================================================
328  m = translate("VTranslateMeasurements", "height_neck_side",
329  "Name in a formula. Don't use math symbols and space in name!!!!");
330  g = translate("VTranslateMeasurements", "Height: Neck Side", "Full measurement name.");
331  d = translate("VTranslateMeasurements", "Vertical distance from the Neck Side to the floor.",
332  "Full measurement description.");
333  InitMeasurement(heightNeckSide_M, m, g, d, "A17");
334  //=================================================================================================================
335  m = translate("VTranslateMeasurements", "height_neck_back_to_knee",
336  "Name in a formula. Don't use math symbols and space in name!!!!");
337  g = translate("VTranslateMeasurements", "Height: Neck Back to Knee", "Full measurement name.");
338  d = translate("VTranslateMeasurements", "Vertical distance from the Neck Back (cervicale vertebra) to the fold at "
339  "the back of the knee.", "Full measurement description.");
340  InitMeasurement(heightNeckBackToKnee_M, m, g, d, "A18", "(height_neck_back - height_knee)");
341  //=================================================================================================================
342  m = translate("VTranslateMeasurements", "height_waist_side_to_knee",
343  "Name in a formula. Don't use math symbols and space in name!!!!");
344  g = translate("VTranslateMeasurements", "Height: Waist Side to Knee", "Full measurement name.");
345  d = translate("VTranslateMeasurements",
346  "Vertical distance from the Waist Side to the fold at the back of the knee.",
347  "Full measurement description.");
348  InitMeasurement(heightWaistSideToKnee_M, m, g, d, "A19", "(height_waist_side - height_knee)");
349  //=================================================================================================================
350  m = translate("VTranslateMeasurements", "height_waist_side_to_hip",
351  "Name in a formula. Don't use math symbols and space in name!!!!");
352  g = translate("VTranslateMeasurements", "Height: Waist Side to Hip", "Full measurement name.");
353  d = translate("VTranslateMeasurements", "Vertical distance from the Waist Side to the Hip level.",
354  "Full measurement description.");
355  InitMeasurement(heightWaistSideToHip_M, m, g, d, "A20", "(height_waist_side - height_hip)");
356  //=================================================================================================================
357  m = translate("VTranslateMeasurements", "height_knee_to_ankle",
358  "Name in a formula. Don't use math symbols and space in name!!!!");
359  g = translate("VTranslateMeasurements", "Height: Knee to Ankle", "Full measurement name.");
360  d = translate("VTranslateMeasurements", "Vertical distance from the fold at the back of the knee to the point "
361  "where the front leg meets the top of the foot.", "Full measurement description.");
362  InitMeasurement(heightKneeToAnkle_M, m, g, d, "A21", "(height_knee - height_ankle)");
363  //=================================================================================================================
364  m = translate("VTranslateMeasurements", "height_neck_back_to_waist_side",
365  "Name in a formula. Don't use math symbols and space in name!!!!");
366  g = translate("VTranslateMeasurements", "Height: Neck Back to Waist Side", "Full measurement name.");
367  d = translate("VTranslateMeasurements", "Vertical distance from Neck Back to Waist Side. ('Height: Neck Back' - "
368  "'Height: Waist Side').", "Full measurement description.");
369  InitMeasurement(heightNeckBackToWaistSide_M, m, g, d, "A22", "(height_neck_back - height_waist_side)");
370  //=================================================================================================================
371  m = translate("VTranslateMeasurements", "height_waist_back",
372  "Name in a formula. Don't use math symbols and space in name!!!!");
373  g = translate("VTranslateMeasurements", "Height: Waist Back", "Full measurement name.");
374  d = translate("VTranslateMeasurements", "Vertical height from Waist Back to floor.", "Full measurement name.");
375  InitMeasurement(heightWaistBack_M, m, g, d, "A23");
376  //=================================================================================================================
377 }
378 
379 //---------------------------------------------------------------------------------------------------------------------
381 {
382  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
383  //mark such string to translation.
387 
388  //=================================================================================================================
389  m = translate("VTranslateMeasurements", "width_shoulder",
390  "Name in a formula. Don't use math symbols and space in name!!!!");
391  g = translate("VTranslateMeasurements", "Width: Shoulder", "Full measurement name.");
392  d = translate("VTranslateMeasurements", "Horizontal distance from Shoulder Tip to Shoulder Tip.",
393  "Full measurement description.");
394  InitMeasurement(widthShoulder_M, m, g, d, "B01");
395  //=================================================================================================================
396  m = translate("VTranslateMeasurements", "width_bust",
397  "Name in a formula. Don't use math symbols and space in name!!!!");
398  g = translate("VTranslateMeasurements", "Width: Bust", "Full measurement name.");
399  d = translate("VTranslateMeasurements", "Horizontal distance from Bust Side to Bust Side.",
400  "Full measurement description.");
401  InitMeasurement(widthBust_M, m, g, d, "B02");
402  //=================================================================================================================
403  m = translate("VTranslateMeasurements", "width_waist",
404  "Name in a formula. Don't use math symbols and space in name!!!!");
405  g = translate("VTranslateMeasurements", "Width: Waist", "Full measurement name.");
406  d = translate("VTranslateMeasurements", "Horizontal distance from Waist Side to Waist Side.",
407  "Full measurement description.");
408  InitMeasurement(widthWaist_M, m, g, d, "B03");
409  //=================================================================================================================
410  m = translate("VTranslateMeasurements", "width_hip",
411  "Name in a formula. Don't use math symbols and space in name!!!!");
412  g = translate("VTranslateMeasurements", "Width: Hip", "Full measurement name.");
413  d = translate("VTranslateMeasurements", "Horizontal distance from Hip Side to Hip Side.",
414  "Full measurement description.");
415  InitMeasurement(widthHip_M, m, g, d, "B04");
416  //=================================================================================================================
417  m = translate("VTranslateMeasurements", "width_abdomen_to_hip",
418  "Name in a formula. Don't use math symbols and space in name!!!!");
419  g = translate("VTranslateMeasurements", "Width: Abdomen to Hip", "Full measurement name.");
420  d = translate("VTranslateMeasurements", "Horizontal distance from the greatest abdomen prominence to the greatest "
421  "hip prominence.", "Full measurement description.");
422  InitMeasurement(widthAbdomenToHip_M, m, g, d, "B05");
423  //=================================================================================================================
424 }
425 
426 //---------------------------------------------------------------------------------------------------------------------
428 {
429  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
430  //mark such string to translation.
434 
435  //=================================================================================================================
436  m = translate("VTranslateMeasurements", "indent_neck_back",
437  "Name in a formula. Don't use math symbols and space in name!!!!");
438  g = translate("VTranslateMeasurements", "Indent: Neck Back", "Full measurement name.");
439  d = translate("VTranslateMeasurements", "Horizontal distance from Scapula (Blade point) to the Neck Back.",
440  "Full measurement description.");
441  InitMeasurement(indentNeckBack_M, m, g, d, "C01");
442  //=================================================================================================================
443  m = translate("VTranslateMeasurements", "indent_waist_back",
444  "Name in a formula. Don't use math symbols and space in name!!!!");
445  g = translate("VTranslateMeasurements", "Indent: Waist Back", "Full measurement name.");
446  d = translate("VTranslateMeasurements", "Horizontal distance between a flat stick, placed to touch Hip and "
447  "Scapula, and Waist Back.", "Full measurement description.");
448  InitMeasurement(indentWaistBack_M, m, g, d, "C02");
449  //=================================================================================================================
450  m = translate("VTranslateMeasurements", "indent_ankle_high",
451  "Name in a formula. Don't use math symbols and space in name!!!!");
452  g = translate("VTranslateMeasurements", "Indent: Ankle High", "Full measurement name.");
453  d = translate("VTranslateMeasurements", "Horizontal Distance between a flat stick, placed perpendicular to Heel, "
454  "and the greatest indentation of Ankle.", "Full measurement description.");
455  InitMeasurement(indentAnkleHigh_M, m, g, d, "C03");
456  //=================================================================================================================
457 }
458 
459 //---------------------------------------------------------------------------------------------------------------------
461 {
462  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
463  //mark such string to translation.
467 
468  //=================================================================================================================
469  m = translate("VTranslateMeasurements", "hand_palm_length",
470  "Name in a formula. Don't use math symbols and space in name!!!!");
471  g = translate("VTranslateMeasurements", "Hand: Palm length", "Full measurement name.");
472  d = translate("VTranslateMeasurements", "Length from Wrist line to base of middle finger.",
473  "Full measurement description.");
474  InitMeasurement(handPalmLength_M, m, g, d, "D01");
475  //=================================================================================================================
476  m = translate("VTranslateMeasurements", "hand_length",
477  "Name in a formula. Don't use math symbols and space in name!!!!");
478  g = translate("VTranslateMeasurements", "Hand: Length", "Full measurement name.");
479  d = translate("VTranslateMeasurements", "Length from Wrist line to end of middle finger.",
480  "Full measurement description.");
481  InitMeasurement(handLength_M, m, g, d, "D02");
482  //=================================================================================================================
483  m = translate("VTranslateMeasurements", "hand_palm_width",
484  "Name in a formula. Don't use math symbols and space in name!!!!");
485  g = translate("VTranslateMeasurements", "Hand: Palm width", "Full measurement name.");
486  d = translate("VTranslateMeasurements", "Measure where Palm is widest.", "Full measurement description.");
487  InitMeasurement(handPalmWidth_M, m, g, d, "D03");
488  //=================================================================================================================
489  m = translate("VTranslateMeasurements", "hand_palm_circ",
490  "Name in a formula. Don't use math symbols and space in name!!!!");
491  g = translate("VTranslateMeasurements", "Hand: Palm circumference", "Full measurement name.");
492  d = translate("VTranslateMeasurements", "Circumference where Palm is widest.", "Full measurement description.");
493  InitMeasurement(handPalmCirc_M, m, g, d, "D04");
494  //=================================================================================================================
495  m = translate("VTranslateMeasurements", "hand_circ",
496  "Name in a formula. Don't use math symbols and space in name!!!!");
497  g = translate("VTranslateMeasurements", "Hand: Circumference", "Full measurement name.");
498  d = translate("VTranslateMeasurements", "Tuck thumb toward smallest finger, bring fingers close together. Measure "
499  "circumference around widest part of hand.", "Full measurement description.");
500  InitMeasurement(handCirc_M, m, g, d, "D05");
501  //=================================================================================================================
502 }
503 
504 //---------------------------------------------------------------------------------------------------------------------
506 {
507  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
508  //mark such string to translation.
512 
513  //=================================================================================================================
514  m = translate("VTranslateMeasurements", "foot_width",
515  "Name in a formula. Don't use math symbols and space in name!!!!");
516  g = translate("VTranslateMeasurements", "Foot: Width", "Full measurement name.");
517  d = translate("VTranslateMeasurements", "Measure at widest part of foot.", "Full measurement description.");
518  InitMeasurement(footWidth_M, m, g, d, "E01");
519  //=================================================================================================================
520  m = translate("VTranslateMeasurements", "foot_length",
521  "Name in a formula. Don't use math symbols and space in name!!!!");
522  g = translate("VTranslateMeasurements", "Foot: Length", "Full measurement name.");
523  d = translate("VTranslateMeasurements", "Measure from back of heel to end of longest toe.",
524  "Full measurement description.");
525  InitMeasurement(footLength_M, m, g, d, "E02");
526  //=================================================================================================================
527  m = translate("VTranslateMeasurements", "foot_circ",
528  "Name in a formula. Don't use math symbols and space in name!!!!");
529  g = translate("VTranslateMeasurements", "Foot: Circumference", "Full measurement name.");
530  d = translate("VTranslateMeasurements", "Measure circumference around widest part of foot.",
531  "Full measurement description.");
532  InitMeasurement(footCirc_M, m, g, d, "E03");
533  //=================================================================================================================
534  m = translate("VTranslateMeasurements", "foot_instep_circ",
535  "Name in a formula. Don't use math symbols and space in name!!!!");
536  g = translate("VTranslateMeasurements", "Foot: Instep circumference", "Full measurement name.");
537  d = translate("VTranslateMeasurements", "Measure circumference at tallest part of instep.",
538  "Full measurement description.");
539  InitMeasurement(footInstepCirc_M, m, g, d, "E04");
540  //=================================================================================================================
541 }
542 
543 //---------------------------------------------------------------------------------------------------------------------
545 {
546  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
547  //mark such string to translation.
551 
552  //=================================================================================================================
553  m = translate("VTranslateMeasurements", "head_circ",
554  "Name in a formula. Don't use math symbols and space in name!!!!");
555  g = translate("VTranslateMeasurements", "Head: Circumference", "Full measurement name.");
556  d = translate("VTranslateMeasurements", "Measure circumference at largest level of head.",
557  "Full measurement description.");
558  InitMeasurement(headCirc_M, m, g, d, "F01");
559  //=================================================================================================================
560  m = translate("VTranslateMeasurements", "head_length",
561  "Name in a formula. Don't use math symbols and space in name!!!!");
562  g = translate("VTranslateMeasurements", "Head: Length", "Full measurement name.");
563  d = translate("VTranslateMeasurements", "Vertical distance from Head Crown to bottom of jaw.",
564  "Full measurement description.");
565  InitMeasurement(headLength_M, m, g, d, "F02");
566  //=================================================================================================================
567  m = translate("VTranslateMeasurements", "head_depth",
568  "Name in a formula. Don't use math symbols and space in name!!!!");
569  g = translate("VTranslateMeasurements", "Head: Depth", "Full measurement name.");
570  d = translate("VTranslateMeasurements", "Horizontal distance from front of forehead to back of head.",
571  "Full measurement description.");
572  InitMeasurement(headDepth_M, m, g, d, "F03");
573  //=================================================================================================================
574  m = translate("VTranslateMeasurements", "head_width",
575  "Name in a formula. Don't use math symbols and space in name!!!!");
576  g = translate("VTranslateMeasurements", "Head: Width", "Full measurement name.");
577  d = translate("VTranslateMeasurements", "Horizontal distance from Head Side to Head Side, where Head is widest.",
578  "Full measurement description.");
579  InitMeasurement(headWidth_M, m, g, d, "F04");
580  //=================================================================================================================
581  m = translate("VTranslateMeasurements", "head_crown_to_neck_back",
582  "Name in a formula. Don't use math symbols and space in name!!!!");
583  g = translate("VTranslateMeasurements", "Head: Crown to Neck Back", "Full measurement name.");
584  d = translate("VTranslateMeasurements", "Vertical distance from Crown to Neck Back. ('Height: Total' - 'Height: "
585  "Neck Back').", "Full measurement description.");
586  InitMeasurement(headCrownToNeckBack_M, m, g, d, "F05", "(height - height_neck_back)");
587  //=================================================================================================================
588  m = translate("VTranslateMeasurements", "head_chin_to_neck_back",
589  "Name in a formula. Don't use math symbols and space in name!!!!");
590  g = translate("VTranslateMeasurements", "Head: Chin to Neck Back", "Full measurement name.");
591  d = translate("VTranslateMeasurements",
592  "Vertical distance from Chin to Neck Back. ('Height' - 'Height: Neck Back' - 'Head: Length')",
593  "Full measurement description.");
594  InitMeasurement(headChinToNeckBack_M, m, g, d, "F06", "(height - height_neck_back - head_length)");
595  //=================================================================================================================
596 }
597 
598 //---------------------------------------------------------------------------------------------------------------------
600 {
601  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
602  //mark such string to translation.
606 
607  //=================================================================================================================
608  m = translate("VTranslateMeasurements", "neck_mid_circ",
609  "Name in a formula. Don't use math symbols and space in name!!!!");
610  g = translate("VTranslateMeasurements", "Neck circumference, midsection", "Full measurement name.");
611  d = translate("VTranslateMeasurements", "Circumference of Neck midsection, about halfway between jaw and torso.",
612  "Full measurement description.");
613  InitMeasurement(neckMidCirc_M, m, g, d, "G01");
614  //=================================================================================================================
615  m = translate("VTranslateMeasurements", "neck_circ",
616  "Name in a formula. Don't use math symbols and space in name!!!!");
617  g = translate("VTranslateMeasurements", "Neck circumference", "Full measurement name.");
618  d = translate("VTranslateMeasurements",
619  "Neck circumference at base of Neck, touching Neck Back, Neck Sides, and Neck Front.",
620  "Full measurement description.");
621  InitMeasurement(neckCirc_M, m, g, d, "G02");
622  //=================================================================================================================
623  m = translate("VTranslateMeasurements", "highbust_circ",
624  "Name in a formula. Don't use math symbols and space in name!!!!");
625  g = translate("VTranslateMeasurements", "Highbust circumference", "Full measurement name.");
626  d = translate("VTranslateMeasurements", "Circumference at Highbust, following shortest distance between Armfolds "
627  "across chest, high under armpits.", "Full measurement description.");
628  InitMeasurement(highbustCirc_M, m, g, d, "G03");
629  //=================================================================================================================
630  m = translate("VTranslateMeasurements", "bust_circ",
631  "Name in a formula. Don't use math symbols and space in name!!!!");
632  g = translate("VTranslateMeasurements", "Bust circumference", "Full measurement name.");
633  d = translate("VTranslateMeasurements", "Circumference around Bust, parallel to floor.",
634  "Full measurement description.");
635  InitMeasurement(bustCirc_M, m, g, d, "G04");
636  //=================================================================================================================
637  m = translate("VTranslateMeasurements", "lowbust_circ",
638  "Name in a formula. Don't use math symbols and space in name!!!!");
639  g = translate("VTranslateMeasurements", "Lowbust circumference", "Full measurement name.");
640  d = translate("VTranslateMeasurements", "Circumference around LowBust under the breasts, parallel to floor.",
641  "Full measurement description.");
642  InitMeasurement(lowbustCirc_M, m, g, d, "G05");
643  //=================================================================================================================
644  m = translate("VTranslateMeasurements", "rib_circ",
645  "Name in a formula. Don't use math symbols and space in name!!!!");
646  g = translate("VTranslateMeasurements", "Rib circumference", "Full measurement name.");
647  d = translate("VTranslateMeasurements",
648  "Circumference around Ribs at level of the lowest rib at the side, parallel to floor.",
649  "Full measurement description.");
650  InitMeasurement(ribCirc_M, m, g, d, "G06");
651  //=================================================================================================================
652  m = translate("VTranslateMeasurements", "waist_circ",
653  "Name in a formula. Don't use math symbols and space in name!!!!");
654  g = translate("VTranslateMeasurements", "Waist circumference", "Full measurement name.");
655  d = translate("VTranslateMeasurements",
656  "Circumference around Waist, following natural contours. Waists are typically higher in back.",
657  "Full measurement description.");
658  InitMeasurement(waistCirc_M, m, g, d, "G07");
659  //=================================================================================================================
660  m = translate("VTranslateMeasurements", "highhip_circ",
661  "Name in a formula. Don't use math symbols and space in name!!!!");
662  g = translate("VTranslateMeasurements", "Highhip circumference", "Full measurement name.");
663  d = translate("VTranslateMeasurements",
664  "Circumference around Highhip, where Abdomen protrusion is greatest, parallel to floor.",
665  "Full measurement description.");
666  InitMeasurement(highhipCirc_M, m, g, d, "G08");
667  //=================================================================================================================
668  m = translate("VTranslateMeasurements", "hip_circ",
669  "Name in a formula. Don't use math symbols and space in name!!!!");
670  g = translate("VTranslateMeasurements", "Hip circumference", "Full measurement name.");
671  d = translate("VTranslateMeasurements",
672  "Circumference around Hip where Hip protrusion is greatest, parallel to floor.",
673  "Full measurement description.");
674  InitMeasurement(hipCirc_M, m, g, d, "G09");
675  //=================================================================================================================
676  m = translate("VTranslateMeasurements", "neck_arc_f",
677  "Name in a formula. Don't use math symbols and space in name!!!!");
678  g = translate("VTranslateMeasurements", "Neck arc, front", "Full measurement name.");
679  d = translate("VTranslateMeasurements", "From Neck Side to Neck Side through Neck Front.",
680  "Full measurement description.");
681  InitMeasurement(neckArcF_M, m, g, d, "G10");
682  //=================================================================================================================
683  m = translate("VTranslateMeasurements", "highbust_arc_f",
684  "Name in a formula. Don't use math symbols and space in name!!!!");
685  g = translate("VTranslateMeasurements", "Highbust arc, front", "Full measurement name.");
686  d = translate("VTranslateMeasurements", "From Highbust Side (Armpit) to HIghbust Side (Armpit) across chest.",
687  "Full measurement description.");
688  InitMeasurement(highbustArcF_M, m, g, d, "G11");
689  //=================================================================================================================
690  m = translate("VTranslateMeasurements", "bust_arc_f",
691  "Name in a formula. Don't use math symbols and space in name!!!!");
692  g = translate("VTranslateMeasurements", "Bust arc, front", "Full measurement name.");
693  d = translate("VTranslateMeasurements", "From Bust Side to Bust Side across chest.",
694  "Full measurement description.");
695  InitMeasurement(bustArcF_M, m, g, d, "G12");
696  //=================================================================================================================
697  m = translate("VTranslateMeasurements", "size",
698  "Name in a formula. Don't use math symbols and space in name!!!!");
699  g = translate("VTranslateMeasurements", "Size", "Full measurement name.");
700  d = translate("VTranslateMeasurements", "Same as bust_arc_f.",
701  "Full measurement description.");
702  InitMeasurement(size_M, m, g, d, "G12");
703  //=================================================================================================================
704  m = translate("VTranslateMeasurements", "lowbust_arc_f",
705  "Name in a formula. Don't use math symbols and space in name!!!!");
706  g = translate("VTranslateMeasurements", "Lowbust arc, front", "Full measurement name.");
707  d = translate("VTranslateMeasurements", "From Lowbust Side to Lowbust Side across front.",
708  "Full measurement description.");
709  InitMeasurement(lowbustArcF_M, m, g, d, "G13");
710  //=================================================================================================================
711  m = translate("VTranslateMeasurements", "rib_arc_f",
712  "Name in a formula. Don't use math symbols and space in name!!!!");
713  g = translate("VTranslateMeasurements", "Rib arc, front", "Full measurement name.");
714  d = translate("VTranslateMeasurements", "From Rib Side to Rib Side, across front.",
715  "Full measurement description.");
716  InitMeasurement(ribArcF_M, m, g, d, "G14");
717  //=================================================================================================================
718  m = translate("VTranslateMeasurements", "waist_arc_f",
719  "Name in a formula. Don't use math symbols and space in name!!!!");
720  g = translate("VTranslateMeasurements", "Waist arc, front", "Full measurement name.");
721  d = translate("VTranslateMeasurements", "From Waist Side to Waist Side across front.",
722  "Full measurement description.");
723  InitMeasurement(waistArcF_M, m, g, d, "G15");
724  //=================================================================================================================
725  m = translate("VTranslateMeasurements", "highhip_arc_f",
726  "Name in a formula. Don't use math symbols and space in name!!!!");
727  g = translate("VTranslateMeasurements", "Highhip arc, front", "Full measurement name.");
728  d = translate("VTranslateMeasurements", "From Highhip Side to Highhip Side across front.",
729  "Full measurement description.");
730  InitMeasurement(highhipArcF_M, m, g, d, "G16");
731  //=================================================================================================================
732  m = translate("VTranslateMeasurements", "hip_arc_f",
733  "Name in a formula. Don't use math symbols and space in name!!!!");
734  g = translate("VTranslateMeasurements", "Hip arc, front", "Full measurement name.");
735  d = translate("VTranslateMeasurements", "From Hip Side to Hip Side across Front.",
736  "Full measurement description.");
737  InitMeasurement(hipArcF_M, m, g, d, "G17");
738  //=================================================================================================================
739  m = translate("VTranslateMeasurements", "neck_arc_half_f",
740  "Name in a formula. Don't use math symbols and space in name!!!!");
741  g = translate("VTranslateMeasurements", "Neck arc, front, half", "Full measurement name.");
742  d = translate("VTranslateMeasurements", "Half of 'Neck arc, front'. ('Neck arc, front' / 2).",
743  "Full measurement description.");
744  InitMeasurement(neckArcHalfF_M, m, g, d, "G18", "(neck_arc_f/2)");
745  //=================================================================================================================
746  m = translate("VTranslateMeasurements", "highbust_arc_half_f",
747  "Name in a formula. Don't use math symbols and space in name!!!!");
748  g = translate("VTranslateMeasurements", "Highbust arc, front, half", "Full measurement name.");
749  d = translate("VTranslateMeasurements",
750  "Half of 'Highbust arc, front'. From Highbust Front to Highbust Side. ('Highbust arc, front' / 2).",
751  "Full measurement description.");
752  InitMeasurement(highbustArcHalfF_M, m, g, d, "G19", "(highbust_arc_f/2)");
753  //=================================================================================================================
754  m = translate("VTranslateMeasurements", "bust_arc_half_f",
755  "Name in a formula. Don't use math symbols and space in name!!!!");
756  g = translate("VTranslateMeasurements", "Bust arc, front, half", "Full measurement name.");
757  d = translate("VTranslateMeasurements", "Half of 'Bust arc, front'. ('Bust arc, front'/2).",
758  "Full measurement description.");
759  InitMeasurement(bustArcHalfF_M, m, g, d, "G20", "(bust_arc_f/2)");
760  //=================================================================================================================
761  m = translate("VTranslateMeasurements", "lowbust_arc_half_f",
762  "Name in a formula. Don't use math symbols and space in name!!!!");
763  g = translate("VTranslateMeasurements", "Lowbust arc, front, half", "Full measurement name.");
764  d = translate("VTranslateMeasurements", "Half of 'Lowbust arc, front'. ('Lowbust Arc, front' / 2).",
765  "Full measurement description.");
766  InitMeasurement(lowbustArcHalfF_M, m, g, d, "G21", "(lowbust_arc_f/2)");
767  //=================================================================================================================
768  m = translate("VTranslateMeasurements", "rib_arc_half_f",
769  "Name in a formula. Don't use math symbols and space in name!!!!");
770  g = translate("VTranslateMeasurements", "Rib arc, front, half", "Full measurement name.");
771  d = translate("VTranslateMeasurements", "Half of 'Rib arc, front'. ('Rib Arc, front' / 2).",
772  "Full measurement description.");
773  InitMeasurement(ribArcHalfF_M, m, g, d, "G22", "(rib_arc_f/2)");
774  //=================================================================================================================
775  m = translate("VTranslateMeasurements", "waist_arc_half_f",
776  "Name in a formula. Don't use math symbols and space in name!!!!");
777  g = translate("VTranslateMeasurements", "Waist arc, front, half", "Full measurement name.");
778  d = translate("VTranslateMeasurements", "Half of 'Waist arc, front'. ('Waist arc, front' / 2).",
779  "Full measurement description.");
780  InitMeasurement(waistArcHalfF_M, m, g, d, "G23", "(waist_arc_f/2)");
781  //=================================================================================================================
782  m = translate("VTranslateMeasurements", "highhip_arc_half_f",
783  "Name in a formula. Don't use math symbols and space in name!!!!");
784  g = translate("VTranslateMeasurements", "Highhip arc, front, half", "Full measurement name.");
785  d = translate("VTranslateMeasurements", "Half of 'Highhip arc, front'. ('Highhip arc, front' / 2).",
786  "Full measurement description.");
787  InitMeasurement(highhipArcHalfF_M, m, g, d, "G24", "(highhip_arc_f/2)");
788  //=================================================================================================================
789  m = translate("VTranslateMeasurements", "hip_arc_half_f",
790  "Name in a formula. Don't use math symbols and space in name!!!!");
791  g = translate("VTranslateMeasurements", "Hip arc, front, half", "Full measurement name.");
792  d = translate("VTranslateMeasurements", "Half of 'Hip arc, front'. ('Hip arc, front' / 2).",
793  "Full measurement description.");
794  InitMeasurement(hipArcHalfF_M, m, g, d, "G25", "(hip_arc_f/2)");
795  //=================================================================================================================
796  m = translate("VTranslateMeasurements", "neck_arc_b",
797  "Name in a formula. Don't use math symbols and space in name!!!!");
798  g = translate("VTranslateMeasurements", "Neck arc, back", "Full measurement name.");
799  d = translate("VTranslateMeasurements",
800  "From Neck Side to Neck Side across back. ('Neck circumference' - 'Neck arc, front').",
801  "Full measurement description.");
802  InitMeasurement(neckArcB_M, m, g, d, "G26", "(neck_circ - neck_arc_f)");
803  //=================================================================================================================
804  m = translate("VTranslateMeasurements", "highbust_arc_b",
805  "Name in a formula. Don't use math symbols and space in name!!!!");
806  g = translate("VTranslateMeasurements", "Highbust arc, back", "Full measurement name.");
807  d = translate("VTranslateMeasurements", "From Highbust Side to Highbust Side across back. ('Highbust "
808  "circumference' - 'Highbust arc, front').", "Full measurement description.");
809  InitMeasurement(highbustArcB_M, m, g, d, "G27", "(highbust_circ - highbust_arc_f)");
810  //=================================================================================================================
811  m = translate("VTranslateMeasurements", "bust_arc_b",
812  "Name in a formula. Don't use math symbols and space in name!!!!");
813  g = translate("VTranslateMeasurements", "Bust arc, back", "Full measurement name.");
814  d = translate("VTranslateMeasurements",
815  "From Bust Side to Bust Side across back. ('Bust circumference' - 'Bust arc, front').",
816  "Full measurement description.");
817  InitMeasurement(bustArcB_M, m, g, d, "G28", "(bust_circ - bust_arc_f)");
818  //=================================================================================================================
819  m = translate("VTranslateMeasurements", "lowbust_arc_b",
820  "Name in a formula. Don't use math symbols and space in name!!!!");
821  g = translate("VTranslateMeasurements", "Lowbust arc, back", "Full measurement name.");
822  d = translate("VTranslateMeasurements",
823  "From Lowbust Side to Lowbust Side across back. ('Lowbust circumference' - 'Lowbust arc, front').",
824  "Full measurement description.");
825  InitMeasurement(lowbustArcB_M, m, g, d, "G29", "(lowbust_circ - lowbust_arc_f)");
826  //=================================================================================================================
827  m = translate("VTranslateMeasurements", "rib_arc_b",
828  "Name in a formula. Don't use math symbols and space in name!!!!");
829  g = translate("VTranslateMeasurements", "Rib arc, back", "Full measurement name.");
830  d = translate("VTranslateMeasurements",
831  "From Rib Side to Rib side across back. ('Rib circumference' - 'Rib arc, front').",
832  "Full measurement description.");
833  InitMeasurement(ribArcB_M, m, g, d, "G30", "(rib_circ - rib_arc_f)");
834  //=================================================================================================================
835  m = translate("VTranslateMeasurements", "waist_arc_b",
836  "Name in a formula. Don't use math symbols and space in name!!!!");
837  g = translate("VTranslateMeasurements", "Waist arc, back", "Full measurement name.");
838  d = translate("VTranslateMeasurements",
839  "From Waist Side to Waist Side across back. ('Waist circumference' - 'Waist arc, front').",
840  "Full measurement description.");
841  InitMeasurement(waistArcB_M, m, g, d, "G31", "(waist_circ - waist_arc_f)");
842  //=================================================================================================================
843  m = translate("VTranslateMeasurements", "highhip_arc_b",
844  "Name in a formula. Don't use math symbols and space in name!!!!");
845  g = translate("VTranslateMeasurements", "Highhip arc, back", "Full measurement name.");
846  d = translate("VTranslateMeasurements",
847  "From Highhip Side to Highhip Side across back. ('Highhip circumference' - 'Highhip arc, front').",
848  "Full measurement description.");
849  InitMeasurement(highhipArcB_M, m, g, d, "G32", "(highhip_circ - highhip_arc_f)");
850  //=================================================================================================================
851  m = translate("VTranslateMeasurements", "hip_arc_b",
852  "Name in a formula. Don't use math symbols and space in name!!!!");
853  g = translate("VTranslateMeasurements", "Hip arc, back", "Full measurement name.");
854  d = translate("VTranslateMeasurements",
855  "From Hip Side to Hip Side across back. ('Hip circumference' - 'Hip arc, front').",
856  "Full measurement description.");
857  InitMeasurement(hipArcB_M, m, g, d, "G33", "(hip_circ - hip_arc_f)");
858  //=================================================================================================================
859  m = translate("VTranslateMeasurements", "neck_arc_half_b",
860  "Name in a formula. Don't use math symbols and space in name!!!!");
861  g = translate("VTranslateMeasurements", "Neck arc, back, half", "Full measurement name.");
862  d = translate("VTranslateMeasurements", "Half of 'Neck arc, back'. ('Neck arc, back' / 2).",
863  "Full measurement description.");
864  InitMeasurement(neckArcHalfB_M, m, g, d, "G34", "(neck_arc_b/2)");
865  //=================================================================================================================
866  m = translate("VTranslateMeasurements", "highbust_arc_half_b",
867  "Name in a formula. Don't use math symbols and space in name!!!!");
868  g = translate("VTranslateMeasurements", "Highbust arc, back, half", "Full measurement name.");
869  d = translate("VTranslateMeasurements",
870  "Half of 'Highbust arc, back'. From Highbust Back to Highbust Side. ('Highbust arc, back' / 2).",
871  "Full measurement description.");
872  InitMeasurement(highbustArcHalfB_M, m, g, d, "G35", "(highbust_arc_b/2)");
873  //=================================================================================================================
874  m = translate("VTranslateMeasurements", "bust_arc_half_b",
875  "Name in a formula. Don't use math symbols and space in name!!!!");
876  g = translate("VTranslateMeasurements", "Bust arc, back, half", "Full measurement name.");
877  d = translate("VTranslateMeasurements", "Half of 'Bust arc, back'. ('Bust arc, back' / 2).",
878  "Full measurement description.");
879  InitMeasurement(bustArcHalfB_M, m, g, d, "G36", "(bust_arc_b/2)");
880  //=================================================================================================================
881  m = translate("VTranslateMeasurements", "lowbust_arc_half_b",
882  "Name in a formula. Don't use math symbols and space in name!!!!");
883  g = translate("VTranslateMeasurements", "Lowbust arc, back, half", "Full measurement name.");
884  d = translate("VTranslateMeasurements", "Half of 'Lowbust Arc, back'. ('Lowbust arc, back' / 2).",
885  "Full measurement description.");
886  InitMeasurement(lowbustArcHalfB_M, m, g, d, "G37", "(lowbust_arc_b/2)");
887  //=================================================================================================================
888  m = translate("VTranslateMeasurements", "rib_arc_half_b",
889  "Name in a formula. Don't use math symbols and space in name!!!!");
890  g = translate("VTranslateMeasurements", "Rib arc, back, half", "Full measurement name.");
891  d = translate("VTranslateMeasurements", "Half of 'Rib arc, back'. ('Rib arc, back' / 2).",
892  "Full measurement description.");
893  InitMeasurement(ribArcHalfB_M, m, g, d, "G38", "(rib_arc_b/2)");
894  //=================================================================================================================
895  m = translate("VTranslateMeasurements", "waist_arc_half_b",
896  "Name in a formula. Don't use math symbols and space in name!!!!");
897  g = translate("VTranslateMeasurements", "Waist arc, back, half", "Full measurement name.");
898  d = translate("VTranslateMeasurements", "Half of 'Waist arc, back'. ('Waist arc, back' / 2).",
899  "Full measurement description.");
900  InitMeasurement(waistArcHalfB_M, m, g, d, "G39", "(waist_arc_b/2)");
901  //=================================================================================================================
902  m = translate("VTranslateMeasurements", "highhip_arc_half_b",
903  "Name in a formula. Don't use math symbols and space in name!!!!");
904  g = translate("VTranslateMeasurements", "Highhip arc, back, half", "Full measurement name.");
905  d = translate("VTranslateMeasurements",
906  "Half of 'Highhip arc, back'. From Highhip Back to Highbust Side. ('Highhip arc, back'/ 2).",
907  "Full measurement description.");
908  InitMeasurement(highhipArcHalfB_M, m, g, d, "G40", "(highhip_arc_b/2)");
909  //=================================================================================================================
910  m = translate("VTranslateMeasurements", "hip_arc_half_b",
911  "Name in a formula. Don't use math symbols and space in name!!!!");
912  g = translate("VTranslateMeasurements", "Hip arc, back, half", "Full measurement name.");
913  d = translate("VTranslateMeasurements", "Half of 'Hip arc, back'. ('Hip arc, back' / 2).",
914  "Full measurement description.");
915  InitMeasurement(hipArcHalfB_M, m, g, d, "G41", "(hip_arc_b/2)");
916  //=================================================================================================================
917  m = translate("VTranslateMeasurements", "hip_with_abdomen_arc_f",
918  "Name in a formula. Don't use math symbols and space in name!!!!");
919  g = translate("VTranslateMeasurements", "Hip arc with Abdomen, front", "Full measurement name.");
920  d = translate("VTranslateMeasurements",
921  "Curve stiff paper around front of abdomen, tape at sides. Measure from Hip Side to Hip Side over "
922  "paper across front.", "Full measurement description.");
923  InitMeasurement(hipWithAbdomenArcF_M, m, g, d, "G42");
924  //=================================================================================================================
925  m = translate("VTranslateMeasurements", "body_armfold_circ",
926  "Name in a formula. Don't use math symbols and space in name!!!!");
927  g = translate("VTranslateMeasurements", "Body circumference at Armfold level", "Full measurement name.");
928  d = translate("VTranslateMeasurements", "Measure around arms and torso at Armfold level.",
929  "Full measurement description.");
930  InitMeasurement(bodyArmfoldCirc_M, m, g, d, "G43");
931  //=================================================================================================================
932  m = translate("VTranslateMeasurements", "body_bust_circ",
933  "Name in a formula. Don't use math symbols and space in name!!!!");
934  g = translate("VTranslateMeasurements", "Body circumference at Bust level", "Full measurement name.");
935  d = translate("VTranslateMeasurements", "Measure around arms and torso at Bust level.",
936  "Full measurement description.");
937  InitMeasurement(bodyBustCirc_M, m, g, d, "G44");
938  //=================================================================================================================
939  m = translate("VTranslateMeasurements", "body_torso_circ",
940  "Name in a formula. Don't use math symbols and space in name!!!!");
941  g = translate("VTranslateMeasurements", "Body circumference of full torso", "Full measurement name.");
942  d = translate("VTranslateMeasurements",
943  "Circumference around torso from mid-shoulder around crotch back up to mid-shoulder.",
944  "Full measurement description.");
945  InitMeasurement(bodyTorsoCirc_M, m, g, d, "G45");
946  //=================================================================================================================
947  m = translate("VTranslateMeasurements", "hip_circ_with_abdomen",
948  "Name in a formula. Don't use math symbols and space in name!!!!");
949  g = translate("VTranslateMeasurements", "Hip circumference, including Abdomen", "Full measurement name.");
950  d = translate("VTranslateMeasurements",
951  "Measurement at Hip level, including the depth of the Abdomen. (Hip arc, back + Hip arc with "
952  "abdomen, front).", "Full measurement description.");
953  InitMeasurement(hipCircWithAbdomen_M, m, g, d, "G46", "(hip_arc_b + hip_with_abdomen_arc_f)");
954  //=================================================================================================================
955 }
956 
957 //---------------------------------------------------------------------------------------------------------------------
959 {
960  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
961  //mark such string to translation.
965 
966  //=================================================================================================================
967  m = translate("VTranslateMeasurements", "neck_front_to_waist_f",
968  "Name in a formula. Don't use math symbols and space in name!!!!");
969  g = translate("VTranslateMeasurements", "Neck Front to Waist Front", "Full measurement name.");
970  d = translate("VTranslateMeasurements", "From Neck Front, over tape between Breastpoints, down to Waist Front.",
971  "Full measurement description.");
972  InitMeasurement(neckFrontToWaistF_M, m, g, d, "H01");
973  //=================================================================================================================
974  m = translate("VTranslateMeasurements", "neck_front_to_waist_flat_f",
975  "Name in a formula. Don't use math symbols and space in name!!!!");
976  g = translate("VTranslateMeasurements", "Neck Front to Waist Front flat", "Full measurement name.");
977  d = translate("VTranslateMeasurements", "From Neck Front down between breasts to Waist Front.",
978  "Full measurement description.");
979  InitMeasurement(neckFrontToWaistFlatF_M, m, g, d, "H02");
980  //=================================================================================================================
981  m = translate("VTranslateMeasurements", "armpit_to_waist_side",
982  "Name in a formula. Don't use math symbols and space in name!!!!");
983  g = translate("VTranslateMeasurements", "Armpit to Waist Side", "Full measurement name.");
984  d = translate("VTranslateMeasurements", "From Armpit down to Waist Side.", "Full measurement description.");
985  InitMeasurement(armpitToWaistSide_M, m, g, d, "H03");
986  //=================================================================================================================
987  m = translate("VTranslateMeasurements", "shoulder_tip_to_waist_side_f",
988  "Name in a formula. Don't use math symbols and space in name!!!!");
989  g = translate("VTranslateMeasurements", "Shoulder Tip to Waist Side, front", "Full measurement name.");
990  d = translate("VTranslateMeasurements", "From Shoulder Tip, curving around Armscye Front, then down to Waist Side.",
991  "Full measurement description.");
993  //=================================================================================================================
994  m = translate("VTranslateMeasurements", "neck_side_to_waist_f",
995  "Name in a formula. Don't use math symbols and space in name!!!!");
996  g = translate("VTranslateMeasurements", "Neck Side to Waist level, front", "Full measurement name.");
997  d = translate("VTranslateMeasurements", "From Neck Side straight down front to Waist level.",
998  "Full measurement description.");
999  InitMeasurement(neckSideToWaistF_M, m, g, d, "H05");
1000  //=================================================================================================================
1001  m = translate("VTranslateMeasurements", "neck_side_to_waist_bustpoint_f",
1002  "Name in a formula. Don't use math symbols and space in name!!!!");
1003  g = translate("VTranslateMeasurements", "Neck Side to Waist level, through Bustpoint", "Full measurement name.");
1004  d = translate("VTranslateMeasurements", "From Neck Side over Bustpoint to Waist level, forming a straight line.",
1005  "Full measurement description.");
1007  //=================================================================================================================
1008  m = translate("VTranslateMeasurements", "neck_front_to_highbust_f",
1009  "Name in a formula. Don't use math symbols and space in name!!!!");
1010  g = translate("VTranslateMeasurements", "Neck Front to Highbust Front", "Full measurement name.");
1011  d = translate("VTranslateMeasurements", "Neck Front down to Highbust Front.", "Full measurement description.");
1012  InitMeasurement(neckFrontToHighbustF_M, m, g, d, "H07");
1013  //=================================================================================================================
1014  m = translate("VTranslateMeasurements", "highbust_to_waist_f",
1015  "Name in a formula. Don't use math symbols and space in name!!!!");
1016  g = translate("VTranslateMeasurements", "Highbust Front to Waist Front", "Full measurement name.");
1017  d = translate("VTranslateMeasurements",
1018  "From Highbust Front to Waist Front. Use tape to bridge gap between Bustpoints. ('Neck Front to "
1019  "Waist Front' - 'Neck Front to Highbust Front').", "Full measurement description.");
1020  InitMeasurement(highbustToWaistF_M, m, g, d, "H08", "(neck_front_to_waist_f - neck_front_to_highbust_f)");
1021  //=================================================================================================================
1022  m = translate("VTranslateMeasurements", "neck_front_to_bust_f",
1023  "Name in a formula. Don't use math symbols and space in name!!!!");
1024  g = translate("VTranslateMeasurements", "Neck Front to Bust Front", "Full measurement name.");
1025  d = translate("VTranslateMeasurements",
1026  "From Neck Front down to Bust Front. Requires tape to cover gap between Bustpoints.",
1027  "Full measurement description.");
1028  InitMeasurement(neckFrontToBustF_M, m, g, d, "H09");
1029  //=================================================================================================================
1030  m = translate("VTranslateMeasurements", "bust_to_waist_f",
1031  "Name in a formula. Don't use math symbols and space in name!!!!");
1032  g = translate("VTranslateMeasurements", "Bust Front to Waist Front", "Full measurement name.");
1033  d = translate("VTranslateMeasurements",
1034  "From Bust Front down to Waist level. ('Neck Front to Waist Front' - 'Neck Front to Bust Front').",
1035  "Full measurement description.");
1036  InitMeasurement(bustToWaistF_M, m, g, d, "H10", "(neck_front_to_waist_f - neck_front_to_bust_f)");
1037  //=================================================================================================================
1038  m = translate("VTranslateMeasurements", "lowbust_to_waist_f",
1039  "Name in a formula. Don't use math symbols and space in name!!!!");
1040  g = translate("VTranslateMeasurements", "Lowbust Front to Waist Front", "Full measurement name.");
1041  d = translate("VTranslateMeasurements", "From Lowbust Front down to Waist Front.", "Full measurement description.");
1042  InitMeasurement(lowbustToWaistF_M, m, g, d, "H11");
1043  //=================================================================================================================
1044  m = translate("VTranslateMeasurements", "rib_to_waist_side",
1045  "Name in a formula. Don't use math symbols and space in name!!!!");
1046  g = translate("VTranslateMeasurements", "Rib Side to Waist Side", "Full measurement name.");
1047  d = translate("VTranslateMeasurements", "From lowest rib at side down to Waist Side.",
1048  "Full measurement description.");
1049  InitMeasurement(ribToWaistSide_M, m, g, d, "H12");
1050  //=================================================================================================================
1051  m = translate("VTranslateMeasurements", "shoulder_tip_to_armfold_f",
1052  "Name in a formula. Don't use math symbols and space in name!!!!");
1053  g = translate("VTranslateMeasurements", "Shoulder Tip to Armfold Front", "Full measurement name.");
1054  d = translate("VTranslateMeasurements", "From Shoulder Tip around Armscye down to Armfold Front.",
1055  "Full measurement description.");
1056  InitMeasurement(shoulderTipToArmfoldF_M, m, g, d, "H13");
1057  //=================================================================================================================
1058  m = translate("VTranslateMeasurements", "neck_side_to_bust_f",
1059  "Name in a formula. Don't use math symbols and space in name!!!!");
1060  g = translate("VTranslateMeasurements", "Neck Side to Bust level, front", "Full measurement name.");
1061  d = translate("VTranslateMeasurements", "From Neck Side straight down front to Bust level.",
1062  "Full measurement description.");
1063  InitMeasurement(neckSideToBustF_M, m, g, d, "H14");
1064  //=================================================================================================================
1065  m = translate("VTranslateMeasurements", "neck_side_to_highbust_f",
1066  "Name in a formula. Don't use math symbols and space in name!!!!");
1067  g = translate("VTranslateMeasurements", "Neck Side to Highbust level, front", "Full measurement name.");
1068  d = translate("VTranslateMeasurements", "From Neck Side straight down front to Highbust level.",
1069  "Full measurement description.");
1070  InitMeasurement(neckSideToHighbustF_M, m, g, d, "H15");
1071  //=================================================================================================================
1072  m = translate("VTranslateMeasurements", "shoulder_center_to_highbust_f",
1073  "Name in a formula. Don't use math symbols and space in name!!!!");
1074  g = translate("VTranslateMeasurements", "Shoulder center to Highbust level, front", "Full measurement name.");
1075  d = translate("VTranslateMeasurements", "From mid-Shoulder down front to Highbust level, aimed at Bustpoint.",
1076  "Full measurement description.");
1078  //=================================================================================================================
1079  m = translate("VTranslateMeasurements", "shoulder_tip_to_waist_side_b",
1080  "Name in a formula. Don't use math symbols and space in name!!!!");
1081  g = translate("VTranslateMeasurements", "Shoulder Tip to Waist Side, back", "Full measurement name.");
1082  d = translate("VTranslateMeasurements", "From Shoulder Tip, curving around Armscye Back, then down to Waist Side.",
1083  "Full measurement description.");
1084  InitMeasurement(shoulderTipToWaistSideB_M, m, g, d, "H17");
1085  //=================================================================================================================
1086  m = translate("VTranslateMeasurements", "neck_side_to_waist_b",
1087  "Name in a formula. Don't use math symbols and space in name!!!!");
1088  g = translate("VTranslateMeasurements", "Neck Side to Waist level, back", "Full measurement name.");
1089  d = translate("VTranslateMeasurements", "From Neck Side straight down back to Waist level.",
1090  "Full measurement description.");
1091  InitMeasurement(neckSideToWaistB_M, m, g, d, "H18");
1092  //=================================================================================================================
1093  m = translate("VTranslateMeasurements", "neck_back_to_waist_b",
1094  "Name in a formula. Don't use math symbols and space in name!!!!");
1095  g = translate("VTranslateMeasurements", "Neck Back to Waist Back", "Full measurement name.");
1096  d = translate("VTranslateMeasurements", "From Neck Back down to Waist Back.", "Full measurement description.");
1097  InitMeasurement(neckBackToWaistB_M, m, g, d, "H19");
1098  //=================================================================================================================
1099  m = translate("VTranslateMeasurements", "neck_side_to_waist_scapula_b",
1100  "Name in a formula. Don't use math symbols and space in name!!!!");
1101  g = translate("VTranslateMeasurements", "Neck Side to Waist level, through Scapula", "Full measurement name.");
1102  d = translate("VTranslateMeasurements",
1103  "From Neck Side across Scapula down to Waist level, forming a straight line.",
1104  "Full measurement description.");
1105  InitMeasurement(neckSideToWaistScapulaB_M, m, g, d, "H20");
1106  //=================================================================================================================
1107  m = translate("VTranslateMeasurements", "neck_back_to_highbust_b",
1108  "Name in a formula. Don't use math symbols and space in name!!!!");
1109  g = translate("VTranslateMeasurements", "Neck Back to Highbust Back", "Full measurement name.");
1110  d = translate("VTranslateMeasurements", "From Neck Back down to Highbust Back.", "Full measurement description.");
1111  InitMeasurement(neckBackToHighbustB_M, m, g, d, "H21");
1112  //=================================================================================================================
1113  m = translate("VTranslateMeasurements", "highbust_to_waist_b",
1114  "Name in a formula. Don't use math symbols and space in name!!!!");
1115  g = translate("VTranslateMeasurements", "Highbust Back to Waist Back", "Full measurement name.");
1116  d = translate("VTranslateMeasurements",
1117  "From Highbust Back down to Waist Back. ('Neck Back to Waist Back' - 'Neck Back to Highbust Back').",
1118  "Full measurement description.");
1119  InitMeasurement(highbustToWaistB_M, m, g, d, "H22", "(neck_back_to_waist_b - neck_back_to_highbust_b)");
1120  //=================================================================================================================
1121  m = translate("VTranslateMeasurements", "neck_back_to_bust_b",
1122  "Name in a formula. Don't use math symbols and space in name!!!!");
1123  g = translate("VTranslateMeasurements", "Neck Back to Bust Back", "Full measurement name.");
1124  d = translate("VTranslateMeasurements", "From Neck Back down to Bust Back.", "Full measurement description.");
1125  InitMeasurement(neckBackToBustB_M, m, g, d, "H23");
1126  //=================================================================================================================
1127  m = translate("VTranslateMeasurements", "bust_to_waist_b",
1128  "Name in a formula. Don't use math symbols and space in name!!!!");
1129  g = translate("VTranslateMeasurements", "Bust Back to Waist Back", "Full measurement name.");
1130  d = translate("VTranslateMeasurements",
1131  "From Bust Back down to Waist level. ('Neck Back to Waist Back' - 'Neck Back to Bust Back').",
1132  "Full measurement description.");
1133  InitMeasurement(bustToWaistB_M, m, g, d, "H24", "(neck_back_to_waist_b - neck_back_to_bust_b)");
1134  //=================================================================================================================
1135  m = translate("VTranslateMeasurements", "lowbust_to_waist_b",
1136  "Name in a formula. Don't use math symbols and space in name!!!!");
1137  g = translate("VTranslateMeasurements", "Lowbust Back to Waist Back", "Full measurement name.");
1138  d = translate("VTranslateMeasurements", "From Lowbust Back down to Waist Back.", "Full measurement description.");
1139  InitMeasurement(lowbustToWaistB_M, m, g, d, "H25");
1140  //=================================================================================================================
1141  m = translate("VTranslateMeasurements", "shoulder_tip_to_armfold_b",
1142  "Name in a formula. Don't use math symbols and space in name!!!!");
1143  g = translate("VTranslateMeasurements", "Shoulder Tip to Armfold Back", "Full measurement name.");
1144  d = translate("VTranslateMeasurements", "From Shoulder Tip around Armscye down to Armfold Back.",
1145  "Full measurement description.");
1146  InitMeasurement(shoulderTipToArmfoldB_M, m, g, d, "H26");
1147  //=================================================================================================================
1148  m = translate("VTranslateMeasurements", "neck_side_to_bust_b",
1149  "Name in a formula. Don't use math symbols and space in name!!!!");
1150  g = translate("VTranslateMeasurements", "Neck Side to Bust level, back", "Full measurement name.");
1151  d = translate("VTranslateMeasurements", "From Neck Side straight down back to Bust level.",
1152  "Full measurement description.");
1153  InitMeasurement(neckSideToBustB_M, m, g, d, "H27");
1154  //=================================================================================================================
1155  m = translate("VTranslateMeasurements", "neck_side_to_highbust_b",
1156  "Name in a formula. Don't use math symbols and space in name!!!!");
1157  g = translate("VTranslateMeasurements", "Neck Side to Highbust level, back", "Full measurement name.");
1158  d = translate("VTranslateMeasurements", "From Neck Side straight down back to Highbust level.",
1159  "Full measurement description.");
1160  InitMeasurement(neckSideToHighbustB_M, m, g, d, "H28");
1161  //=================================================================================================================
1162  m = translate("VTranslateMeasurements", "shoulder_center_to_highbust_b",
1163  "Name in a formula. Don't use math symbols and space in name!!!!");
1164  g = translate("VTranslateMeasurements", "Shoulder center to Highbust level, back", "Full measurement name.");
1165  d = translate("VTranslateMeasurements", "From mid-Shoulder down back to Highbust level, aimed through Scapula.",
1166  "Full measurement description.");
1168  //=================================================================================================================
1169  m = translate("VTranslateMeasurements", "waist_to_highhip_f",
1170  "Name in a formula. Don't use math symbols and space in name!!!!");
1171  g = translate("VTranslateMeasurements", "Waist Front to Highhip Front", "Full measurement name.");
1172  d = translate("VTranslateMeasurements", "From Waist Front to Highhip Front.", "Full measurement description.");
1173  InitMeasurement(waistToHighhipF_M, m, g, d, "H30");
1174  //=================================================================================================================
1175  m = translate("VTranslateMeasurements", "waist_to_hip_f",
1176  "Name in a formula. Don't use math symbols and space in name!!!!");
1177  g = translate("VTranslateMeasurements", "Waist Front to Hip Front", "Full measurement name.");
1178  d = translate("VTranslateMeasurements", "From Waist Front to Hip Front.", "Full measurement description.");
1179  InitMeasurement(waistToHipF_M, m, g, d, "H31");
1180  //=================================================================================================================
1181  m = translate("VTranslateMeasurements", "waist_to_highhip_side",
1182  "Name in a formula. Don't use math symbols and space in name!!!!");
1183  g = translate("VTranslateMeasurements", "Waist Side to Highhip Side", "Full measurement name.");
1184  d = translate("VTranslateMeasurements", "From Waist Side to Highhip Side.", "Full measurement description.");
1185  InitMeasurement(waistToHighhipSide_M, m, g, d, "H32");
1186  //=================================================================================================================
1187  m = translate("VTranslateMeasurements", "waist_to_highhip_b",
1188  "Name in a formula. Don't use math symbols and space in name!!!!");
1189  g = translate("VTranslateMeasurements", "Waist Back to Highhip Back", "Full measurement name.");
1190  d = translate("VTranslateMeasurements", "From Waist Back down to Highhip Back.", "Full measurement description.");
1191  InitMeasurement(waistToHighhipB_M, m, g, d, "H33");
1192  //=================================================================================================================
1193  m = translate("VTranslateMeasurements", "waist_to_hip_b",
1194  "Name in a formula. Don't use math symbols and space in name!!!!");
1195  g = translate("VTranslateMeasurements", "Waist Back to Hip Back", "Full measurement name.");
1196  d = translate("VTranslateMeasurements",
1197  "From Waist Back down to Hip Back. Requires tape to cover the gap between buttocks.",
1198  "Full measurement description.");
1199  InitMeasurement(waistToHipB_M, m, g, d, "H34");
1200  //=================================================================================================================
1201  m = translate("VTranslateMeasurements", "waist_to_hip_side",
1202  "Name in a formula. Don't use math symbols and space in name!!!!");
1203  g = translate("VTranslateMeasurements", "Waist Side to Hip Side", "Full measurement name.");
1204  d = translate("VTranslateMeasurements", "From Waist Side to Hip Side.", "Full measurement description.");
1205  InitMeasurement(waistToHipSide_M, m, g, d, "H35");
1206  //=================================================================================================================
1207  m = translate("VTranslateMeasurements", "shoulder_slope_neck_side_angle",
1208  "Name in a formula. Don't use math symbols and space in name!!!!");
1209  g = translate("VTranslateMeasurements", "Shoulder Slope Angle from Neck Side", "Full measurement name.");
1210  d = translate("VTranslateMeasurements",
1211  "Angle formed by line from Neck Side to Shoulder Tip and line from Neck Side parallel to floor.",
1212  "Full measurement description.");
1214  //=================================================================================================================
1215  m = translate("VTranslateMeasurements", "shoulder_slope_neck_side_length",
1216  "Name in a formula. Don't use math symbols and space in name!!!!");
1217  g = translate("VTranslateMeasurements", "Shoulder Slope length from Neck Side", "Full measurement name.");
1218  d = translate("VTranslateMeasurements", "Vertical distance between Neck Side and Shoulder Tip.",
1219  "Full measurement description.");
1221  //=================================================================================================================
1222  m = translate("VTranslateMeasurements", "shoulder_slope_neck_back_angle",
1223  "Name in a formula. Don't use math symbols and space in name!!!!");
1224  g = translate("VTranslateMeasurements", "Shoulder Slope Angle from Neck Back", "Full measurement name.");
1225  d = translate("VTranslateMeasurements",
1226  "Angle formed by line from Neck Back to Shoulder Tip and line from Neck Back parallel to floor.",
1227  "Full measurement description.");
1229  //=================================================================================================================
1230  m = translate("VTranslateMeasurements", "shoulder_slope_neck_back_height",
1231  "Name in a formula. Don't use math symbols and space in name!!!!");
1232  g = translate("VTranslateMeasurements", "Shoulder Slope length from Neck Back", "Full measurement name.");
1233  d = translate("VTranslateMeasurements", "Vertical distance between Neck Back and Shoulder Tip.",
1234  "Full measurement description.");
1236  //=================================================================================================================
1237  m = translate("VTranslateMeasurements", "shoulder_slope_shoulder_tip_angle",
1238  "Name in a formula. Don't use math symbols and space in name!!!!");
1239  g = translate("VTranslateMeasurements", "Shoulder Slope Angle from Shoulder Tip",
1240  "Full measurement name.");
1241  d = translate("VTranslateMeasurements",
1242  "Angle formed by line from Neck Side to Shoulder Tip and vertical line at Shoulder Tip.",
1243  "Full measurement description.");
1245  //=================================================================================================================
1246  m = translate("VTranslateMeasurements", "neck_back_to_across_back",
1247  "Name in a formula. Don't use math symbols and space in name!!!!");
1248  g = translate("VTranslateMeasurements", "Neck Back to Across Back", "Full measurement name.");
1249  d = translate("VTranslateMeasurements", "From neck back, down to level of Across Back measurement.",
1250  "Full measurement description.");
1251  InitMeasurement(neckBackToAcrossBack_M, m, g, d, "H41");
1252  //=================================================================================================================
1253  m = translate("VTranslateMeasurements", "across_back_to_waist_b",
1254  "Name in a formula. Don't use math symbols and space in name!!!!");
1255  g = translate("VTranslateMeasurements", "Across Back to Waist back", "Full measurement name.");
1256  d = translate("VTranslateMeasurements", "From middle of Across Back down to Waist back.",
1257  "Full measurement description.");
1258  InitMeasurement(acrossBackToWaistB_M, m, g, d, "H42", "(neck_back_to_waist_b - neck_back_to_across_back)");
1259  //=================================================================================================================
1260 }
1261 
1262 //---------------------------------------------------------------------------------------------------------------------
1264 {
1265  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
1266  //mark such string to translation.
1270 
1271  //=================================================================================================================
1272  m = translate("VTranslateMeasurements", "shoulder_length",
1273  "Name in a formula. Don't use math symbols and space in name!!!!");
1274  g = translate("VTranslateMeasurements", "Shoulder length", "Full measurement name.");
1275  d = translate("VTranslateMeasurements", "From Neck Side to Shoulder Tip.", "Full measurement description.");
1276  InitMeasurement(shoulderLength_M, m, g, d, "I01");
1277  //=================================================================================================================
1278  m = translate("VTranslateMeasurements", "shoulder_tip_to_shoulder_tip_f",
1279  "Name in a formula. Don't use math symbols and space in name!!!!");
1280  g = translate("VTranslateMeasurements", "Shoulder Tip to Shoulder Tip, front", "Full measurement name.");
1281  d = translate("VTranslateMeasurements", "From Shoulder Tip to Shoulder Tip, across front.",
1282  "Full measurement description.");
1284  //=================================================================================================================
1285  m = translate("VTranslateMeasurements", "across_chest_f",
1286  "Name in a formula. Don't use math symbols and space in name!!!!");
1287  g = translate("VTranslateMeasurements", "Across Chest", "Full measurement name.");
1288  d = translate("VTranslateMeasurements", "From Armscye to Armscye at narrowest width across chest.",
1289  "Full measurement description.");
1290  InitMeasurement(acrossChestF_M, m, g, d, "I03");
1291  //=================================================================================================================
1292  m = translate("VTranslateMeasurements", "armfold_to_armfold_f",
1293  "Name in a formula. Don't use math symbols and space in name!!!!");
1294  g = translate("VTranslateMeasurements", "Armfold to Armfold, front", "Full measurement name.");
1295  d = translate("VTranslateMeasurements",
1296  "From Armfold to Armfold, shortest distance between Armfolds, not parallel to floor.",
1297  "Full measurement description.");
1298  InitMeasurement(armfoldToArmfoldF_M, m, g, d, "I04");
1299  //=================================================================================================================
1300  m = translate("VTranslateMeasurements", "shoulder_tip_to_shoulder_tip_half_f",
1301  "Name in a formula. Don't use math symbols and space in name!!!!");
1302  g = translate("VTranslateMeasurements", "Shoulder Tip to Shoulder Tip, front, half", "Full measurement name.");
1303  d = translate("VTranslateMeasurements",
1304  "Half of' Shoulder Tip to Shoulder tip, front'. ('Shoulder Tip to Shoulder Tip, front' / 2).",
1305  "Full measurement description.");
1306  InitMeasurement(shoulderTipToShoulderTipHalfF_M, m, g, d, "I05", "(shoulder_tip_to_shoulder_tip_f/2)");
1307  //=================================================================================================================
1308  m = translate("VTranslateMeasurements", "across_chest_half_f",
1309  "Name in a formula. Don't use math symbols and space in name!!!!");
1310  g = translate("VTranslateMeasurements", "Across Chest, half", "Full measurement name.");
1311  d = translate("VTranslateMeasurements", "Half of 'Across Chest'. ('Across Chest' / 2).",
1312  "Full measurement description.");
1313  InitMeasurement(acrossChestHalfF_M, m, g, d, "I06", "(across_chest_f/2)");
1314  //=================================================================================================================
1315  m = translate("VTranslateMeasurements", "shoulder_tip_to_shoulder_tip_b",
1316  "Name in a formula. Don't use math symbols and space in name!!!!");
1317  g = translate("VTranslateMeasurements", "Shoulder Tip to Shoulder Tip, back", "Full measurement name.");
1318  d = translate("VTranslateMeasurements", "From Shoulder Tip to Shoulder Tip, across the back.",
1319  "Full measurement description.");
1321  //=================================================================================================================
1322  m = translate("VTranslateMeasurements", "across_back_b",
1323  "Name in a formula. Don't use math symbols and space in name!!!!");
1324  g = translate("VTranslateMeasurements", "Across Back", "Full measurement name.");
1325  d = translate("VTranslateMeasurements", "From Armscye to Armscye at the narrowest width of the back.",
1326  "Full measurement description.");
1327  InitMeasurement(acrossBackB_M, m, g, d, "I08");
1328  //=================================================================================================================
1329  m = translate("VTranslateMeasurements", "armfold_to_armfold_b",
1330  "Name in a formula. Don't use math symbols and space in name!!!!");
1331  g = translate("VTranslateMeasurements", "Armfold to Armfold, back", "Full measurement name.");
1332  d = translate("VTranslateMeasurements", "From Armfold to Armfold across the back.",
1333  "Full measurement description.");
1334  InitMeasurement(armfoldToArmfoldB_M, m, g, d, "I09");
1335  //=================================================================================================================
1336  m = translate("VTranslateMeasurements", "shoulder_tip_to_shoulder_tip_half_b",
1337  "Name in a formula. Don't use math symbols and space in name!!!!");
1338  g = translate("VTranslateMeasurements", "Shoulder Tip to Shoulder Tip, back, half", "Full measurement name.");
1339  d = translate("VTranslateMeasurements",
1340  "Half of 'Shoulder Tip to Shoulder Tip, back'. ('Shoulder Tip to Shoulder Tip, back' / 2).",
1341  "Full measurement description.");
1342  InitMeasurement(shoulderTipToShoulderTipHalfB_M, m, g, d, "I10", "(shoulder_tip_to_shoulder_tip_b/2)");
1343  //=================================================================================================================
1344  m = translate("VTranslateMeasurements", "across_back_half_b",
1345  "Name in a formula. Don't use math symbols and space in name!!!!");
1346  g = translate("VTranslateMeasurements", "Across Back, half", "Full measurement name.");
1347  d = translate("VTranslateMeasurements", "Half of 'Across Back'. ('Across Back' / 2).",
1348  "Full measurement description.");
1349  InitMeasurement(acrossBackHalfB_M, m, g, d, "I11", "(across_back_b/2)");
1350  //=================================================================================================================
1351  m = translate("VTranslateMeasurements", "neck_front_to_shoulder_tip_f",
1352  "Name in a formula. Don't use math symbols and space in name!!!!");
1353  g = translate("VTranslateMeasurements", "Neck Front to Shoulder Tip", "Full measurement name.");
1354  d = translate("VTranslateMeasurements", "From Neck Front to Shoulder Tip.", "Full measurement description.");
1355  InitMeasurement(neckFrontToShoulderTipF_M, m, g, d, "I12");
1356  //=================================================================================================================
1357  m = translate("VTranslateMeasurements", "neck_back_to_shoulder_tip_b",
1358  "Name in a formula. Don't use math symbols and space in name!!!!");
1359  g = translate("VTranslateMeasurements", "Neck Back to Shoulder Tip", "Full measurement name.");
1360  d = translate("VTranslateMeasurements", "From Neck Back to Shoulder Tip.", "Full measurement description.");
1361  InitMeasurement(neckBackToShoulderTipB_M, m, g, d, "I13");
1362  //=================================================================================================================
1363  m = translate("VTranslateMeasurements", "neck_width",
1364  "Name in a formula. Don't use math symbols and space in name!!!!");
1365  g = translate("VTranslateMeasurements", "Neck Width", "Full measurement name.");
1366  d = translate("VTranslateMeasurements",
1367  "Measure between the 'legs' of an unclosed necklace or chain draped around the neck.",
1368  "Full measurement description.");
1369  InitMeasurement(neckWidth_M, m, g, d, "I14");
1370  //=================================================================================================================
1371 }
1372 
1373 //---------------------------------------------------------------------------------------------------------------------
1375 {
1376  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
1377  //mark such string to translation.
1381 
1382  //=================================================================================================================
1383  m = translate("VTranslateMeasurements", "bustpoint_to_bustpoint",
1384  "Name in a formula. Don't use math symbols and space in name!!!!");
1385  g = translate("VTranslateMeasurements", "Bustpoint to Bustpoint", "Full measurement name.");
1386  d = translate("VTranslateMeasurements", "From Bustpoint to Bustpoint.", "Full measurement description.");
1387  InitMeasurement(bustpointToBustpoint_M, m, g, d, "J01");
1388  //=================================================================================================================
1389  m = translate("VTranslateMeasurements", "bustpoint_to_neck_side",
1390  "Name in a formula. Don't use math symbols and space in name!!!!");
1391  g = translate("VTranslateMeasurements", "Bustpoint to Neck Side", "Full measurement name.");
1392  d = translate("VTranslateMeasurements", "From Neck Side to Bustpoint.", "Full measurement description.");
1393  InitMeasurement(bustpointToNeckSide_M, m, g, d, "J02");
1394  //=================================================================================================================
1395  m = translate("VTranslateMeasurements", "bustpoint_to_lowbust",
1396  "Name in a formula. Don't use math symbols and space in name!!!!");
1397  g = translate("VTranslateMeasurements", "Bustpoint to Lowbust", "Full measurement name.");
1398  d = translate("VTranslateMeasurements", "From Bustpoint down to Lowbust level, following curve of bust or chest.",
1399  "Full measurement description.");
1400  InitMeasurement(bustpointToLowbust_M, m, g, d, "J03");
1401  //=================================================================================================================
1402  m = translate("VTranslateMeasurements", "bustpoint_to_waist",
1403  "Name in a formula. Don't use math symbols and space in name!!!!");
1404  g = translate("VTranslateMeasurements", "Bustpoint to Waist level", "Full measurement name.");
1405  d = translate("VTranslateMeasurements",
1406  "From Bustpoint to straight down to Waist level, forming a straight line (not curving along the "
1407  "body).", "Full measurement description.");
1408  InitMeasurement(bustpointToWaist_M, m, g, d, "J04");
1409  //=================================================================================================================
1410  m = translate("VTranslateMeasurements", "bustpoint_to_bustpoint_half",
1411  "Name in a formula. Don't use math symbols and space in name!!!!");
1412  g = translate("VTranslateMeasurements", "Bustpoint to Bustpoint, half", "Full measurement name.");
1413  d = translate("VTranslateMeasurements", "Half of 'Bustpoint to Bustpoint'. ('Bustpoint to Bustpoint' / 2).",
1414  "Full measurement description.");
1415  InitMeasurement(bustpointToBustpointHalf_M, m, g, d, "J05", "(bustpoint_to_bustpoint/2)");
1416  //=================================================================================================================
1417  m = translate("VTranslateMeasurements", "bustpoint_neck_side_to_waist",
1418  "Name in a formula. Don't use math symbols and space in name!!!!");
1419  g = translate("VTranslateMeasurements", "Bustpoint, Neck Side to Waist level", "Full measurement name.");
1420  d = translate("VTranslateMeasurements",
1421  "From Neck Side to Bustpoint, then straight down to Waist level. ('Neck Side to Bustpoint' + "
1422  "'Bustpoint to Waist level').", "Full measurement description.");
1423  InitMeasurement(bustpointNeckSideToWaist_M, m, g, d, "J06", "(bustpoint_to_neck_side + bustpoint_to_waist)");
1424  //=================================================================================================================
1425  m = translate("VTranslateMeasurements", "bustpoint_to_shoulder_tip",
1426  "Name in a formula. Don't use math symbols and space in name!!!!");
1427  g = translate("VTranslateMeasurements", "Bustpoint to Shoulder Tip", "Full measurement name.");
1428  d = translate("VTranslateMeasurements", "From Bustpoint to Shoulder tip.", "Full measurement description.");
1429  InitMeasurement(bustpointToShoulderTip_M, m, g, d, "J07");
1430  //=================================================================================================================
1431  m = translate("VTranslateMeasurements", "bustpoint_to_waist_front",
1432  "Name in a formula. Don't use math symbols and space in name!!!!");
1433  g = translate("VTranslateMeasurements", "Bustpoint to Waist Front", "Full measurement name.");
1434  d = translate("VTranslateMeasurements",
1435  "From Bustpoint to Waist Front, in a straight line, not following the curves of the body.",
1436  "Full measurement description.");
1437  InitMeasurement(bustpointToWaistFront_M, m, g, d, "J08");
1438  //=================================================================================================================
1439  m = translate("VTranslateMeasurements", "bustpoint_to_bustpoint_halter",
1440  "Name in a formula. Don't use math symbols and space in name!!!!");
1441  g = translate("VTranslateMeasurements", "Bustpoint to Bustpoint Halter", "Full measurement name.");
1442  d = translate("VTranslateMeasurements", "From Bustpoint around Neck Back down to other Bustpoint.",
1443  "Full measurement description.");
1445  //=================================================================================================================
1446  m = translate("VTranslateMeasurements", "bustpoint_to_shoulder_center",
1447  "Name in a formula. Don't use math symbols and space in name!!!!");
1448  g = translate("VTranslateMeasurements", "Bustpoint to Shoulder Center", "Full measurement name.");
1449  d = translate("VTranslateMeasurements", "From center of Shoulder to Bustpoint.", "Full measurement description.");
1451  //=================================================================================================================
1452  m = translate("VTranslateMeasurements", "bustpoint_to_neck_front",
1453  "Name in a formula. Don't use math symbols and space in name!!!!");
1454  g = translate("VTranslateMeasurements", "Bustpoint to Neck Front", "Full measurement name.");
1455  d = translate("VTranslateMeasurements", "From Neck Front to Bustpoint.", "Full measurement description.");
1456  InitMeasurement(bustpointToNeckFront_M, m, g, d, "J11");
1457  //=================================================================================================================
1458 }
1459 
1460 //---------------------------------------------------------------------------------------------------------------------
1462 {
1463  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
1464  //mark such string to translation.
1468 
1469  //=================================================================================================================
1470  m = translate("VTranslateMeasurements", "shoulder_tip_to_waist_front",
1471  "Name in a formula. Don't use math symbols and space in name!!!!");
1472  g = translate("VTranslateMeasurements", "Shoulder Tip to Waist Front", "Full measurement name.");
1473  d = translate("VTranslateMeasurements", "From Shoulder Tip diagonal to Waist Front.",
1474  "Full measurement description.");
1475  InitMeasurement(shoulderTipToWaistFront_M, m, g, d, "K01");
1476  //=================================================================================================================
1477  m = translate("VTranslateMeasurements", "neck_front_to_waist_side",
1478  "Name in a formula. Don't use math symbols and space in name!!!!");
1479  g = translate("VTranslateMeasurements", "Neck Front to Waist Side", "Full measurement name.");
1480  d = translate("VTranslateMeasurements", "From Neck Front diagonal to Waist Side.",
1481  "Full measurement description.");
1482  InitMeasurement(neckFrontToWaistSide_M, m, g, d, "K02");
1483  //=================================================================================================================
1484  m = translate("VTranslateMeasurements", "neck_side_to_waist_side_f",
1485  "Name in a formula. Don't use math symbols and space in name!!!!");
1486  g = translate("VTranslateMeasurements", "Neck Side to Waist Side, front", "Full measurement name.");
1487  d = translate("VTranslateMeasurements", "From Neck Side diagonal across front to Waist Side.",
1488  "Full measurement description.");
1489  InitMeasurement(neckSideToWaistSideF_M, m, g, d, "K03");
1490  //=================================================================================================================
1491  m = translate("VTranslateMeasurements", "shoulder_tip_to_waist_back",
1492  "Name in a formula. Don't use math symbols and space in name!!!!");
1493  g = translate("VTranslateMeasurements", "Shoulder Tip to Waist Back", "Full measurement name.");
1494  d = translate("VTranslateMeasurements", "From Shoulder Tip diagonal to Waist Back.",
1495  "Full measurement description.");
1496  InitMeasurement(shoulderTipToWaistBack_M, m, g, d, "K04");
1497  //=================================================================================================================
1498  m = translate("VTranslateMeasurements", "shoulder_tip_to_waist_b_1in_offset",
1499  "Name in a formula. Don't use math symbols and space in name!!!!");
1500  g = translate("VTranslateMeasurements", "Shoulder Tip to Waist Back, with 1in (2.54cm) offset",
1501  "Full measurement name.");
1502  d = translate("VTranslateMeasurements", "Mark 1in (2.54cm) outward from Waist Back along Waist level. Measure "
1503  "from Shoulder Tip diagonal to mark.", "Full measurement description.");
1505  //=================================================================================================================
1506  m = translate("VTranslateMeasurements", "neck_back_to_waist_side",
1507  "Name in a formula. Don't use math symbols and space in name!!!!");
1508  g = translate("VTranslateMeasurements", "Neck Back to Waist Side", "Full measurement name.");
1509  d = translate("VTranslateMeasurements", "From Neck Back diagonal across back to Waist Side.",
1510  "Full measurement description.");
1511  InitMeasurement(neckBackToWaistSide_M, m, g, d, "K06");
1512  //=================================================================================================================
1513  m = translate("VTranslateMeasurements", "neck_side_to_waist_side_b",
1514  "Name in a formula. Don't use math symbols and space in name!!!!");
1515  g = translate("VTranslateMeasurements", "Neck Side to Waist Side, back", "Full measurement name.");
1516  d = translate("VTranslateMeasurements", "From Neck Side diagonal across back to Waist Side.",
1517  "Full measurement description.");
1518  InitMeasurement(neckSideToWaistSideB_M, m, g, d, "K07");
1519  //=================================================================================================================
1520  m = translate("VTranslateMeasurements", "neck_side_to_armfold_f",
1521  "Name in a formula. Don't use math symbols and space in name!!!!");
1522  g = translate("VTranslateMeasurements", "Neck Side to Armfold Front", "Full measurement name.");
1523  d = translate("VTranslateMeasurements", "From Neck Side diagonal to Armfold Front.",
1524  "Full measurement description.");
1525  InitMeasurement(neckSideToArmfoldF_M, m, g, d, "K08");
1526  //=================================================================================================================
1527  m = translate("VTranslateMeasurements", "neck_side_to_armpit_f",
1528  "Name in a formula. Don't use math symbols and space in name!!!!");
1529  g = translate("VTranslateMeasurements", "Neck Side to Highbust Side, front", "Full measurement name.");
1530  d = translate("VTranslateMeasurements", "From Neck Side diagonal across front to Highbust Side (Armpit).",
1531  "Full measurement description.");
1532  InitMeasurement(neckSideToArmpitF_M, m, g, d, "K09");
1533  //=================================================================================================================
1534  m = translate("VTranslateMeasurements", "neck_side_to_bust_side_f",
1535  "Name in a formula. Don't use math symbols and space in name!!!!");
1536  g = translate("VTranslateMeasurements", "Neck Side to Bust Side, front", "Full measurement name.");
1537  d = translate("VTranslateMeasurements", "Neck Side diagonal across front to Bust Side.",
1538  "Full measurement description.");
1539  InitMeasurement(neckSideToBustSideF_M, m, g, d, "K10");
1540  //=================================================================================================================
1541  m = translate("VTranslateMeasurements", "neck_side_to_armfold_b",
1542  "Name in a formula. Don't use math symbols and space in name!!!!");
1543  g = translate("VTranslateMeasurements", "Neck Side to Armfold Back", "Full measurement name.");
1544  d = translate("VTranslateMeasurements", "From Neck Side diagonal to Armfold Back.",
1545  "Full measurement description.");
1546  InitMeasurement(neckSideToArmfoldB_M, m, g, d, "K11");
1547  //=================================================================================================================
1548  m = translate("VTranslateMeasurements", "neck_side_to_armpit_b",
1549  "Name in a formula. Don't use math symbols and space in name!!!!");
1550  g = translate("VTranslateMeasurements", "Neck Side to Highbust Side, back", "Full measurement name.");
1551  d = translate("VTranslateMeasurements", "From Neck Side diagonal across back to Highbust Side (Armpit).",
1552  "Full measurement description.");
1553  InitMeasurement(neckSideToArmpitB_M, m, g, d, "K12");
1554  //=================================================================================================================
1555  m = translate("VTranslateMeasurements", "neck_side_to_bust_side_b",
1556  "Name in a formula. Don't use math symbols and space in name!!!!");
1557  g = translate("VTranslateMeasurements", "Neck Side to Bust Side, back", "Full measurement name.");
1558  d = translate("VTranslateMeasurements", "Neck Side diagonal across back to Bust Side.",
1559  "Full measurement description.");
1560  InitMeasurement(neckSideToBustSideB_M, m, g, d, "K13");
1561  //=================================================================================================================
1562 }
1563 
1564 //---------------------------------------------------------------------------------------------------------------------
1566 {
1567  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
1568  //mark such string to translation.
1572 
1573  //=================================================================================================================
1574  m = translate("VTranslateMeasurements", "arm_shoulder_tip_to_wrist_bent",
1575  "Name in a formula. Don't use math symbols and space in name!!!!");
1576  g = translate("VTranslateMeasurements", "Arm: Shoulder Tip to Wrist, bent", "Full measurement name.");
1577  d = translate("VTranslateMeasurements", "Bend Arm, measure from Shoulder Tip around Elbow to radial Wrist bone.",
1578  "Full measurement description.");
1580  //=================================================================================================================
1581  m = translate("VTranslateMeasurements", "arm_shoulder_tip_to_elbow_bent",
1582  "Name in a formula. Don't use math symbols and space in name!!!!");
1583  g = translate("VTranslateMeasurements", "Arm: Shoulder Tip to Elbow, bent", "Full measurement name.");
1584  d = translate("VTranslateMeasurements", "Bend Arm, measure from Shoulder Tip to Elbow Tip.",
1585  "Full measurement description.");
1587  //=================================================================================================================
1588  m = translate("VTranslateMeasurements", "arm_elbow_to_wrist_bent",
1589  "Name in a formula. Don't use math symbols and space in name!!!!");
1590  g = translate("VTranslateMeasurements", "Arm: Elbow to Wrist, bent", "Full measurement name.");
1591  d = translate("VTranslateMeasurements",
1592  "Elbow tip to wrist. ('Arm: Shoulder Tip to Wrist, bent' - 'Arm: Shoulder Tip to Elbow, bent').",
1593  "Full measurement description.");
1594  InitMeasurement(armElbowToWristBent_M, m, g, d, "L03",
1595  "(arm_shoulder_tip_to_wrist_bent - arm_shoulder_tip_to_elbow_bent)");
1596  //=================================================================================================================
1597  m = translate("VTranslateMeasurements", "arm_elbow_circ_bent",
1598  "Name in a formula. Don't use math symbols and space in name!!!!");
1599  g = translate("VTranslateMeasurements", "Arm: Elbow circumference, bent", "Full measurement name.");
1600  d = translate("VTranslateMeasurements", "Elbow circumference, arm is bent.", "Full measurement description.");
1601  InitMeasurement(armElbowCircBent_M, m, g, d, "L04");
1602  //=================================================================================================================
1603  m = translate("VTranslateMeasurements", "arm_shoulder_tip_to_wrist",
1604  "Name in a formula. Don't use math symbols and space in name!!!!");
1605  g = translate("VTranslateMeasurements", "Arm: Shoulder Tip to Wrist", "Full measurement name.");
1606  d = translate("VTranslateMeasurements", "From Shoulder Tip to Wrist bone, arm straight.",
1607  "Full measurement description.");
1608  InitMeasurement(armShoulderTipToWrist_M, m, g, d, "L05");
1609  //=================================================================================================================
1610  m = translate("VTranslateMeasurements", "arm_shoulder_tip_to_elbow",
1611  "Name in a formula. Don't use math symbols and space in name!!!!");
1612  g = translate("VTranslateMeasurements", "Arm: Shoulder Tip to Elbow", "Full measurement name.");
1613  d = translate("VTranslateMeasurements", "From Shoulder tip to Elbow Tip, arm straight.",
1614  "Full measurement description.");
1615  InitMeasurement(armShoulderTipToElbow_M, m, g, d, "L06");
1616  //=================================================================================================================
1617  m = translate("VTranslateMeasurements", "arm_elbow_to_wrist",
1618  "Name in a formula. Don't use math symbols and space in name!!!!");
1619  g = translate("VTranslateMeasurements", "Arm: Elbow to Wrist", "Full measurement name.");
1620  d = translate("VTranslateMeasurements",
1621  "From Elbow to Wrist, arm straight. ('Arm: Shoulder Tip to Wrist' - 'Arm: Shoulder Tip to Elbow').",
1622  "Full measurement description.");
1623  InitMeasurement(armElbowToWrist_M, m, g, d, "L07", "(arm_shoulder_tip_to_wrist - arm_shoulder_tip_to_elbow)");
1624  //=================================================================================================================
1625  m = translate("VTranslateMeasurements", "arm_armpit_to_wrist",
1626  "Name in a formula. Don't use math symbols and space in name!!!!");
1627  g = translate("VTranslateMeasurements", "Arm: Armpit to Wrist, inside", "Full measurement name.");
1628  d = translate("VTranslateMeasurements", "From Armpit to ulna Wrist bone, arm straight.",
1629  "Full measurement description.");
1630  InitMeasurement(armArmpitToWrist_M, m, g, d, "L08");
1631  //=================================================================================================================
1632  m = translate("VTranslateMeasurements", "arm_armpit_to_elbow",
1633  "Name in a formula. Don't use math symbols and space in name!!!!");
1634  g = translate("VTranslateMeasurements", "Arm: Armpit to Elbow, inside", "Full measurement name.");
1635  d = translate("VTranslateMeasurements", "From Armpit to inner Elbow, arm straight.",
1636  "Full measurement description.");
1637  InitMeasurement(armArmpitToElbow_M, m, g, d, "L09");
1638  //=================================================================================================================
1639  m = translate("VTranslateMeasurements", "arm_elbow_to_wrist_inside",
1640  "Name in a formula. Don't use math symbols and space in name!!!!");
1641  g = translate("VTranslateMeasurements", "Arm: Elbow to Wrist, inside", "Full measurement name.");
1642  d = translate("VTranslateMeasurements",
1643  "From inside Elbow to Wrist. ('Arm: Armpit to Wrist, inside' - 'Arm: Armpit to Elbow, inside').",
1644  "Full measurement description.");
1645  InitMeasurement(armElbowToWristInside_M, m, g, d, "L10", "(arm_armpit_to_wrist - arm_armpit_to_elbow)");
1646  //=================================================================================================================
1647  m = translate("VTranslateMeasurements", "arm_upper_circ",
1648  "Name in a formula. Don't use math symbols and space in name!!!!");
1649  g = translate("VTranslateMeasurements", "Arm: Upper Arm circumference", "Full measurement name.");
1650  d = translate("VTranslateMeasurements", "Arm circumference at Armpit level.", "Full measurement description.");
1651  InitMeasurement(armUpperCirc_M, m, g, d, "L11");
1652  //=================================================================================================================
1653  m = translate("VTranslateMeasurements", "arm_above_elbow_circ",
1654  "Name in a formula. Don't use math symbols and space in name!!!!");
1655  g = translate("VTranslateMeasurements", "Arm: Above Elbow circumference", "Full measurement name.");
1656  d = translate("VTranslateMeasurements", "Arm circumference at Bicep level.", "Full measurement description.");
1657  InitMeasurement(armAboveElbowCirc_M, m, g, d, "L12");
1658  //=================================================================================================================
1659  m = translate("VTranslateMeasurements", "arm_elbow_circ",
1660  "Name in a formula. Don't use math symbols and space in name!!!!");
1661  g = translate("VTranslateMeasurements", "Arm: Elbow circumference", "Full measurement name.");
1662  d = translate("VTranslateMeasurements", "Elbow circumference, arm straight.", "Full measurement description.");
1663  InitMeasurement(armElbowCirc_M, m, g, d, "L13");
1664  //=================================================================================================================
1665  m = translate("VTranslateMeasurements", "arm_lower_circ",
1666  "Name in a formula. Don't use math symbols and space in name!!!!");
1667  g = translate("VTranslateMeasurements", "Arm: Lower Arm circumference", "Full measurement name.");
1668  d = translate("VTranslateMeasurements", "Arm circumference where lower arm is widest.",
1669  "Full measurement description.");
1670  InitMeasurement(armLowerCirc_M, m, g, d, "L14");
1671  //=================================================================================================================
1672  m = translate("VTranslateMeasurements", "arm_wrist_circ",
1673  "Name in a formula. Don't use math symbols and space in name!!!!");
1674  g = translate("VTranslateMeasurements", "Arm: Wrist circumference", "Full measurement name.");
1675  d = translate("VTranslateMeasurements", "Wrist circumference.", "Full measurement description.");
1676  InitMeasurement(armWristCirc_M, m, g, d, "L15");
1677  //=================================================================================================================
1678  m = translate("VTranslateMeasurements", "arm_shoulder_tip_to_armfold_line",
1679  "Name in a formula. Don't use math symbols and space in name!!!!");
1680  g = translate("VTranslateMeasurements", "Arm: Shoulder Tip to Armfold line", "Full measurement name.");
1681  d = translate("VTranslateMeasurements", "From Shoulder Tip down to Armpit level.", "Full measurement description.");
1683  //=================================================================================================================
1684  m = translate("VTranslateMeasurements", "arm_neck_side_to_wrist",
1685  "Name in a formula. Don't use math symbols and space in name!!!!");
1686  g = translate("VTranslateMeasurements", "Arm: Neck Side to Wrist", "Full measurement name.");
1687  d = translate("VTranslateMeasurements",
1688  "From Neck Side to Wrist. ('Shoulder Length' + 'Arm: Shoulder Tip to Wrist').",
1689  "Full measurement description.");
1690  InitMeasurement(armNeckSideToWrist_M, m, g, d, "L17", "(shoulder_length + arm_shoulder_tip_to_wrist)");
1691  //=================================================================================================================
1692  m = translate("VTranslateMeasurements", "arm_neck_side_to_finger_tip",
1693  "Name in a formula. Don't use math symbols and space in name!!!!");
1694  g = translate("VTranslateMeasurements", "Arm: Neck Side to Finger Tip", "Full measurement name.");
1695  d = translate("VTranslateMeasurements",
1696  "From Neck Side down arm to tip of middle finger. ('Shoulder Length' + 'Arm: Shoulder Tip to "
1697  "Wrist' + 'Hand: Length').", "Full measurement description.");
1698  InitMeasurement(armNeckSideToFingerTip_M, m, g, d, "L18",
1699  "(shoulder_length + arm_shoulder_tip_to_wrist + hand_length)");
1700  //=================================================================================================================
1701  m = translate("VTranslateMeasurements", "armscye_circ",
1702  "Name in a formula. Don't use math symbols and space in name!!!!");
1703  g = translate("VTranslateMeasurements", "Armscye: Circumference", "Full measurement name.");
1704  d = translate("VTranslateMeasurements",
1705  "Let arm hang at side. Measure Armscye circumference through Shoulder Tip and Armpit.",
1706  "Full measurement description.");
1707  InitMeasurement(armscyeCirc_M, m, g, d, "L19");
1708  //=================================================================================================================
1709  m = translate("VTranslateMeasurements", "armscye_length",
1710  "Name in a formula. Don't use math symbols and space in name!!!!");
1711  g = translate("VTranslateMeasurements", "Armscye: Length", "Full measurement name.");
1712  d = translate("VTranslateMeasurements", "Vertical distance from Shoulder Tip to Armpit.",
1713  "Full measurement description.");
1714  InitMeasurement(armscyeLength_M, m, g, d, "L20");
1715  //=================================================================================================================
1716  m = translate("VTranslateMeasurements", "armscye_width",
1717  "Name in a formula. Don't use math symbols and space in name!!!!");
1718  g = translate("VTranslateMeasurements", "Armscye: Width", "Full measurement name.");
1719  d = translate("VTranslateMeasurements", "Horizontal distance between Armscye Front and Armscye Back.",
1720  "Full measurement description.");
1721  InitMeasurement(armscyeWidth_M, m, g, d, "L21");
1722  //=================================================================================================================
1723  m = translate("VTranslateMeasurements", "arm_neck_side_to_outer_elbow",
1724  "Name in a formula. Don't use math symbols and space in name!!!!");
1725  g = translate("VTranslateMeasurements", "Arm: Neck side to Elbow", "Full measurement name.");
1726  d = translate("VTranslateMeasurements", "From Neck Side over Shoulder Tip down to Elbow. (Shoulder length + "
1727  "Arm: Shoulder Tip to Elbow).", "Full measurement description.");
1728  InitMeasurement(armNeckSideToOuterElbow_M, m, g, d, "L22", "(shoulder_length + arm_shoulder_tip_to_elbow)");
1729  //=================================================================================================================
1730 }
1731 
1732 //---------------------------------------------------------------------------------------------------------------------
1734 {
1735  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
1736  //mark such string to translation.
1740 
1741  //=================================================================================================================
1742  m = translate("VTranslateMeasurements", "leg_crotch_to_floor",
1743  "Name in a formula. Don't use math symbols and space in name!!!!");
1744  g = translate("VTranslateMeasurements", "Leg: Crotch to floor", "Full measurement name.");
1745  d = translate("VTranslateMeasurements",
1746  "Stand feet close together. Measure from crotch level (touching body, no extra space) down to floor.",
1747  "Full measurement description.");
1748  InitMeasurement(legCrotchToFloor_M, m, g, d, "M01");
1749  //=================================================================================================================
1750  m = translate("VTranslateMeasurements", "leg_waist_side_to_floor",
1751  "Name in a formula. Don't use math symbols and space in name!!!!");
1752  g = translate("VTranslateMeasurements", "Leg: Waist Side to floor", "Full measurement name.");
1753  d = translate("VTranslateMeasurements", "From Waist Side along curve to Hip level then straight down to floor.",
1754  "Full measurement description.");
1755  InitMeasurement(legWaistSideToFloor_M, m, g, d, "M02");
1756  //=================================================================================================================
1757  m = translate("VTranslateMeasurements", "leg_thigh_upper_circ",
1758  "Name in a formula. Don't use math symbols and space in name!!!!");
1759  g = translate("VTranslateMeasurements", "Leg: Thigh Upper circumference", "Full measurement name.");
1760  d = translate("VTranslateMeasurements",
1761  "Thigh circumference at the fullest part of the upper Thigh near the Crotch.",
1762  "Full measurement description.");
1763  InitMeasurement(legThighUpperCirc_M, m, g, d, "M03");
1764  //=================================================================================================================
1765  m = translate("VTranslateMeasurements", "leg_thigh_mid_circ",
1766  "Name in a formula. Don't use math symbols and space in name!!!!");
1767  g = translate("VTranslateMeasurements", "Leg: Thigh Middle circumference", "Full measurement name.");
1768  d = translate("VTranslateMeasurements", "Thigh circumference about halfway between Crotch and Knee.",
1769  "Full measurement description.");
1770  InitMeasurement(legThighMidCirc_M, m, g, d, "M04");
1771  //=================================================================================================================
1772  m = translate("VTranslateMeasurements", "leg_knee_circ",
1773  "Name in a formula. Don't use math symbols and space in name!!!!");
1774  g = translate("VTranslateMeasurements", "Leg: Knee circumference", "Full measurement name.");
1775  d = translate("VTranslateMeasurements", "Knee circumference with straight leg.", "Full measurement description.");
1776  InitMeasurement(legKneeCirc_M, m, g, d, "M05");
1777  //=================================================================================================================
1778  m = translate("VTranslateMeasurements", "leg_knee_small_circ",
1779  "Name in a formula. Don't use math symbols and space in name!!!!");
1780  g = translate("VTranslateMeasurements", "Leg: Knee Small circumference", "Full measurement name.");
1781  d = translate("VTranslateMeasurements", "Leg circumference just below the knee.", "Full measurement description.");
1782  InitMeasurement(legKneeSmallCirc_M, m, g, d, "M06");
1783  //=================================================================================================================
1784  m = translate("VTranslateMeasurements", "leg_calf_circ",
1785  "Name in a formula. Don't use math symbols and space in name!!!!");
1786  g = translate("VTranslateMeasurements", "Leg: Calf circumference", "Full measurement name.");
1787  d = translate("VTranslateMeasurements", "Calf circumference at the largest part of lower leg.",
1788  "Full measurement description.");
1789  InitMeasurement(legCalfCirc_M, m, g, d, "M07");
1790  //=================================================================================================================
1791  m = translate("VTranslateMeasurements", "leg_ankle_high_circ",
1792  "Name in a formula. Don't use math symbols and space in name!!!!");
1793  g = translate("VTranslateMeasurements", "Leg: Ankle High circumference", "Full measurement name.");
1794  d = translate("VTranslateMeasurements",
1795  "Ankle circumference where the indentation at the back of the ankle is the deepest.",
1796  "Full measurement description.");
1797  InitMeasurement(legAnkleHighCirc_M, m, g, d, "M08");
1798  //=================================================================================================================
1799  m = translate("VTranslateMeasurements", "leg_ankle_circ",
1800  "Name in a formula. Don't use math symbols and space in name!!!!");
1801  g = translate("VTranslateMeasurements", "Leg: Ankle circumference", "Full measurement name.");
1802  d = translate("VTranslateMeasurements", "Ankle circumference where front of leg meets the top of the foot.",
1803  "Full measurement description.");
1804  InitMeasurement(legAnkleCirc_M, m, g, d, "M09");
1805  //=================================================================================================================
1806  m = translate("VTranslateMeasurements", "leg_knee_circ_bent",
1807  "Name in a formula. Don't use math symbols and space in name!!!!");
1808  g = translate("VTranslateMeasurements", "Leg: Knee circumference, bent", "Full measurement name.");
1809  d = translate("VTranslateMeasurements", "Knee circumference with leg bent.", "Full measurement description.");
1810  InitMeasurement(legKneeCircBent_M, m, g, d, "M10");
1811  //=================================================================================================================
1812  m = translate("VTranslateMeasurements", "leg_ankle_diag_circ",
1813  "Name in a formula. Don't use math symbols and space in name!!!!");
1814  g = translate("VTranslateMeasurements", "Leg: Ankle diagonal circumference", "Full measurement name.");
1815  d = translate("VTranslateMeasurements", "Ankle circumference diagonal from top of foot to bottom of heel.",
1816  "Full measurement description.");
1817  InitMeasurement(legAnkleDiagCirc_M, m, g, d, "M11");
1818  //=================================================================================================================
1819  m = translate("VTranslateMeasurements", "leg_crotch_to_ankle",
1820  "Name in a formula. Don't use math symbols and space in name!!!!");
1821  g = translate("VTranslateMeasurements", "Leg: Crotch to Ankle", "Full measurement name.");
1822  d = translate("VTranslateMeasurements", "From Crotch to Ankle. ('Leg: Crotch to Floor' - 'Height: Ankle').",
1823  "Full measurement description.");
1824  InitMeasurement(legCrotchToAnkle_M, m, g, d, "M12", "(leg_crotch_to_floor - height_ankle)");
1825  //=================================================================================================================
1826  m = translate("VTranslateMeasurements", "leg_waist_side_to_ankle",
1827  "Name in a formula. Don't use math symbols and space in name!!!!");
1828  g = translate("VTranslateMeasurements", "Leg: Waist Side to Ankle", "Full measurement name.");
1829  d = translate("VTranslateMeasurements", "From Waist Side to Ankle. ('Leg: Waist Side to Floor' - 'Height: Ankle').",
1830  "Full measurement description.");
1831  InitMeasurement(legWaistSideToAnkle_M, m, g, d, "M13", "(leg_waist_side_to_floor - height_ankle)");
1832  //=================================================================================================================
1833  m = translate("VTranslateMeasurements", "leg_waist_side_to_knee",
1834  "Name in a formula. Don't use math symbols and space in name!!!!");
1835  g = translate("VTranslateMeasurements", "Leg: Waist Side to Knee", "Full measurement name.");
1836  d = translate("VTranslateMeasurements",
1837  "From Waist Side along curve to Hip level then straight down to Knee level. ('Leg: Waist Side to "
1838  "Floor' - 'Height Knee').", "Full measurement description.");
1839  InitMeasurement(legWaistSideToKnee_M, m, g, d, "M14", "(leg_waist_side_to_floor - height_knee)");
1840  //=================================================================================================================
1841 }
1842 
1843 //---------------------------------------------------------------------------------------------------------------------
1845 {
1846  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
1847  //mark such string to translation.
1851 
1852  //=================================================================================================================
1853  m = translate("VTranslateMeasurements", "crotch_length",
1854  "Name in a formula. Don't use math symbols and space in name!!!!");
1855  g = translate("VTranslateMeasurements", "Crotch length", "Full measurement name.");
1856  d = translate("VTranslateMeasurements", "Put tape across gap between buttocks at Hip level. Measure from Waist "
1857  "Front down between legs and up to Waist Back.", "Full measurement description.");
1858  InitMeasurement(crotchLength_M, m, g, d, "N01");
1859  //=================================================================================================================
1860  m = translate("VTranslateMeasurements", "crotch_length_b",
1861  "Name in a formula. Don't use math symbols and space in name!!!!");
1862  g = translate("VTranslateMeasurements", "Crotch length, back", "Full measurement name.");
1863  d = translate("VTranslateMeasurements", "Put tape across gap between buttocks at Hip level. Measure from Waist "
1864  "Back to mid-Crotch, either at the vagina or between testicles and anus).",
1865  "Full measurement description.");
1866  InitMeasurement(crotchLengthB_M, m, g, d, "N02");
1867  //=================================================================================================================
1868  m = translate("VTranslateMeasurements", "crotch_length_f",
1869  "Name in a formula. Don't use math symbols and space in name!!!!");
1870  g = translate("VTranslateMeasurements", "Crotch length, front", "Full measurement name.");
1871  d = translate("VTranslateMeasurements",
1872  "From Waist Front to start of vagina or end of testicles. ('Crotch length' - 'Crotch length, back').",
1873  "Full measurement description.");
1874  InitMeasurement(crotchLengthF_M, m, g, d, "N03", "(crotch_length - crotch_length_b)");
1875  //=================================================================================================================
1876  m = translate("VTranslateMeasurements", "rise_length_side_sitting",
1877  "Name in a formula. Don't use math symbols and space in name!!!!");
1878  g = translate("VTranslateMeasurements",
1879  "Rise length, side, sitting", "Full measurement name.");
1880  d = translate("VTranslateMeasurements",
1881  "From Waist Side around hip curve down to surface, while seated on hard surface.",
1882  "Full measurement description.");
1883  InitMeasurement(riseLengthSideSitting_M, m, g, d, "N04");
1884  //=================================================================================================================
1885  m = translate("VTranslateMeasurements", "rise_length_diag",
1886  "Name in a formula. Don't use math symbols and space in name!!!!");
1887  g = translate("VTranslateMeasurements", "Rise length, diagonal", "Full measurement name.");
1888  d = translate("VTranslateMeasurements", "Measure from Waist Side diagonally to a string tied at the top of the "
1889  "leg, seated on a hard surface.", "Full measurement description.");
1890  InitMeasurement(riseLengthDiag_M, m, g, d, "N05");
1891  //=================================================================================================================
1892  m = translate("VTranslateMeasurements", "rise_length_b",
1893  "Name in a formula. Don't use math symbols and space in name!!!!");
1894  g = translate("VTranslateMeasurements", "Rise length, back", "Full measurement name.");
1895  d = translate("VTranslateMeasurements", "Vertical distance from Waist Back to Crotch level. "
1896  "('Height: Waist Back' - 'Leg: Crotch to Floor')", "Full measurement description.");
1897  InitMeasurement(riseLengthB_M, m, g, d, "N06", "(height_waist_back - leg_crotch_to_floor)");
1898  //=================================================================================================================
1899  m = translate("VTranslateMeasurements", "rise_length_f",
1900  "Name in a formula. Don't use math symbols and space in name!!!!");
1901  g = translate("VTranslateMeasurements", "Rise length, front", "Full measurement name.");
1902  d = translate("VTranslateMeasurements", "Vertical Distance from Waist Front to Crotch level. "
1903  "('Height: Waist Front' - 'Leg: Crotch to Floor')", "Full measurement description.");
1904  InitMeasurement(riseLengthF_M, m, g, d, "N07", "(height_waist_front - leg_crotch_to_floor)");
1905  //=================================================================================================================
1906  m = translate("VTranslateMeasurements", "rise_length_side",
1907  "Name in a formula. Don't use math symbols and space in name!!!!");
1908  g = translate("VTranslateMeasurements", "Rise length, side", "Full measurement name.");
1909  d = translate("VTranslateMeasurements", "Vertical distance from Waist side down to Crotch level. Use formula "
1910  "(Height: Waist side - Leg: Crotch to floor).", "Full measurement description.");
1911  InitMeasurement(riseLengthSide_M, m, g, d, "N08");
1912  //=================================================================================================================
1913 }
1914 
1915 //---------------------------------------------------------------------------------------------------------------------
1917 {
1918  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
1919  //mark such string to translation.
1923 
1924  //=================================================================================================================
1925  m = translate("VTranslateMeasurements", "neck_back_to_waist_front",
1926  "Name in a formula. Don't use math symbols and space in name!!!!");
1927  g = translate("VTranslateMeasurements", "Neck Back to Waist Front", "Full measurement name.");
1928  d = translate("VTranslateMeasurements", "From Neck Back around Neck Side down to Waist Front.",
1929  "Full measurement description.");
1930  InitMeasurement(neckBackToWaistFront_M, m, g, d, "O01");
1931  //=================================================================================================================
1932  m = translate("VTranslateMeasurements", "waist_to_waist_halter",
1933  "Name in a formula. Don't use math symbols and space in name!!!!");
1934  g = translate("VTranslateMeasurements", "Waist to Waist Halter, around Neck Back", "Full measurement name.");
1935  d = translate("VTranslateMeasurements", "From Waist level around Neck Back to Waist level.",
1936  "Full measurement description.");
1937  InitMeasurement(waistToWaistHalter_M, m, g, d, "O02");
1938  //=================================================================================================================
1939  m = translate("VTranslateMeasurements", "waist_natural_circ",
1940  "Name in a formula. Don't use math symbols and space in name!!!!");
1941  g = translate("VTranslateMeasurements", "Natural Waist circumference", "Full measurement name.");
1942  d = translate("VTranslateMeasurements", "Torso circumference at men's natural side Abdominal Obliques "
1943  "indentation, if Oblique indentation isn't found then just below the Navel level.",
1944  "Full measurement description.");
1945  InitMeasurement(waistNaturalCirc_M, m, g, d, "O03");
1946  //=================================================================================================================
1947  m = translate("VTranslateMeasurements", "waist_natural_arc_f",
1948  "Name in a formula. Don't use math symbols and space in name!!!!");
1949  g = translate("VTranslateMeasurements", "Natural Waist arc, front", "Full measurement name.");
1950  d = translate("VTranslateMeasurements", "From Side to Side at the Natural Waist level, across the front.",
1951  "Full measurement description.");
1952  InitMeasurement(waistNaturalArcF_M, m, g, d, "O04");
1953  //=================================================================================================================
1954  m = translate("VTranslateMeasurements", "waist_natural_arc_b",
1955  "Name in a formula. Don't use math symbols and space in name!!!!");
1956  g = translate("VTranslateMeasurements", "Natural Waist arc, back", "Full measurement name.");
1957  d = translate("VTranslateMeasurements", "From Side to Side at Natural Waist level, across the back. Calculate as "
1958  "( Natural Waist circumference - Natural Waist arc (front) ).", "Full measurement description.");
1959  InitMeasurement(waistNaturalArcB_M, m, g, d, "O05", "(waist_natural_circ - waist_natural_arc_f)");
1960  //=================================================================================================================
1961  m = translate("VTranslateMeasurements", "waist_to_natural_waist_f",
1962  "Name in a formula. Don't use math symbols and space in name!!!!");
1963  g = translate("VTranslateMeasurements", "Waist Front to Natural Waist Front", "Full measurement name.");
1964  d = translate("VTranslateMeasurements", "Length from Waist Front to Natural Waist Front.",
1965  "Full measurement description.");
1966  InitMeasurement(waistToNaturalWaistF_M, m, g, d, "O06");
1967  //=================================================================================================================
1968  m = translate("VTranslateMeasurements", "waist_to_natural_waist_b",
1969  "Name in a formula. Don't use math symbols and space in name!!!!");
1970  g = translate("VTranslateMeasurements", "Waist Back to Natural Waist Back", "Full measurement name.");
1971  d = translate("VTranslateMeasurements", "Length from Waist Back to Natural Waist Back.",
1972  "Full measurement description.");
1973  InitMeasurement(waistToNaturalWaistB_M, m, g, d, "O07");
1974  //=================================================================================================================
1975  m = translate("VTranslateMeasurements", "arm_neck_back_to_elbow_bent",
1976  "Name in a formula. Don't use math symbols and space in name!!!!");
1977  g = translate("VTranslateMeasurements", "Arm: Neck Back to Elbow, high bend", "Full measurement name.");
1978  d = translate("VTranslateMeasurements",
1979  "Bend Arm with Elbow out, hand in front. Measure from Neck Back to Elbow Tip.",
1980  "Full measurement description.");
1981  InitMeasurement(armNeckBackToElbowBent_M, m, g, d, "O08");
1982  //=================================================================================================================
1983  m = translate("VTranslateMeasurements", "arm_neck_back_to_wrist_bent",
1984  "Name in a formula. Don't use math symbols and space in name!!!!");
1985  g = translate("VTranslateMeasurements", "Arm: Neck Back to Wrist, high bend", "Full measurement name.");
1986  d = translate("VTranslateMeasurements", "Bend Arm with Elbow out, hand in front. Measure from Neck Back to Elbow "
1987  "Tip to Wrist bone.", "Full measurement description.");
1988  InitMeasurement(armNeckBackToWristBent_M, m, g, d, "O09");
1989  //=================================================================================================================
1990  m = translate("VTranslateMeasurements", "arm_neck_side_to_elbow_bent",
1991  "Name in a formula. Don't use math symbols and space in name!!!!");
1992  g = translate("VTranslateMeasurements", "Arm: Neck Side to Elbow, high bend", "Full measurement name.");
1993  d = translate("VTranslateMeasurements", "Bend Arm with Elbow out, hand in front. Measure from Neck Side to "
1994  "Elbow Tip.", "Full measurement description.");
1995  InitMeasurement(armNeckSideToElbowBent_M, m, g, d, "O10");
1996  //=================================================================================================================
1997  m = translate("VTranslateMeasurements", "arm_neck_side_to_wrist_bent",
1998  "Name in a formula. Don't use math symbols and space in name!!!!");
1999  g = translate("VTranslateMeasurements", "Arm: Neck Side to Wrist, high bend", "Full measurement name.");
2000  d = translate("VTranslateMeasurements",
2001  "Bend Arm with Elbow out, hand in front. Measure from Neck Side to Elbow Tip to Wrist bone.",
2002  "Full measurement description.");
2003  InitMeasurement(armNeckSideToWristBent_M, m, g, d, "O11");
2004  //=================================================================================================================
2005  m = translate("VTranslateMeasurements", "arm_across_back_center_to_elbow_bent",
2006  "Name in a formula. Don't use math symbols and space in name!!!!");
2007  g = translate("VTranslateMeasurements", "Arm: Across Back Center to Elbow, high bend", "Full measurement name.");
2008  d = translate("VTranslateMeasurements",
2009  "Bend Arm with Elbow out, hand in front. Measure from Middle of Back to Elbow Tip.",
2010  "Full measurement description.");
2012  //=================================================================================================================
2013  m = translate("VTranslateMeasurements", "arm_across_back_center_to_wrist_bent",
2014  "Name in a formula. Don't use math symbols and space in name!!!!");
2015  g = translate("VTranslateMeasurements", "Arm: Across Back Center to Wrist, high bend", "Full measurement name.");
2016  d = translate("VTranslateMeasurements",
2017  "Bend Arm with Elbow out, hand in front. Measure from Middle of Back to Elbow Tip to Wrist bone.",
2018  "Full measurement description.");
2020  //=================================================================================================================
2021  m = translate("VTranslateMeasurements", "arm_armscye_back_center_to_wrist_bent",
2022  "Name in a formula. Don't use math symbols and space in name!!!!");
2023  g = translate("VTranslateMeasurements", "Arm: Armscye Back Center to Wrist, high bend", "Full measurement name.");
2024  d = translate("VTranslateMeasurements",
2025  "Bend Arm with Elbow out, hand in front. Measure from Armscye Back to Elbow Tip.",
2026  "Full measurement description.");
2028  //=================================================================================================================
2029 }
2030 
2031 //---------------------------------------------------------------------------------------------------------------------
2033 {
2034  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
2035  //mark such string to translation.
2039 
2040  //=================================================================================================================
2041  m = translate("VTranslateMeasurements", "neck_back_to_bust_front",
2042  "Name in a formula. Don't use math symbols and space in name!!!!");
2043  g = translate("VTranslateMeasurements", "Neck Back to Bust Front", "Full measurement name.");
2044  d = translate("VTranslateMeasurements", "From Neck Back, over Shoulder, to Bust Front.",
2045  "Full measurement description.");
2046  InitMeasurement(neckBackToBustFront_M, m, g, d, "P01");
2047  //=================================================================================================================
2048  m = translate("VTranslateMeasurements", "neck_back_to_armfold_front",
2049  "Name in a formula. Don't use math symbols and space in name!!!!");
2050  g = translate("VTranslateMeasurements", "Neck Back to Armfold Front", "Full measurement name.");
2051  d = translate("VTranslateMeasurements", "From Neck Back over Shoulder to Armfold Front.",
2052  "Full measurement description.");
2053  InitMeasurement(neckBackToArmfoldFront_M, m, g, d, "P02");
2054  //=================================================================================================================
2055  m = translate("VTranslateMeasurements", "neck_back_to_armfold_front_to_waist_side",
2056  "Name in a formula. Don't use math symbols and space in name!!!!");
2057  g = translate("VTranslateMeasurements", "Neck Back, over Shoulder, to Waist Side", "Full measurement name.");
2058  d = translate("VTranslateMeasurements", "From Neck Back, over Shoulder, down chest to Waist Side.",
2059  "Full measurement description.");
2061  //=================================================================================================================
2062  m = translate("VTranslateMeasurements", "highbust_back_over_shoulder_to_armfold_front",
2063  "Name in a formula. Don't use math symbols and space in name!!!!");
2064  g = translate("VTranslateMeasurements", "Highbust Back, over Shoulder, to Armfold Front", "Full measurement name.");
2065  d = translate("VTranslateMeasurements", "From Highbust Back over Shoulder to Armfold Front.",
2066  "Full measurement description.");
2068  //=================================================================================================================
2069  m = translate("VTranslateMeasurements", "highbust_back_over_shoulder_to_waist_front",
2070  "Name in a formula. Don't use math symbols and space in name!!!!");
2071  g = translate("VTranslateMeasurements", "Highbust Back, over Shoulder, to Waist Front", "Full measurement name.");
2072  d = translate("VTranslateMeasurements", "From Highbust Back, over Shoulder touching Neck Side, to Waist Front.",
2073  "Full measurement description.");
2075  //=================================================================================================================
2076  m = translate("VTranslateMeasurements", "neck_back_to_armfold_front_to_neck_back",
2077  "Name in a formula. Don't use math symbols and space in name!!!!");
2078  g = translate("VTranslateMeasurements", "Neck Back, to Armfold Front, to Neck Back", "Full measurement name.");
2079  d = translate("VTranslateMeasurements",
2080  "From Neck Back, over Shoulder to Armfold Front, under arm and return to start.",
2081  "Full measurement description.");
2083  //=================================================================================================================
2084  m = translate("VTranslateMeasurements", "across_back_center_to_armfold_front_to_across_back_center",
2085  "Name in a formula. Don't use math symbols and space in name!!!!");
2086  g = translate("VTranslateMeasurements", "Across Back Center, circled around Shoulder", "Full measurement name.");
2087  d = translate("VTranslateMeasurements",
2088  "From center of Across Back, over Shoulder, under Arm, and return to start.",
2089  "Full measurement description.");
2091  //=================================================================================================================
2092  m = translate("VTranslateMeasurements", "neck_back_to_armfold_front_to_highbust_back",
2093  "Name in a formula. Don't use math symbols and space in name!!!!");
2094  g = translate("VTranslateMeasurements", "Neck Back, to Armfold Front, to Highbust Back", "Full measurement name.");
2095  d = translate("VTranslateMeasurements",
2096  "From Neck Back over Shoulder to Armfold Front, under arm to Highbust Back.",
2097  "Full measurement description.");
2099  //=================================================================================================================
2100  m = translate("VTranslateMeasurements", "armfold_to_armfold_bust",
2101  "Name in a formula. Don't use math symbols and space in name!!!!");
2102  g = translate("VTranslateMeasurements", "Armfold to Armfold, front, curved through Bust Front",
2103  "Full measurement name.");
2104  d = translate("VTranslateMeasurements", "Measure in a curve from Armfold Left Front through Bust Front curved "
2105  "back up to Armfold Right Front.", "Full measurement description.");
2106  InitMeasurement(armfoldToArmfoldBust_M, m, g, d, "P09");
2107  //=================================================================================================================
2108  m = translate("VTranslateMeasurements", "armfold_to_bust_front",
2109  "Name in a formula. Don't use math symbols and space in name!!!!");
2110  g = translate("VTranslateMeasurements", "Armfold to Bust Front", "Full measurement name.");
2111  d = translate("VTranslateMeasurements", "Measure from Armfold Front to Bust Front, shortest distance between the "
2112  "two, as straight as possible.", "Full measurement description.");
2113  InitMeasurement(armfoldToBustFront_M, m, g, d, "P10");
2114  //=================================================================================================================
2115  m = translate("VTranslateMeasurements", "highbust_b_over_shoulder_to_highbust_f",
2116  "Name in a formula. Don't use math symbols and space in name!!!!");
2117  g = translate("VTranslateMeasurements", "Highbust Back, over Shoulder, to Highbust level",
2118  "Full measurement name.");
2119  d = translate("VTranslateMeasurements",
2120  "From Highbust Back, over Shoulder, then aim at Bustpoint, stopping measurement at Highbust level.",
2121  "Full measurement description.");
2123  //=================================================================================================================
2124  m = translate("VTranslateMeasurements", "armscye_arc",
2125  "Name in a formula. Don't use math symbols and space in name!!!!");
2126  g = translate("VTranslateMeasurements", "Armscye: Arc", "Full measurement name.");
2127  d = translate("VTranslateMeasurements", "From Armscye at Across Chest over ShoulderTip to Armscye at Across Back.",
2128  "Full measurement description.");
2129  InitMeasurement(armscyeArc_M, m, g, d, "P12");
2130  //=================================================================================================================
2131 }
2132 
2133 //---------------------------------------------------------------------------------------------------------------------
2135 {
2136  //Note. We can't use here function and variables because lupdate tool doesn't see string in variables and doesn't
2137  //mark such string to translation.
2141 
2142  //=================================================================================================================
2143  m = translate("VTranslateMeasurements", "dart_width_shoulder",
2144  "Name in a formula. Don't use math symbols and space in name!!!!");
2145  g = translate("VTranslateMeasurements", "Dart Width: Shoulder", "Full measurement name.");
2146  d = translate("VTranslateMeasurements",
2147  "This information is pulled from pattern charts in some patternmaking systems, e.g. Winifred P. "
2148  "Aldrich's \"Metric Pattern Cutting\".", "Full measurement description.");
2149  InitMeasurement(dartWidthShoulder_M, m, g, d, "Q01");
2150  //=================================================================================================================
2151  m = translate("VTranslateMeasurements", "dart_width_bust",
2152  "Name in a formula. Don't use math symbols and space in name!!!!");
2153  g = translate("VTranslateMeasurements", "Dart Width: Bust", "Full measurement name.");
2154  d = translate("VTranslateMeasurements",
2155  "This information is pulled from pattern charts in some patternmaking systems, e.g. Winifred P. "
2156  "Aldrich's \"Metric Pattern Cutting\".", "Full measurement description.");
2157  InitMeasurement(dartWidthBust_M, m, g, d, "Q02");
2158  //=================================================================================================================
2159  m = translate("VTranslateMeasurements", "dart_width_waist",
2160  "Name in a formula. Don't use math symbols and space in name!!!!");
2161  g = translate("VTranslateMeasurements", "Dart Width: Waist", "Full measurement name.");
2162  d = translate("VTranslateMeasurements",
2163  "This information is pulled from pattern charts in some patternmaking systems, e.g. Winifred P. "
2164  "Aldrich's \"Metric Pattern Cutting\".", "Full measurement description.");
2165  InitMeasurement(dartWidthWaist_M, m, g, d, "Q03");
2166  //=================================================================================================================
2167 }
2168 
2169 #undef translate
QMap< QString, QString > m_formulas
QString guiText(const QString &measurement) const
void InitMeasurement(const QString &name, const qmu::QmuTranslation &m, const qmu::QmuTranslation &g, const qmu::QmuTranslation &d, const QString &number, const QString &formula=QString())
QString MNumber(const QString &measurement) const
bool MeasurementsFromUser(QString &newFormula, int position, const QString &token, int &bias) const
MeasurementsFromUser translate measurement to internal look.
QString MToUser(const QString &measurement) const
QMap< QString, qmu::QmuTranslation > m_descriptions
QMap< QString, qmu::QmuTranslation > m_guiTexts
QMap< QString, qmu::QmuTranslation > m_measurements
QString Description(const QString &measurement) const
QString MFormula(const QString &measurement) const
QMap< QString, QString > m_numbers
const QString crotchLengthF_M
const QString riseLengthSide_M
const QString highbustArcHalfB_M
const QString armAcrossBackCenterToElbowBent_M
const QString neckFrontToBustF_M
const QString shoulderTipToArmfoldF_M
const QString bustpointToNeckSide_M
const QString bustpointToLowbust_M
const QString heightNeckBackToWaistSide_M
const QString waistToHighhipB_M
const QString waistNaturalArcB_M
const QString heightCalf_M
const QString shoulderTipToShoulderTipHalfB_M
const QString neckArcHalfF_M
const QString footInstepCirc_M
const QString footLength_M
const QString armElbowToWristInside_M
const QString handPalmLength_M
const QString heightWaistSideToKnee_M
const QString ribArcHalfF_M
const QString armpitToWaistSide_M
const QString legKneeCirc_M
const QString neckBackToArmfoldFrontToNeckBack_M
const QString headLength_M
const QString headCrownToNeckBack_M
const QString bustpointToWaist_M
const QString hipArcHalfF_M
const QString bustpointToWaistFront_M
const QString ribArcB_M
const QString neckSideToWaistBustpointF_M
const QString hipCircWithAbdomen_M
const QString bodyArmfoldCirc_M
const QString shoulderTipToShoulderTipHalfF_M
const QString lowbustArcHalfF_M
const QString shoulderTipToWaistFront_M
const QString hipArcHalfB_M
const QString dartWidthWaist_M
const QString highbustArcB_M
const QString legThighUpperCirc_M
const QString footWidth_M
const QString armShoulderTipToElbow_M
const QString neckSideToWaistSideF_M
const QString neckBackToBustFront_M
const QString legKneeSmallCirc_M
const QString waistArcB_M
const QString neckBackToWaistFront_M
const QString acrossBackToWaistB_M
const QString legWaistSideToKnee_M
const QString heightKneeToAnkle_M
const QString neckSideToWaistF_M
const QString handLength_M
const QString neckSideToArmpitF_M
const QString indentWaistBack_M
const QString dartWidthBust_M
const QString heightAnkle_M
const QString size_M
const QString lowbustArcF_M
const QString armscyeArc_M
const QString shoulderCenterToHighbustF_M
const QString lowbustToWaistB_M
const QString acrossBackB_M
const QString waistToHighhipF_M
const QString armShoulderTipToArmfoldLine_M
const QString waistToHipSide_M
const QString heightNeckBack_M
const QString highbustToWaistF_M
const QString lowbustArcB_M
const QString highhipArcHalfF_M
const QString shoulderSlopeNeckBackHeight_M
const QString neckBackToHighbustB_M
const QString headCirc_M
const QString shoulderTipToWaistB_1inOffset_M
const QString widthAbdomenToHip_M
const QString highhipArcF_M
const QString neckFrontToShoulderTipF_M
const QString waistNaturalCirc_M
const QString neckSideToArmpitB_M
const QString bustpointToBustpointHalter_M
const QString highhipArcHalfB_M
const QString legWaistSideToFloor_M
const QString riseLengthSideSitting_M
const QString bodyBustCirc_M
const QString neckSideToHighbustF_M
const QString heightNeckFront_M
const QString neckCirc_M
const QString neckFrontToHighbustF_M
const QString legCrotchToFloor_M
const QString shoulderSlopeNeckBackAngle_M
const QString neckWidth_M
const QString waistArcHalfF_M
const QString neckBackToArmfoldFrontToWaistSide_M
const QString heightKnee_M
const QString armArmpitToWrist_M
const QString armWristCirc_M
const QString legThighMidCirc_M
const QString acrossChestF_M
const QString waistToHipF_M
const QString neckBackToWaistSide_M
const QString waistToNaturalWaistB_M
const QString legCrotchToAnkle_M
const QString acrossChestHalfF_M
const QString footCirc_M
const QString bustToWaistF_M
const QString neckFrontToWaistF_M
const QString crotchLengthB_M
const QString acrossBackHalfB_M
const QString armfoldToArmfoldBust_M
const QString heightBustpoint_M
const QString highbustToWaistB_M
const QString neckMidCirc_M
const QString armShoulderTipToWrist_M
const QString heightGlutealFold_M
const QString neckSideToWaistB_M
const QString ribArcF_M
const QString lowbustCirc_M
const QString shoulderSlopeNeckSideAngle_M
const QString shoulderTipToShoulderTipB_M
const QString shoulderTipToArmfoldB_M
const QString shoulderSlopeNeckSideLength_M
const QString armArmpitToElbow_M
const QString neckArcB_M
const QString handCirc_M
const QString waistCirc_M
const QString hipArcF_M
const QString ribToWaistSide_M
const QString armUpperCirc_M
const QString riseLengthB_M
const QString legAnkleCirc_M
const QString neckBackToArmfoldFront_M
const QString bustpointToBustpoint_M
const QString widthWaist_M
const QString neckBackToArmfoldFrontToHighbustBack_M
const QString armfoldToArmfoldF_M
const QString lowbustToWaistF_M
const QString neckArcHalfB_M
const QString bustArcB_M
const QString shoulderLength_M
const QString armAboveElbowCirc_M
const QString riseLengthF_M
const QString highbustBackOverShoulderToWaistFront_M
const QString bustpointToShoulderTip_M
const QString neckSideToWaistScapulaB_M
const QString highbustArcF_M
const QString heightNeckBackToKnee_M
const QString waistToHipB_M
const QString bustpointToNeckFront_M
const QString armElbowToWrist_M
const QString heightWaistSide_M
const QString armscyeLength_M
const QString armElbowCirc_M
const QString bustpointToShoulderCenter_M
const QString waistArcHalfB_M
const QString legWaistSideToAnkle_M
const QString heightShoulderTip_M
const QString highbustCirc_M
const QString armElbowToWristBent_M
const QString armscyeWidth_M
const QString legAnkleHighCirc_M
const QString headChinToNeckBack_M
const QString armAcrossBackCenterToWristBent_M
const QString highbustBOverShoulderToHighbustF_M
const QString highbustArcHalfF_M
const QString legCalfCirc_M
const QString neckBackToAcrossBack_M
const QString dartWidthShoulder_M
const QString armfoldToArmfoldB_M
const QString armNeckSideToElbowBent_M
const QString bustArcF_M
const QString legAnkleDiagCirc_M
const QString highhipArcB_M
const QString neckSideToWaistSideB_M
const QString widthBust_M
const QString bodyTorsoCirc_M
const QString neckSideToHighbustB_M
const QString widthHip_M
const QString legKneeCircBent_M
const QString height_M
const QString armLowerCirc_M
const QString shoulderCenterToHighbustB_M
const QString armNeckSideToFingerTip_M
const QString armNeckBackToWristBent_M
const QString armNeckSideToOuterElbow_M
const QString neckBackToShoulderTipB_M
const QString armNeckBackToElbowBent_M
const QString shoulderTipToWaistBack_M
const QString armNeckSideToWrist_M
const QString neckBackToBustB_M
const QString handPalmWidth_M
const QString heightScapula_M
const QString bustArcHalfF_M
const QString heightHighhip_M
const QString heightNeckSide_M
const QString neckArcF_M
const QString highbustBackOverShoulderToArmfoldFront_M
const QString waistToHighhipSide_M
const QString acrossBackCenterToArmfoldFrontToAcrossBackCenter_M
const QString armElbowCircBent_M
const QString indentNeckBack_M
const QString heightAnkleHigh_M
const QString widthShoulder_M
const QString armscyeCirc_M
const QString armShoulderTipToElbowBent_M
const QString neckSideToArmfoldF_M
const QString neckSideToBustSideB_M
const QString neckBackToWaistB_M
const QString headWidth_M
const QString bustpointNeckSideToWaist_M
const QString waistToWaistHalter_M
const QString armArmscyeBackCenterToWristBent_M
const QString armNeckSideToWristBent_M
const QString heightWaistFront_M
const QString highhipCirc_M
const QString handPalmCirc_M
const QString heightWaistBack_M
const QString headDepth_M
const QString neckSideToBustF_M
const QString hipArcB_M
const QString bustCirc_M
const QString waistNaturalArcF_M
const QString waistArcF_M
const QString bustArcHalfB_M
const QString heightWaistSideToHip_M
const QString bustToWaistB_M
const QString heightArmpit_M
const QString crotchLength_M
const QString neckSideToBustB_M
const QString lowbustArcHalfB_M
const QString indentAnkleHigh_M
const QString armfoldToBustFront_M
const QString neckFrontToWaistSide_M
const QString ribArcHalfB_M
const QString shoulderTipToWaistSideB_M
const QString hipCirc_M
const QString hipWithAbdomenArcF_M
const QString riseLengthDiag_M
const QString shoulderTipToWaistSideF_M
const QString shoulderSlopeShoulderTipAngle_M
const QString shoulderTipToShoulderTipF_M
const QString heightHip_M
const QString armShoulderTipToWristBent_M
const QString neckSideToArmfoldB_M
const QString ribCirc_M
const QString neckSideToBustSideF_M
const QString neckFrontToWaistFlatF_M
const QString bustpointToBustpointHalf_M
const QString waistToNaturalWaistF_M
Namespace for mathematical applications.
#define translate(context, source, disambiguation)