[Uml-devel] kdesdk/umbrello/umbrello

John Ratke jratke at comcast.net
Thu Oct 23 21:01:14 UTC 2003


CVS commit by jratke: 


Allow i18n of "Diagram Toolbar" label.


  M +2 -3      uml.cpp   1.75


--- kdesdk/umbrello/umbrello/uml.cpp  #1.74:1.75
@@ -357,7 +357,6 @@ void UMLApp::initView() {
         setCaption(doc->URL().fileName(),false);
 
-        //the name of the toolbar is used as a tool tip so should be i18n, unfortunatly it
-        //has to be a char* and not a QString
-        toolsbar = new WorkToolBar(this, I18N_NOOP("Diagram Toolbar"));
+        toolsbar = new WorkToolBar(this, "");
+        toolsbar->setLabel(i18n("Diagram Toolbar"));
         addToolBar(toolsbar, Qt::DockTop, false);
 






More information about the umbrello-devel mailing list