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;
// --------------- constructor -------------------
DisplayFrame::DisplayFrame(ActionExtension* extension) : Action(extension) {
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");
// Setting classification family and tags
setFamily("Frame");
addTag("Test");
addTag("Display");
addTag("Visualization");
addTag(tr("Test"));
addTag(tr("Display"));
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);
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);
}
......
......@@ -54,14 +54,14 @@ using namespace camitk;
// --------------- constructor -------------------
MoveFrame::MoveFrame(ActionExtension* extension) : Action(extension) {
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");
// Setting classification family and tags
setFamily("Frame");
addTag("Test");
addTag("Move");
addTag("Visualization");
addTag(tr("Test"));
addTag(tr("Move"));
addTag(tr("Visualization"));
dialog = NULL;
inputFrame = NULL;
......@@ -81,9 +81,9 @@ void MoveFrame::init() {
ui.tX->setName("X");
ui.tY->setName("Y");
ui.tZ->setName("Z");
ui.rX->setName("Around X");
ui.rY->setName("Around Y");
ui.rZ->setName("Around Z");
ui.rX->setName(tr("Around X"));
ui.rY->setName(tr("Around Y"));
ui.rZ->setName(tr("Around Z"));
// connect everything
connect(ui.translatePushButton, SIGNAL(clicked()), SLOT(translate()));
......
......@@ -36,11 +36,11 @@ using namespace camitk;
// --------------- constructor -------------------
MultiPicking::MultiPicking (ActionExtension * extension) : Action (extension) {
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");
setFamily ("Image Processing");
addTag ("Picking");
addTag("Select Pixels");
addTag (tr("Picking"));
addTag(tr("Select Pixels"));
actionWidget=NULL;
}
......
......@@ -333,9 +333,9 @@ void MultiPickingWidget::manuallyModified(int i, int j) {
if (((v.x() < imageOrigin[0]) || (v.x() > imageBound.x())) ||
((v.y() < imageOrigin[1]) || (v.y() > imageBound.y())) ||
((v.z() < imageOrigin[2]) || (v.z() > imageBound.z()))) {
QString msg = "The point (" + QString::number(v.x()) +
", " + QString::number(v.y()) + ", " + QString::number(v.z()) + "), does not belong to the image " + img->getName() + ". Sorry...";
QMessageBox::warning(this, "Impossible Operation", msg);
QString msg = tr("The point (") + QString::number(v.x()) +
", " + QString::number(v.y()) + ", " + QString::number(v.z()) + tr("), does not belong to the image ") + img->getName() + tr(". Sorry...");
QMessageBox::warning(this, tr("Impossible Operation"), msg);
liste->clear();
updateTable();
return;
......
......@@ -41,7 +41,7 @@ void CepCreateOrModifyWidget::nextButtonClicked() {
if (ui.createRadioButton->isChecked()) {
emit newCep();
} 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);
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