Skip to content

Commit

Permalink
missing parameter documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Aug 7, 2018
1 parent 5a01074 commit 519e91e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions python/core/auto_generated/qgsproject.sip.in
Expand Up @@ -1374,6 +1374,7 @@ this is a rekursive function to get all the child containers

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

.. versionadded:: 3.4
%End
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgstranslationcontext.sip.in
Expand Up @@ -59,8 +59,8 @@ Sets the ``name`` of the TS file
%Docstring
Registers the ``string`` to be translated

:param translationString: name and path of the object need to be translated
:param layerName: the name of the layer
:param context: layer name and sub category of object needed to be translated
:param source: the name of the object needed to be translated
%End

void writeTsFile( const QString &locale );
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsproject.h
Expand Up @@ -1304,6 +1304,7 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
*
* \param translationContext where the objects will be registered
* \param parent parent-container containing list of children
* \param layerId to store under the correct context
* \since QGIS 3.4
*/
void registerTranslatableContainers( QgsTranslationContext *translationContext, QgsAttributeEditorContainer *parent, const QString &layerId );
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgstranslationcontext.h
Expand Up @@ -74,8 +74,8 @@ class CORE_EXPORT QgsTranslationContext
/**
* Registers the \a string to be translated
*
* \param translationString name and path of the object need to be translated
* \param layerName the name of the layer
* \param context layer name and sub category of object needed to be translated
* \param source the name of the object needed to be translated
*/
void registerTranslation( const QString &context, const QString &source );

Expand Down

0 comments on commit 519e91e

Please sign in to comment.