Commit 08510464 authored by barraud's avatar barraud
Browse files

FEATURE 615 translate in french the .ts files.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1941 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 5b0bb8fa
...@@ -39,19 +39,19 @@ using namespace camitk; ...@@ -39,19 +39,19 @@ using namespace camitk;
// --------------- constructor ------------------- // --------------- constructor -------------------
DisplayFrame::DisplayFrame(ActionExtension* extension) : Action(extension) { DisplayFrame::DisplayFrame(ActionExtension* extension) : Action(extension) {
setName("Display Component Frame"); setName("Display Component Frame");
setDescription("This action allows to display/hide a component frame's axes."); setDescription(tr("This action allows to display/hide a component frame's axes."));
setComponent("Component"); setComponent("Component");
// Setting classification family and tags // Setting classification family and tags
setFamily("Frame"); setFamily("Frame");
addTag("Test"); addTag(tr("Test"));
addTag("Display"); addTag(tr("Display"));
addTag("Visualization"); addTag(tr("Visualization"));
Property * viewFrame = new Property("Display Component's Frame", false, "Display or not the local Component's Frame Axes in the 3D viewer", ""); Property * viewFrame = new Property("Display Component's Frame", false, tr("Display or not the local Component's Frame Axes in the 3D viewer"), "");
addParameter(viewFrame); addParameter(viewFrame);
Property * frameSize = new Property("Scale Frame Axes", QVariant(1.0), "Axes size", "viewer unit"); Property * frameSize = new Property("Scale Frame Axes", QVariant(1.0), tr("Axes size"), "viewer unit");
addParameter(frameSize); addParameter(frameSize);
} }
......
...@@ -54,14 +54,14 @@ using namespace camitk; ...@@ -54,14 +54,14 @@ using namespace camitk;
// --------------- constructor ------------------- // --------------- constructor -------------------
MoveFrame::MoveFrame(ActionExtension* extension) : Action(extension) { MoveFrame::MoveFrame(ActionExtension* extension) : Action(extension) {
setName("Move Frame"); setName("Move Frame");
setDescription("This action allow to move a frame from its parent frame (or the world frame if it has no parent) by setting translations and rotation parameters."); setDescription(tr("This action allow to move a frame from its parent frame (or the world frame if it has no parent) by setting translations and rotation parameters."));
setComponent("Component"); setComponent("Component");
// Setting classification family and tags // Setting classification family and tags
setFamily("Frame"); setFamily("Frame");
addTag("Test"); addTag(tr("Test"));
addTag("Move"); addTag(tr("Move"));
addTag("Visualization"); addTag(tr("Visualization"));
dialog = NULL; dialog = NULL;
inputFrame = NULL; inputFrame = NULL;
...@@ -81,9 +81,9 @@ void MoveFrame::init() { ...@@ -81,9 +81,9 @@ void MoveFrame::init() {
ui.tX->setName("X"); ui.tX->setName("X");
ui.tY->setName("Y"); ui.tY->setName("Y");
ui.tZ->setName("Z"); ui.tZ->setName("Z");
ui.rX->setName("Around X"); ui.rX->setName(tr("Around X"));
ui.rY->setName("Around Y"); ui.rY->setName(tr("Around Y"));
ui.rZ->setName("Around Z"); ui.rZ->setName(tr("Around Z"));
// connect everything // connect everything
connect(ui.translatePushButton, SIGNAL(clicked()), SLOT(translate())); connect(ui.translatePushButton, SIGNAL(clicked()), SLOT(translate()));
......
...@@ -36,11 +36,11 @@ using namespace camitk; ...@@ -36,11 +36,11 @@ using namespace camitk;
// --------------- constructor ------------------- // --------------- constructor -------------------
MultiPicking::MultiPicking (ActionExtension * extension) : Action (extension) { MultiPicking::MultiPicking (ActionExtension * extension) : Action (extension) {
setName ("Multiple Picking"); setName ("Multiple Picking");
setDescription ("Action to manage several pixel points in an image (coordinates and index)."); setDescription (tr("Action to manage several pixel points in an image (coordinates and index)."));
setComponent ("ImageComponent"); setComponent ("ImageComponent");
setFamily ("Image Processing"); setFamily ("Image Processing");
addTag ("Picking"); addTag (tr("Picking"));
addTag("Select Pixels"); addTag(tr("Select Pixels"));
actionWidget=NULL; actionWidget=NULL;
} }
......
...@@ -333,9 +333,9 @@ void MultiPickingWidget::manuallyModified(int i, int j) { ...@@ -333,9 +333,9 @@ void MultiPickingWidget::manuallyModified(int i, int j) {
if (((v.x() < imageOrigin[0]) || (v.x() > imageBound.x())) || if (((v.x() < imageOrigin[0]) || (v.x() > imageBound.x())) ||
((v.y() < imageOrigin[1]) || (v.y() > imageBound.y())) || ((v.y() < imageOrigin[1]) || (v.y() > imageBound.y())) ||
((v.z() < imageOrigin[2]) || (v.z() > imageBound.z()))) { ((v.z() < imageOrigin[2]) || (v.z() > imageBound.z()))) {
QString msg = "The point (" + QString::number(v.x()) + QString msg = tr("The point (") + QString::number(v.x()) +
", " + QString::number(v.y()) + ", " + QString::number(v.z()) + "), does not belong to the image " + img->getName() + ". Sorry..."; ", " + QString::number(v.y()) + ", " + QString::number(v.z()) + tr("), does not belong to the image ") + img->getName() + tr(". Sorry...");
QMessageBox::warning(this, "Impossible Operation", msg); QMessageBox::warning(this, tr("Impossible Operation"), msg);
liste->clear(); liste->clear();
updateTable(); updateTable();
return; return;
......
...@@ -41,7 +41,7 @@ void CepCreateOrModifyWidget::nextButtonClicked() { ...@@ -41,7 +41,7 @@ void CepCreateOrModifyWidget::nextButtonClicked() {
if (ui.createRadioButton->isChecked()) { if (ui.createRadioButton->isChecked()) {
emit newCep(); emit newCep();
} else { } else {
QMessageBox::warning(this, "Feature not implemented", "This feature is not implemented yet, sorry...\n"); QMessageBox::warning(this, tr("Feature not implemented"), tr("This feature is not implemented yet, sorry...\n"));
ui.createRadioButton->setChecked(true); ui.createRadioButton->setChecked(true);
emit existingCep(); emit existingCep();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment