Skip to content

Commit

Permalink
fix: grammar and punctuation in localization.rst
Browse files Browse the repository at this point in the history
- the other ...
- e.g.,
  • Loading branch information
SergeCroise authored and DelazJ committed Feb 6, 2025
1 parent c336a4e commit 0984099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developers_guide/localization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ methods available in QT classes because these methods ignore locale settings.
The same consideration applies to integral types and ``::toInt()`` or
``::toLongLong()`` methods.

``QLocale().toDouble()`` or ``QLocale().toInt()`` and the others ``QLocale()``
``QLocale().toDouble()`` or ``QLocale().toInt()`` and the other ``QLocale()``
conversion methods can be used in this situation.

As a better alternative, QGIS API provides a few classes that
Expand All @@ -87,7 +87,7 @@ The general recommendation is to use :class:`QgsDoubleSpinBox <qgis.gui.QgsDoubl
for all floating point types I/O whenever it is possible because it is very well tested and
it validates the input correctly. As an alternative it is possible
to use the :class:`QgsDoubleValidator <qgis.gui.QgsDoubleValidator>` class
independently on a string obtained from another widget (e.g. a simple
independently on a string obtained from another widget (e.g., a simple
``QLineEdit`` widget).


0 comments on commit 0984099

Please sign in to comment.