Skip to content

Commit 519e91e

Browse files
committedAug 7, 2018
missing parameter documentation
1 parent 5a01074 commit 519e91e

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed
 

‎python/core/auto_generated/qgsproject.sip.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,7 @@ this is a rekursive function to get all the child containers
13741374

13751375
:param translationContext: where the objects will be registered
13761376
:param parent: parent-container containing list of children
1377+
:param layerId: to store under the correct context
13771378

13781379
.. versionadded:: 3.4
13791380
%End

‎python/core/auto_generated/qgstranslationcontext.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Sets the ``name`` of the TS file
5959
%Docstring
6060
Registers the ``string`` to be translated
6161

62-
:param translationString: name and path of the object need to be translated
63-
:param layerName: the name of the layer
62+
:param context: layer name and sub category of object needed to be translated
63+
:param source: the name of the object needed to be translated
6464
%End
6565

6666
void writeTsFile( const QString &locale );

‎src/core/qgsproject.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,7 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
13041304
*
13051305
* \param translationContext where the objects will be registered
13061306
* \param parent parent-container containing list of children
1307+
* \param layerId to store under the correct context
13071308
* \since QGIS 3.4
13081309
*/
13091310
void registerTranslatableContainers( QgsTranslationContext *translationContext, QgsAttributeEditorContainer *parent, const QString &layerId );

‎src/core/qgstranslationcontext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ class CORE_EXPORT QgsTranslationContext
7474
/**
7575
* Registers the \a string to be translated
7676
*
77-
* \param translationString name and path of the object need to be translated
78-
* \param layerName the name of the layer
77+
* \param context layer name and sub category of object needed to be translated
78+
* \param source the name of the object needed to be translated
7979
*/
8080
void registerTranslation( const QString &context, const QString &source );
8181

0 commit comments

Comments
 (0)
Please sign in to comment.