[kde-doc-english] [labplot] /: Fix minor typos

Yuri Chornoivan yurchor at ukr.net
Sun Dec 13 10:09:58 UTC 2015


Git commit 4878da1b23a5fd1ce7c95deb5d787be8cd61f847 by Yuri Chornoivan.
Committed on 13/12/2015 at 10:09.
Pushed by yurchor into branch 'master'.

Fix minor typos

M  +4    -4    doc/index.docbook
M  +2    -2    src/backend/datapicker/Datapicker.cpp
M  +8    -8    src/backend/datapicker/DatapickerPoint.cpp
M  +1    -1    src/backend/datapicker/Segment.cpp
M  +1    -1    src/kdefrontend/ui/imagewidget.ui

http://commits.kde.org/labplot/4878da1b23a5fd1ce7c95deb5d787be8cd61f847

diff --git a/doc/index.docbook b/doc/index.docbook
index e6434b8..39f61fa 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -314,8 +314,8 @@ The additional options determining the import of the data are equivalent to thos
 <sect1 id="datapicker">
 <title>Datapicker</title>
 <para>
-The datapicker provides an area for showing an input image file of a graph and spreadsheet.Datapicker is use to trace curve over an input graphs and 
-converts them into number.
+The datapicker provides an area for showing an input image file of a graph and spreadsheet. Datapicker is use to trace curve over an input graphs and 
+converts them into numbers.
 </para>
 <para>
 Datapickers support any type of coordinate system (Cartesian, Logarithmic, Polar) and can either have a fixed size (a user defined size or one of the predefined sizes like A4, Letter etc.) or they can fill out the complete available area for the datapicker window. Multiple curve can be arranged on the datapicker with different kinds of error-bars.
@@ -337,7 +337,7 @@ accessed via the toolbar, main menu or the context menu of the datapicker in the
 </para>
 
 <para>
-  The ouput results of datapicker shown on <link linkend="spreadsheet">spreadsheets</link> can be <link linkend="exportdialog">exported</link> 
+  The output results of datapicker shown on <link linkend="spreadsheet">spreadsheets</link> can be <link linkend="exportdialog">exported</link> 
   to an external file.
 </para>
 </sect1>
@@ -696,7 +696,7 @@ The menu is only available when a datapicker object is selected on the <guilabel
 <sect1 id="symbols">
   <title>Symbols</title>
   <para>
-    Symbols are the points that can be drawn over image of datapicker.Symbols can be directly created by mouse
+    Symbols are the points that can be drawn over image of datapicker. Symbols can be directly created by mouse
      right click over the image. Symbols are mainly of two type with and without error-bar depending on the type of 
     <link linkend="datapickercurve">curve</link> they belong.
     </para>
