Skip to content

Commit

Permalink
Fix untranslatable strings: does not break translation
Browse files Browse the repository at this point in the history
with a different language from english the plugin menus are
not removed. this commit fixes the problem.
  • Loading branch information
slarosa committed Sep 1, 2013
1 parent 30ea851 commit 63fa7e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/coordinate_capture/coordinatecapture.cpp
Expand Up @@ -260,7 +260,7 @@ void CoordinateCapture::showOrHide()
void CoordinateCapture::unload()
{
// remove the GUI
mQGisIface->removePluginVectorMenu( "&Coordinate Capture", mQActionPointer );
mQGisIface->removePluginVectorMenu( tr( "&Coordinate Capture" ), mQActionPointer );
mQGisIface->removeVectorToolBarIcon( mQActionPointer );
mpMapTool->deactivate();
delete mpMapTool;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/topology/topol.cpp
Expand Up @@ -115,7 +115,7 @@ void Topol::run()
void Topol::unload()
{
// remove the GUI
mQGisIface->removePluginVectorMenu( "&Topology Checker", mQActionPointer );
mQGisIface->removePluginVectorMenu( tr( "&Topology Checker" ), mQActionPointer );
mQGisIface->removeVectorToolBarIcon( mQActionPointer );
delete mQActionPointer;
}
Expand Down

0 comments on commit 63fa7e2

Please sign in to comment.