Skip to content

Commit 63fa7e2

Browse files
committed
Fix untranslatable strings: does not break translation
with a different language from english the plugin menus are not removed. this commit fixes the problem.
1 parent 30ea851 commit 63fa7e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plugins/coordinate_capture/coordinatecapture.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ void CoordinateCapture::showOrHide()
260260
void CoordinateCapture::unload()
261261
{
262262
// remove the GUI
263-
mQGisIface->removePluginVectorMenu( "&Coordinate Capture", mQActionPointer );
263+
mQGisIface->removePluginVectorMenu( tr( "&Coordinate Capture" ), mQActionPointer );
264264
mQGisIface->removeVectorToolBarIcon( mQActionPointer );
265265
mpMapTool->deactivate();
266266
delete mpMapTool;

src/plugins/topology/topol.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void Topol::run()
115115
void Topol::unload()
116116
{
117117
// remove the GUI
118-
mQGisIface->removePluginVectorMenu( "&Topology Checker", mQActionPointer );
118+
mQGisIface->removePluginVectorMenu( tr( "&Topology Checker" ), mQActionPointer );
119119
mQGisIface->removeVectorToolBarIcon( mQActionPointer );
120120
delete mQActionPointer;
121121
}

0 commit comments

Comments
 (0)