Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ImageINSA_Tanguy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tanguy.Raufflet
ImageINSA_Tanguy
Commits
0e39d643
Commit
0e39d643
authored
6 years ago
by
Provot Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
bug fix on windows names + effective translation
parent
65ccb765
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/Operations/QuantificationOp.cpp
+5
-6
5 additions, 6 deletions
app/Operations/QuantificationOp.cpp
app/imageinsa_en.ts
+469
-376
469 additions, 376 deletions
app/imageinsa_en.ts
app/imageinsa_fr.ts
+466
-373
466 additions, 373 deletions
app/imageinsa_fr.ts
with
940 additions
and
755 deletions
app/Operations/QuantificationOp.cpp
+
5
−
6
View file @
0e39d643
...
@@ -196,20 +196,19 @@ void QuantificationOp::operator()(const imagein::Image* image, const std::map<co
...
@@ -196,20 +196,19 @@ void QuantificationOp::operator()(const imagein::Image* image, const std::map<co
outText
(
optiQuant
);
outText
(
optiQuant
);
}
}
outImage
(
resImg
,
qApp
->
translate
(
"QuantificationOp"
,
"quantified"
).
toStdString
());
QString
windowName
;
QString
windowName
;
QString
imgName
;
QString
imgName
;
if
(
quantType
==
"Quantification non lineaire a valeur centrees :"
)
if
(
quantType
==
"Quantification non lineaire a valeur
s
centrees :"
)
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification non lineaire a valeur centree"
));
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification non lineaire a valeur centree"
));
else
if
(
quantType
==
"Quantification non lineaire a moyennes : "
)
else
if
(
quantType
==
"Quantification non lineaire a
valeurs
moyennes : "
)
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification non lineaire a moyennes"
));
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification non lineaire a moyennes"
));
else
if
(
quantType
==
"Quantification personnalis
é
e :"
)
else
if
(
quantType
==
"Quantification personnalis
e
e :"
)
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification personnalisee"
));
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification personnalisee"
));
else
if
(
quantType
==
"Quantification LloydMax :"
)
else
if
(
quantType
==
"Quantification LloydMax :"
)
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification LloydMax"
));
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification LloydMax"
));
else
if
(
quantType
==
"Quantification lineaire a valeurs centrees
:
"
)
else
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification lineaire a valeurs centrees"
)
);
windowName
=
QString
(
qApp
->
translate
(
"QuantificationOp"
,
"Quantification lineaire a valeurs centrees"
));
if
(
image
!=
NULL
){
if
(
image
!=
NULL
){
imgName
=
QString
::
fromStdString
(
imgList
.
find
(
image
)
->
second
);
imgName
=
QString
::
fromStdString
(
imgList
.
find
(
image
)
->
second
);
...
...
This diff is collapsed.
Click to expand it.
app/imageinsa_en.ts
+
469
−
376
View file @
0e39d643
This diff is collapsed.
Click to expand it.
app/imageinsa_fr.ts
+
466
−
373
View file @
0e39d643
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment