Skip to content

Commit

Permalink
fix query translation
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13516 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 17, 2010
1 parent faffd8b commit 5edec9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions i18n/qgis_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5445,7 +5445,7 @@ Bitte nehmen Sie Kontakt zu den Entwicklern auf.</translation>
</message>
<message>
<location filename="../src/app/qgisapp.cpp" line="1058"/>
<source>Subset...</source>
<source>Query...</source>
<translation>Abfrage...</translation>
</message>
<message>
Expand Down Expand Up @@ -15296,8 +15296,8 @@ Die könnte auf ein Netzwerkproblem oder ein Problem des WMS-Server hindeuten.</
</message>
<message>
<location filename="../src/app/legend/qgslegendlayer.cpp" line="433"/>
<source>&amp;Subset</source>
<translation>&amp;Untermenge</translation>
<source>&amp;Query...</source>
<translation>&amp;Abfrage...</translation>
</message>
<message>
<location filename="../src/app/legend/qgslegendlayer.cpp" line="440"/>
Expand Down
2 changes: 1 addition & 1 deletion src/app/legend/qgslegendlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ void QgsLegendLayer::addToPopupMenu( QMenu& theMenu )
saveSelectionAsAction->setEnabled( false );
}

theMenu.addAction( tr( "&Subset" ), QgisApp::instance(), SLOT( layerSubsetString() ) );
theMenu.addAction( tr( "&Query..." ), QgisApp::instance(), SLOT( layerSubsetString() ) );

theMenu.addSeparator();
}
Expand Down
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ void QgisApp::createActions()
connect( mActionLayerProperties, SIGNAL( triggered() ), this, SLOT( layerProperties() ) );
mActionLayerProperties->setEnabled( false );

mActionLayerSubsetString = new QAction( tr( "Subset..." ), this );
mActionLayerSubsetString = new QAction( tr( "Query..." ), this );
shortcuts->registerAction( mActionLayerSubsetString );
mActionLayerProperties->setStatusTip( tr( "Set subset query of the current layer" ) );
connect( mActionLayerSubsetString, SIGNAL( triggered() ), this, SLOT( layerSubsetString() ) );
Expand Down Expand Up @@ -5821,6 +5821,7 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
mActionLayerSaveAs->setEnabled( true );
mActionLayerSelectionSaveAs->setEnabled( true );
mActionCopyFeatures->setEnabled( layerHasSelection );
mActionLayerSubsetString->setEnabled( true );

if ( !vlayer->isEditable() && mMapCanvas->mapTool() && mMapCanvas->mapTool()->isEditTool() )
{
Expand Down

0 comments on commit 5edec9d

Please sign in to comment.