Skip to content

Commit

Permalink
+ fix expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 10, 2014
1 parent 71154f5 commit 980d1eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/Gui/TaskFemConstraintForce.cpp
Expand Up @@ -138,11 +138,11 @@ void TaskFemConstraintForce::updateUI()
std::string ref = ui->listReferences->item(0)->text().toStdString();
int pos = ref.find_last_of(":");
if (ref.substr(pos+1, 6) == "Vertex")
ui->labelForce->setText(tr("Force [N]"));
ui->labelForce->setText(tr("Point load [N]"));
else if (ref.substr(pos+1, 4) == "Edge")
ui->labelForce->setText(tr("Force [N/mm]"));
ui->labelForce->setText(tr("Line load [N/mm]"));
else if (ref.substr(pos+1, 4) == "Face")
ui->labelForce->setText(trUtf8("Force [N/mm\xc2\xb2]"));
ui->labelForce->setText(trUtf8("Area load [N/mm\xc2\xb2]"));
}

void TaskFemConstraintForce::onSelectionChanged(const Gui::SelectionChanges& msg)
Expand Down

0 comments on commit 980d1eb

Please sign in to comment.