Navigation Menu

Skip to content

Commit

Permalink
Add "styles" to the package algorithm tags
Browse files Browse the repository at this point in the history
and harmonize error message
  • Loading branch information
DelazJ authored and nyalldawson committed Jun 13, 2019
1 parent 3a0fb54 commit 8fdfd7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis/processing/qgsalgorithmpackage.cpp
Expand Up @@ -36,7 +36,7 @@ QString QgsPackageAlgorithm::displayName() const

QStringList QgsPackageAlgorithm::tags() const
{
return QObject::tr( "geopackage,collect,merge,combine" ).split( ',' );
return QObject::tr( "geopackage,collect,merge,combine,styles" ).split( ',' );
}

QString QgsPackageAlgorithm::group() const
Expand Down Expand Up @@ -145,7 +145,7 @@ QVariantMap QgsPackageAlgorithm::processAlgorithm( const QVariantMap &parameters
case QgsMapLayerType::RasterLayer:
{
//not supported
feedback->pushDebugInfo( QObject::tr( "Raster layers are not currently supported." ) );
feedback->pushDebugInfo( QObject::tr( "Packaging raster layers is not supported." ) );
errored = true;
break;
}
Expand Down

0 comments on commit 8fdfd7d

Please sign in to comment.