diff --git a/docs/developers_guide/localization.rst b/docs/developers_guide/localization.rst index e9a7bdb0d50..db62c3ff746 100644 --- a/docs/developers_guide/localization.rst +++ b/docs/developers_guide/localization.rst @@ -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 @@ -87,7 +87,7 @@ The general recommendation is to use :class:`QgsDoubleSpinBox ` 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).