Skip to content
Permalink
Browse files

[GRASS] minor fixes

  • Loading branch information
blazek committed Oct 15, 2015
1 parent 81dc11a commit fb76501fe3e211bb63c0b781013793f7a1eed874
@@ -171,7 +171,7 @@ QgsGrassMapcalc::QgsGrassMapcalc(
mFunctions.push_back( QgsGrassMapcalcFunction( t, "ewres", 0, tr( "Current east-west resolution" ) ) );
mFunctions.push_back( QgsGrassMapcalcFunction( t, "exp", 1, tr( "Exponential function of x" ), "exp(x)" ) );
mFunctions.push_back( QgsGrassMapcalcFunction( t, "exp", 2, tr( "x to the power y" ), "exp(x,y)" ) );
mFunctions.push_back( QgsGrassMapcalcFunction( t, "float", 2, tr( "Convert x to single-precision floating point" ), "float(x)" ) );
mFunctions.push_back( QgsGrassMapcalcFunction( t, "float", 1, tr( "Convert x to single-precision floating point" ), "float(x)" ) );
mFunctions.push_back( QgsGrassMapcalcFunction( t, "if", 1, tr( "Decision: 1 if x not zero, 0 otherwise" ), "if(x)" ) );
mFunctions.push_back( QgsGrassMapcalcFunction( t, "if", 2, tr( "Decision: a if x not zero, 0 otherwise" ), "if(x,a)" ) );
mFunctions.push_back( QgsGrassMapcalcFunction( t, "if", 3, tr( "Decision: a if x not zero, b otherwise" ), "if(x,a,b)", "if,then,else", false ) );
@@ -1303,8 +1303,8 @@ void QgsGrassNewMapset::createMapset()
if ( !error.isEmpty() )
{
QgsGrass::warning( tr( "Cannot create new mapset: %1" ).arg( error ) );
return;
}
return;
}

if ( mOpenNewMapsetCheckBox->isChecked() )
@@ -220,7 +220,7 @@ void QgsGrassPlugin::initGui()
mAddCentroidAction->setObjectName( "mAddCentroidAction" );
mAddCentroidAction->setCheckable( true );

mAddAreaAction = new QAction( QgsApplication::getThemeIcon( "/mActionCapturePolygon.png" ), tr( "Add Area" ), this );
mAddAreaAction = new QAction( QgsApplication::getThemeIcon( "/mActionCapturePolygon.png" ), tr( "Add Closed Boundary" ), this );
mAddAreaAction->setObjectName( "mAddAreaAction" );
mAddAreaAction->setCheckable( true );

0 comments on commit fb76501

Please sign in to comment.
You can’t perform that action at this time.