From 8e543df1e09d2b50f67e843b80baec15e9fad288 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Fri, 5 Jan 2018 17:02:02 +0100
Subject: [PATCH] BUG: Mantis-1496: doc on Monteverdi preferences about
 overviews

---
 Modules/Visualization/Monteverdi/src/mvdPreferencesDialog.ui  | 4 ++--
 .../Visualization/MonteverdiCore/src/mvdOverviewBuilder.cxx   | 2 +-
 i18n/fr_FR.ts                                                 | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Modules/Visualization/Monteverdi/src/mvdPreferencesDialog.ui b/Modules/Visualization/Monteverdi/src/mvdPreferencesDialog.ui
index c715d1eb56..ca04e6c9d5 100644
--- a/Modules/Visualization/Monteverdi/src/mvdPreferencesDialog.ui
+++ b/Modules/Visualization/Monteverdi/src/mvdPreferencesDialog.ui
@@ -121,7 +121,7 @@
            </sizepolicy>
           </property>
           <property name="toolTip">
-           <string>When the image width or height is lower than this minimum, overview generation is not proposed</string>
+           <string>When the image width or height is lower than twice this minimum, overview generation is not proposed</string>
           </property>
           <property name="text">
            <string>Minimum size:</string>
@@ -131,7 +131,7 @@
         <item row="1" column="2">
          <widget class="QSpinBox" name="overviewsSpinBox">
           <property name="toolTip">
-           <string>When the image width or height is lower than this minimum, overview generation is not proposed</string>
+           <string>When the image width or height is lower than twice this minimum, overview generation is not proposed</string>
           </property>
           <property name="maximum">
            <number>999999999</number>
diff --git a/Modules/Visualization/MonteverdiCore/src/mvdOverviewBuilder.cxx b/Modules/Visualization/MonteverdiCore/src/mvdOverviewBuilder.cxx
index 9fa885798d..d3f0734973 100644
--- a/Modules/Visualization/MonteverdiCore/src/mvdOverviewBuilder.cxx
+++ b/Modules/Visualization/MonteverdiCore/src/mvdOverviewBuilder.cxx
@@ -161,7 +161,7 @@ OverviewBuilder
 
 	emit ProgressTextChanged(
 	  QString(
-	    tr( "Generting overviews for file %1/%2 '%3'." )
+	    tr( "Generating overviews for file %1/%2 '%3'." )
 	  )
 	  .arg( m_Index + 1 )
 	  .arg( m_Count )
diff --git a/i18n/fr_FR.ts b/i18n/fr_FR.ts
index 9102d25f18..67a6aa2bdf 100644
--- a/i18n/fr_FR.ts
+++ b/i18n/fr_FR.ts
@@ -4616,8 +4616,8 @@ Merci d&apos;en sélectionner un autre.</translation>
         <translation>pixel(s)</translation>
     </message>
     <message>
-        <source>When the image width or height is lower than this minimum, overview generation is not proposed</source>
-        <translation>Lorsque la hauteur ou la largeur d&apos;une image est inférieure à ce minimum, la génération des aperçus n&apos;est pas proposée</translation>
+        <source>When the image width or height is lower than twice this minimum, overview generation is not proposed</source>
+        <translation>Lorsque la hauteur ou la largeur d&apos;une image est inférieure à deux fois ce minimum, la génération des aperçus n&apos;est pas proposée</translation>
     </message>
 </context>
 <context>
-- 
GitLab