diff --git a/src/backend/datapicker/Datapicker.cpp b/src/backend/datapicker/Datapicker.cpp
index 2156fa1..684c27a 100644
--- a/src/backend/datapicker/Datapicker.cpp
+++ b/src/backend/datapicker/Datapicker.cpp
@@ -196,9 +196,9 @@ void Datapicker::setSelectedInView(const bool b) {
 void Datapicker::addNewPoint(const QPointF& pos, AbstractAspect* parentAspect) {
 	QList<DatapickerPoint*> childPoints = parentAspect->children<DatapickerPoint>(AbstractAspect::IncludeHidden);
 	if (childPoints.isEmpty())
-		beginMacro(i18n("%1:add new point", parentAspect->name()));
+		beginMacro(i18n("%1: add new point", parentAspect->name()));
 	else
-		beginMacro(i18n("%1:add new point %2", parentAspect->name(), childPoints.count()));
+		beginMacro(i18n("%1: add new point %2", parentAspect->name(), childPoints.count()));
 
 	DatapickerPoint* newPoint = new DatapickerPoint(i18n("%1 Point", parentAspect->name()));
 	newPoint->setPosition(pos);
diff --git a/src/backend/datapicker/DatapickerPoint.cpp b/src/backend/datapicker/DatapickerPoint.cpp
index 957aaad..0a25648 100644
--- a/src/backend/datapicker/DatapickerPoint.cpp
+++ b/src/backend/datapicker/DatapickerPoint.cpp
@@ -356,10 +356,10 @@ void DatapickerPoint::setMinusDeltaXPos(const QPointF& pos) {
 	if ( pos != d->minusDeltaXPos ) {
 		beginMacro(i18n("%1: set -delta_X position", name()));
 		if (d->xSymmetricError) {
-			exec(new DatapickerPointSetMinusDeltaXPosCmd(d, pos, i18n("%1: set -delta X position")));
+			exec(new DatapickerPointSetMinusDeltaXPosCmd(d, pos, i18n("%1: set -delta_X position")));
 			setPlusDeltaXPos(QPointF(qAbs(pos.x()), pos.y()));
 		} else {
-			exec(new DatapickerPointSetMinusDeltaXPosCmd(d, pos, i18n("%1: set -delta X position")));
+			exec(new DatapickerPointSetMinusDeltaXPosCmd(d, pos, i18n("%1: set -delta_X position")));
 		}
 		endMacro();
 	}
@@ -369,12 +369,12 @@ STD_SETTER_CMD_IMPL_F_S(DatapickerPoint, SetPlusDeltaYPos, QPointF, plusDeltaYPo
 void DatapickerPoint::setPlusDeltaYPos(const QPointF& pos) {
 	Q_D(DatapickerPoint);
 	if ( pos != d->plusDeltaYPos ) {
-		beginMacro(i18n("%1: set +delta Y position", name()));
+		beginMacro(i18n("%1: set +delta_Y position", name()));
 		if (d->ySymmetricError) {
-			exec(new DatapickerPointSetPlusDeltaYPosCmd(d, pos, i18n("%1: set +delta Y position")));
+			exec(new DatapickerPointSetPlusDeltaYPosCmd(d, pos, i18n("%1: set +delta_Y position")));
 			setMinusDeltaYPos(QPointF(pos.x(), qAbs(pos.y())));
 		} else {
-			exec(new DatapickerPointSetPlusDeltaYPosCmd(d, pos, i18n("%1: set +delta Y position")));
+			exec(new DatapickerPointSetPlusDeltaYPosCmd(d, pos, i18n("%1: set +delta_Y position")));
 		}
 		endMacro();
 	}
@@ -384,12 +384,12 @@ STD_SETTER_CMD_IMPL_F_S(DatapickerPoint, SetMinusDeltaYPos, QPointF, minusDeltaY
 void DatapickerPoint::setMinusDeltaYPos(const QPointF& pos) {
 	Q_D(DatapickerPoint);
 	if ( pos != d->minusDeltaYPos ) {
-		beginMacro(i18n("%1: set -delta Y position", name()));
+		beginMacro(i18n("%1: set -delta_Y position", name()));
 		if (d->ySymmetricError) {
-			exec(new DatapickerPointSetMinusDeltaYPosCmd(d, pos, i18n("%1: set -delta Y position")));
+			exec(new DatapickerPointSetMinusDeltaYPosCmd(d, pos, i18n("%1: set -delta_Y position")));
 			setPlusDeltaYPos(QPointF(pos.x(), -qAbs(pos.y())));
 		} else {
-			exec(new DatapickerPointSetMinusDeltaYPosCmd(d, pos, i18n("%1: set -delta Y position")));
+			exec(new DatapickerPointSetMinusDeltaYPosCmd(d, pos, i18n("%1: set -delta_Y position")));
 		}
 		endMacro();
 	}
diff --git a/src/backend/datapicker/Segment.cpp b/src/backend/datapicker/Segment.cpp
index 7aee6e5..a136734 100644
--- a/src/backend/datapicker/Segment.cpp
+++ b/src/backend/datapicker/Segment.cpp
@@ -179,7 +179,7 @@ QVariant SegmentPrivate::itemChange(QGraphicsItem::GraphicsItemChange change, co
 		Q_ASSERT(datapicker);
 		if (datapicker->activeCurve()) {
 			int count = 0;
-			datapicker->activeCurve()->beginMacro(i18n("%1:draw points over segment", datapicker->activeCurve()->name()));
+			datapicker->activeCurve()->beginMacro(i18n("%1: draw points over segment", datapicker->activeCurve()->name()));
 			foreach (QLine* line, q->path) {
 				int l = (line->y1() > line->y2())?line->y2():line->y1();
 				int h = (line->y1() > line->y2())?line->y1():line->y2();
diff --git a/src/kdefrontend/ui/imagewidget.ui b/src/kdefrontend/ui/imagewidget.ui
index b415e79..f05ab39 100644
--- a/src/kdefrontend/ui/imagewidget.ui
+++ b/src/kdefrontend/ui/imagewidget.ui
@@ -673,7 +673,7 @@
        <item row="11" column="0">
         <widget class="QLabel" name="lMinSegmentLength">
          <property name="text">
-          <string>Min. lenght</string>
+          <string>Min. length</string>
          </property>
         </widget>
        </item>


More information about the kde-doc-english mailing list