The lintian QA tool reported a couple of spelling errors for the Debian
package build, fixed with the attached patch.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
Description: Fix spelling errors.
 * completly -> completely
 * Positve   -> Positive
Author: Bas Couwenberg <[email protected]>

--- a/src/qmapshack/gis/search/CSearchExplanationDialog.cpp
+++ b/src/qmapshack/gis/search/CSearchExplanationDialog.cpp
@@ -26,7 +26,7 @@ CSearchExplanationDialog::CSearchExplana
     QString explanation = tr("<p>The underlying syntax of the search is 'property comparison value', e.g. 'name contains water'. "
                              "However some rules apply to make a search more intuitive.</p>");
     explanation += tr(  "<p>The searches are always exclusive, e.g. searching for a track 'elevation under 500m' will find "
-                        "tracks that are completly under 500m meters.</p>");
+                        "tracks that are completely under 500m meters.</p>");
     explanation += tr(  "<p>Following assumptions are made:</p>");
     explanation += "<ul>";
     explanation += "<li>";
--- a/src/qmapshack/locale/qmapshack.ts
+++ b/src/qmapshack/locale/qmapshack.ts
@@ -6575,7 +6575,7 @@ For configuration you need to know your
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
@@ -8940,7 +8940,7 @@ I don&apos;t want to read the documentat
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
--- a/src/qmapshack/locale/qmapshack_ca.ts
+++ b/src/qmapshack/locale/qmapshack_ca.ts
@@ -6622,7 +6622,7 @@ Per a configurar l&apos;accés s&apos;ha
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
@@ -9007,7 +9007,7 @@ No vull llegir tota la documentació!</t
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
--- a/src/qmapshack/locale/qmapshack_cs.ts
+++ b/src/qmapshack/locale/qmapshack_cs.ts
@@ -6597,7 +6597,7 @@ For configuration you need to know your
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
@@ -8982,7 +8982,7 @@ Nechce se mi číst dokumentaci!</transl
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
--- a/src/qmapshack/locale/qmapshack_de.ts
+++ b/src/qmapshack/locale/qmapshack_de.ts
@@ -6636,7 +6636,7 @@ Für die Konfiguration benötigen sie di
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation>&lt;p&gt;Die Suchanfragen sind immer exklusiv, z.B. die Suche nach einem Track &apos;Höhe unter 500m&apos;, findet Tracks, die vollständig unter 500 m liegen.&lt;/p&gt;</translation>
     </message>
     <message>
@@ -8995,7 +8995,7 @@ Keine Lust die Anleitung zu lesen!</tran
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation>&lt;p&gt;Die durchschnittliche Trittfrequenz in U/min wird für die Berechnung der Pedalkraft benötigt.&lt;/p&gt;
 &lt;p&gt;Realistische Werte liegen zwischen 50 und 100 U/min.&lt;/p&gt;</translation>
--- a/src/qmapshack/locale/qmapshack_es.ts
+++ b/src/qmapshack/locale/qmapshack_es.ts
@@ -6628,7 +6628,7 @@ Para vincular el dispositivo con Qmapsha
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
@@ -9009,7 +9009,7 @@ I don&apos;t want to read the documentat
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
--- a/src/qmapshack/locale/qmapshack_fr.ts
+++ b/src/qmapshack/locale/qmapshack_fr.ts
@@ -6595,7 +6595,7 @@ For configuration you need to know your
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
@@ -8978,7 +8978,7 @@ I don&apos;t want to read the documentat
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
--- a/src/qmapshack/locale/qmapshack_it.ts
+++ b/src/qmapshack/locale/qmapshack_it.ts
@@ -6606,7 +6606,7 @@ For configuration you need to know your
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
@@ -8988,7 +8988,7 @@ I don&apos;t want to read the documentat
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
--- a/src/qmapshack/locale/qmapshack_nl.ts
+++ b/src/qmapshack/locale/qmapshack_nl.ts
@@ -6599,7 +6599,7 @@ For configuration you need to know your
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
@@ -8979,7 +8979,7 @@ I don&apos;t want to read the documentat
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
--- a/src/qmapshack/locale/qmapshack_ru.ts
+++ b/src/qmapshack/locale/qmapshack_ru.ts
@@ -6633,7 +6633,7 @@ For configuration you need to know your
 <context>
     <name>CSearchExplanationDialog</name>
     <message>
