From kde-i18n-doc Wed Aug 11 20:34:08 2010 From: Albert Astals Cid Date: Wed, 11 Aug 2010 20:34:08 +0000 To: kde-i18n-doc Subject: Re: "Change Properties" in kdesdk/umbrello Message-Id: <201008112134.08626.aacid () kde ! org> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=128155888318866 A Dimarts, 3 d'agost de 2010, Yuri Chornoivan va escriure: > Hi! > > After changing class properties on diagram in Umbrello, "Command history" > shows unlocalized string ("Change Properties"). > > The only place in code with this string is > (umbrello/widgets/umlwidget.cpp:285) as follows > > case ListPopupMenu::mt_Properties: > if (wt == wt_Actor || wt == wt_UseCase || > wt == wt_Package || wt == wt_Interface || wt == > wt_Datatype || > wt == wt_Component || wt == wt_Artifact || > wt == wt_Node || wt == wt_Enum || wt == wt_Entity || > (wt == wt_Class && m_pView->getType() == dt_Class)) { > UMLApp::app()->beginMacro("Change Properties"); > showProperties(); > UMLApp::app()->endMacro(); > } else if (wt == wt_Object) { > UMLApp::app()->beginMacro("Change Properties"); > m_pObject->showProperties(); > UMLApp::app()->endMacro(); > } else { > uWarning() << "making properties dialog for unknown widget > type"; > } > // adjustAssocs( getX(), getY() );//adjust assoc lines > break; > > What is the best way to make the string translatable? Did you try contacting the Umbrello devels? Albert > > Thanks in advance.