Removed translation for the standard table.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-09-09 14:24:54 +03:00
parent 6f5757efaf
commit ef45bf2a94
19 changed files with 7 additions and 97 deletions

View File

@ -4955,14 +4955,6 @@ Do you want to save your changes?</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>STDescriptions</name>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SaveDetailOptions</name>
<message>

View File

@ -6661,7 +6661,7 @@ Chcete uložit své změny?</translation>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation>Obvyklá čísla mužů první skupiny, hruď 100 cm</translation>
<translation type="vanished">Obvyklá čísla mužů první skupiny, hruď 100 cm</translation>
</message>
</context>
<context>

View File

@ -6107,14 +6107,6 @@ Sollen die Änderungen gespeichert werden?</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>STDescriptions</name>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SaveDetailOptions</name>
<message>

View File

@ -7880,7 +7880,7 @@ Do you want to save your changes?</translation>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation>Standard figures of men 1st group, chest 100 cm</translation>
<translation type="vanished">Standard figures of men 1st group, chest 100 cm</translation>
</message>
</context>
<context>

View File

@ -6301,14 +6301,6 @@ Quiere guardar los cambios?</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>STDescriptions</name>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SaveDetailOptions</name>
<message>

View File

@ -6520,14 +6520,6 @@ Haluatko tallentaa muutokset?</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>STDescriptions</name>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SaveDetailOptions</name>
<message>

View File

@ -6407,7 +6407,7 @@ Voulez-vous sauvegarder les changements ? </translation>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation>Mesures standard homme du 1er groupe, Tour de poitrine 100cm</translation>
<translation type="vanished">Mesures standard homme du 1er groupe, Tour de poitrine 100cm</translation>
</message>
</context>
<context>

View File

@ -5071,14 +5071,6 @@ Do you want to save your changes?</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>STDescriptions</name>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SaveDetailOptions</name>
<message>

View File

@ -5465,14 +5465,6 @@ Apakah anda ingin menyimpan perubahan anda?</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>STDescriptions</name>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SaveDetailOptions</name>
<message>

View File

@ -5042,14 +5042,6 @@ Do you want to save your changes?</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>STDescriptions</name>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SaveDetailOptions</name>
<message>

View File

@ -7858,7 +7858,7 @@ Do you want to save your changes?</source>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation>Standaard figuren van mannen 1e groep, borstkas 100 cm</translation>
<translation type="vanished">Standaard figuren van mannen 1e groep, borstkas 100 cm</translation>
</message>
</context>
<context>

View File

@ -9727,7 +9727,7 @@ Do you want to save your changes?</source>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation>Типовые фигуры мужчин 1-й полнотной группы, обхват груди 100 см</translation>
<translation type="vanished">Типовые фигуры мужчин 1-й полнотной группы, обхват груди 100 см</translation>
</message>
</context>
<context>

View File

@ -8696,7 +8696,7 @@ Do you want to save your changes?</source>
<message>
<source>Standard figures of men 1st group, chest 100 cm</source>
<comment>Standard table description</comment>
<translation>Типові фігури чоловіків 1ї повнотної групи, обхват грудей 100 см</translation>
<translation type="vanished">Типові фігури чоловіків 1ї повнотної групи, обхват грудей 100 см</translation>
</message>
</context>
<context>

View File

@ -29,8 +29,6 @@
#include "dialogincrements.h"
#include "ui_dialogincrements.h"
#include "../vwidgets/vwidgetpopup.h"
#include "../xml/vstandardmeasurements.h"
#include "../xml/vindividualmeasurements.h"
#include "../vmisc/vsettings.h"
#include "../qmuparser/qmudef.h"
#include "../vpatterndb/vtranslatevars.h"

View File

@ -28,10 +28,10 @@
#include "dialognewpattern.h"
#include "ui_dialognewpattern.h"
#include "../xml/vindividualmeasurements.h"
#include "../core/vapplication.h"
#include "../../libs/vmisc/vsettings.h"
#include "../../libs/vpatterndb/vcontainer.h"
#include "../../libs/ifc/xml/vdomdocument.h"
#include <QFileDialog>
#include <QMessageBox>

View File

@ -35,8 +35,6 @@
#include "exception/vexceptionwrongid.h"
#include "exception/vexceptionundo.h"
#include "version.h"
#include "xml/vstandardmeasurements.h"
#include "xml/vindividualmeasurements.h"
#include "core/vapplication.h"
#include "../vmisc/undoevent.h"
#include "../vmisc/vsettings.h"

View File

@ -40,8 +40,6 @@
#include "../ifc/xml/vpatternconverter.h"
#include "../vmisc/undoevent.h"
#include "../vmisc/vsettings.h"
#include "vstandardmeasurements.h"
#include "vindividualmeasurements.h"
#include "../qmuparser/qmuparsererror.h"
#include "../vgeometry/varc.h"
#include "../core/vapplication.h"

View File

@ -51,7 +51,6 @@ VTranslateVars::VTranslateVars(bool osSeparator)
InitVariables();
InitFunctions();
InitPostfixOperators();
InitSTDescriptions();
}
//---------------------------------------------------------------------------------------------------------------------
@ -433,14 +432,6 @@ void VTranslateVars::InitPostfixOperators()
postfixOperators.insert(in_Oprt, QmuTranslation::translate("PostfixOperators", "in", "inch"));
}
//---------------------------------------------------------------------------------------------------------------------
void VTranslateVars::InitSTDescriptions()
{
stDescriptions.insert("0", QmuTranslation::translate("STDescriptions",
"Standard figures of men 1st group, chest 100 cm",
"Standard table description"));
}
//---------------------------------------------------------------------------------------------------------------------
void VTranslateVars::InitSystem(const QString &code, const QmuTranslation &name, const QmuTranslation &author,
const QmuTranslation &book)
@ -686,20 +677,6 @@ QString VTranslateVars::PostfixOperator(const QString &name) const
return postfixOperators.value(name).translate();
}
//---------------------------------------------------------------------------------------------------------------------
QString VTranslateVars::STDescription(const QString &id) const
{
if (stDescriptions.contains(id))
{
return stDescriptions.value(id).translate();
}
else
{
qDebug()<<"Unknown id number. Got"<<id;
}
return QString();
}
//---------------------------------------------------------------------------------------------------------------------
/**
* @brief FormulaFromUser replace all known tokens in formula to internal look. Also change decimal
@ -943,7 +920,4 @@ void VTranslateVars::Retranslate()
InitVariables();
InitFunctions();
InitPostfixOperators();
InitSTDescriptions();
}

View File

@ -50,7 +50,6 @@ public:
QString PMSystemBook(const QString &code) const;
QString PostfixOperator(const QString &name) const;
QString STDescription(const QString &id) const;
QString FormulaFromUser(const QString &formula, bool osSeparator) const;
QString FormulaToUser(const QString &formula) const;
@ -72,7 +71,6 @@ private:
void InitVariables();
void InitFunctions();
void InitPostfixOperators();
void InitSTDescriptions();
void InitSystem(const QString &code, const qmu::QmuTranslation &name, const qmu::QmuTranslation &author,
const qmu::QmuTranslation &book);