-        <source>&lt;p&gt;The underlying syntax of the search is &quot;Property Comparison Value&quot;, i.e. &quot;name contains water&quot;. However there are measures in place to make searching more intuitive. (see below)&lt;/p&gt;&lt;p&gt;The searches are always exclusive, thus for a track &quot;elevation under 500m&quot; only shows tracks that are completly under 500m meters.&lt;/p&gt;&lt;p&gt;Following assumptions are made:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;If only one of two given numbers has a unit, the unit is assumed for both&lt;/li&gt;&lt;li&gt;Speed units result in average speed, km and mi result in distance, m and ft in elevation, times in time moving, dates in date.&lt;/li&gt;&lt;li&gt;&apos;Date equals&apos; matches everything that is within 24h from the given date, thus normally the day typed.&lt;/li&gt;&lt;li&gt;If you enter no unit the default unit (what you see when viewing the property of the item) is used.&lt;/li&gt;&lt;/ul&gt;</source>
+        <source>&lt;p&gt;The underlying syntax of the search is &quot;Property Comparison Value&quot;, i.e. &quot;name contains water&quot;. However there are measures in place to make searching more intuitive. (see below)&lt;/p&gt;&lt;p&gt;The searches are always exclusive, thus for a track &quot;elevation under 500m&quot; only shows tracks that are completely under 500m meters.&lt;/p&gt;&lt;p&gt;Following assumptions are made:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;If only one of two given numbers has a unit, the unit is assumed for both&lt;/li&gt;&lt;li&gt;Speed units result in average speed, km and mi result in distance, m and ft in elevation, times in time moving, dates in date.&lt;/li&gt;&lt;li&gt;&apos;Date equals&apos; matches everything that is within 24h from the given date, thus normally the day typed.&lt;/li&gt;&lt;li&gt;If you enter no unit the default unit (what you see when viewing the property of the item) is used.&lt;/li&gt;&lt;/ul&gt;</source>
         <translation type="vanished">&lt;p&gt;Основной синтаксис поиска: &quot;свойство сравнение значение&quot;, т. е. &quot;имя содержит вода&quot;. Однако есть некоторые меры, чтобы сделать поиск более интуитивным (смотреть ниже).&lt;/p&gt;&lt;p&gt;Поиск всегда является эксклюзивным, поэтому для трека поиск &quot;высота ниже 500 м&quot; найдет только те треки, которые полностью находятся ниже 500 м.&lt;/p&gt;&lt;p&gt;Сделаны следующие предположения:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Если только одно из двух заданных чисел имеет единицу, данная единица принимается для обоих чисел&lt;/li&gt;&lt;li&gt;Если задана строка поиска в краткой форме &quot;сравнение значение&quot;, то &quot;свойство&quot; выводится из &quot;значения&quot; и его единицы измерения: единицы измерения скорости: средняя скорость, км и mi: расстояние, м и ft: высота, время: время движения, дата: дата.&lt;/li&gt;&lt;li&gt;&quot;Дата равна&quot; соответствует всему, что находится в пределах 24 часов от данной даты, таким образом, это обычно записанный день.&lt;/li&gt;&lt;li&gt;Если вы не вводите единицу измерения, тогда используется единица измерения по умолчанию (та, что вы видите при просмотре свойств элемента).&lt;/li&gt;&lt;/ul&gt;</translation>
     </message>
     <message>
@@ -6643,7 +6643,7 @@ For configuration you need to know your
     </message>
     <message>
         <location filename="../gis/search/CSearchExplanationDialog.cpp" line="28"/>
-        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completly under 500m meters.&lt;/p&gt;</source>
+        <source>&lt;p&gt;The searches are always exclusive, e.g. searching for a track &apos;elevation under 500m&apos; will find tracks that are completely under 500m meters.&lt;/p&gt;</source>
         <translation>&lt;p&gt;Поиск всегда является эксклюзивным, поэтому для трека поиск &quot;высота ниже 500 м&quot; найдет только те треки, которые полностью находятся ниже 500 м.&lt;/p&gt;</translation>
     </message>
     <message>
