Correction of some french and english notions and correction of typos. Variable %machine changed in %plant.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5629 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
nuri
2018-12-04 19:07:14 +00:00
parent cdfdd6f22a
commit f27954e507
29 changed files with 142 additions and 126 deletions

View File

@@ -124,8 +124,8 @@ void NumerotationContextCommands::setNumStrategy(const QString &str) {
strategy_ = new FolioNum (diagram_);
return;
}
else if (str=="machine"){
strategy_ = new MachineNum (diagram_);
else if (str=="plant"){
strategy_ = new PlantNum (diagram_);
return;
}
else if (str=="locmach"){
@@ -499,32 +499,32 @@ NumerotationContext FolioNum::previous(const NumerotationContext &nc, const int
/**
* Constructor
*/
MachineNum::MachineNum (Diagram *d):
PlantNum::PlantNum (Diagram *d):
NumStrategy (d)
{}
/**
* @brief MachineNum::toRepresentedString
* @brief PlantNum::toRepresentedString
* @return the represented string of folio
*/
QString MachineNum::toRepresentedString(const QString str) const {
QString PlantNum::toRepresentedString(const QString str) const {
Q_UNUSED(str);
return "%M";
}
/**
* @brief MachineNum::next
* @brief PlantNum::next
* @return the next NumerotationContext nc at position i
*/
NumerotationContext MachineNum::next (const NumerotationContext &nc, const int i) const {
NumerotationContext PlantNum::next (const NumerotationContext &nc, const int i) const {
return (nextString(nc, i));
}
/**
* @brief MachineNum::previous
* @brief PlantNum::previous
* @return the previous NumerotationContext nc at posiiton i
*/
NumerotationContext MachineNum::previous(const NumerotationContext &nc, const int i) const {
NumerotationContext PlantNum::previous(const NumerotationContext &nc, const int i) const {
return (nextString(nc, i));
}