@@ -9055,7 +9055,7 @@ I don&apos;t want to read the documentat
     </message>
     <message>
         <location filename="../gis/trk/IEnergyCyclingDialog.ui" line="477"/>
-        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+        <source>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</source>
         <translation>&lt;p&gt;Средняя каденция педалей в оборотах/мин необходима для расчета силы на педали.&lt;/p&gt;
 &lt;p&gt;Реалистичные значения находятся в диапазоне от 50 до 100 об/мин.&lt;/p&gt;</translation>
--- a/src/qmapshack/gis/trk/CEnergyCycling.cpp
+++ b/src/qmapshack/gis/trk/CEnergyCycling.cpp
@@ -227,7 +227,7 @@ void CEnergyCycling::compute(CEnergyCycl
         energySet.powerMovingTimeRatio = (quint32)energySet.powerMovingTime / totalElapsedSecondsMoving;
     }
 
-    if(cntPositivePowerPoints) // For the moving points with positve force to the pedal
+    if(cntPositivePowerPoints) // For the moving points with positive force to the pedal
     {
         energySet.positivePedalForce /= cntPositivePowerPoints;
         energySet.positivePower /= cntPositivePowerPoints;
--- a/src/qmapshack/gis/trk/IEnergyCyclingDialog.ui
+++ b/src/qmapshack/gis/trk/IEnergyCyclingDialog.ui
@@ -474,7 +474,7 @@
        <item row="5" column="1">
         <widget class="QDoubleSpinBox" name="spinPedalCadence">
          <property name="toolTip">
-          <string>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positve Pedal Force.&lt;/p&gt;
+          <string>&lt;p&gt;The average pedal cadence in rpm is needed to calculate the Positive Pedal Force.&lt;/p&gt;
 &lt;p&gt;Realistic values are between 50 and 100 rpm.&lt;/p&gt;</string>
          </property>
          <property name="suffix">
--- a/src/qmapshack/map/CMapIMG.cpp
+++ b/src/qmapshack/map/CMapIMG.cpp
@@ -45,7 +45,7 @@
 
 int CFileExt::cnt = 0;
 
-static inline bool isCompletlyOutside(const QPolygonF& poly, const QRectF &viewport)
+static inline bool isCompletelyOutside(const QPolygonF& poly, const QRectF &viewport)
 {
     qreal north =  -90.0 * DEG_TO_RAD;
     qreal south =   90.0 * DEG_TO_RAD;
@@ -1581,7 +1581,7 @@ void CMapIMG::loadSubDiv(CFileExt &file,
             pData += p.decode(subdiv.iCenterLng, subdiv.iCenterLat, subdiv.shift, true, pData, pEnd);
 
             // skip points outside our current viewport
-            if(isCompletlyOutside(p.pixel, viewport))
+            if(isCompletelyOutside(p.pixel, viewport))
             {
                 continue;
             }
@@ -1611,7 +1611,7 @@ void CMapIMG::loadSubDiv(CFileExt &file,
             pData += p.decode(subdiv.iCenterLng, subdiv.iCenterLat, subdiv.shift, false, pData, pEnd);
 
             // skip points outside our current viewport
-            if(isCompletlyOutside(p.pixel, viewport))
+            if(isCompletelyOutside(p.pixel, viewport))
             {
                 continue;
             }
@@ -1650,7 +1650,7 @@ void CMapIMG::loadSubDiv(CFileExt &file,
             pData += p.decode2(subdiv.iCenterLng, subdiv.iCenterLat, subdiv.shift, false, pData, pEnd);
 
             // skip points outside our current viewport
-            if(isCompletlyOutside(p.pixel, viewport))
+            if(isCompletelyOutside(p.pixel, viewport))
             {
                 continue;
             }
@@ -1674,7 +1674,7 @@ void CMapIMG::loadSubDiv(CFileExt &file,
             pData += p.decode2(subdiv.iCenterLng, subdiv.iCenterLat, subdiv.shift, true, pData, pEnd);
 
             // skip points outside our current viewport
-            if(isCompletlyOutside(p.pixel, viewport))
+            if(isCompletelyOutside(p.pixel, viewport))
             {
                 continue;
             }
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to